我用“UIImage”的话说,我用上了一张带有骨折射镜的pin子,我用这个镜子来提升形象。 当我对UIImage语的图像作一番说明时,就不存在歪曲,而且其规模完全是完美的。 然而,在《UIImage案》中,我需要改写“UIImage”一词,如果我使用以下代码这样做的话,结果会稍有失:
CGFloat width = self.imageView.frame.size.width;
CGFloat height = self.imageView.frame.size.height;
UIGraphicsBeginImageContext(CGSizeMake(width, height));
[self.image drawInRect:CGRectMake(0, 0, width, height)];
UIImage *resizedImage = [UIGraphicsGetImageFromCurrentImageContext() retain];
UIGraphicsEndImageContext();
你们可以看到,我从图像学中走高和高潮,因为需要扩大形象。
我知道,如果图像成像,就必须能够完美地加以推广。 能够这样做,任何人都不知道我做什么是不正确的?
UPDATE: I annex a before / after of an pornography ( which has been repled by theuser in angramview) and how it look after I reize it using the above methods.