what if an image has a size less than the format size specified? is the image stretched?
how to convert pixels to points? this is what I'm doing:
CGFloat screenScale = [[UIScreen mainScreen] scale]; FICImageFormat *thumbnailImageFormat = [[FICImageFormat alloc] init]; thumbnailImageFormat.imageSize = CGSizeMake(width / screenScale, height / screenScale);
what if an image has a size less than the format size specified? is the image stretched?
how to convert pixels to points? this is what I'm doing:
CGFloat screenScale = [[UIScreen mainScreen] scale];
FICImageFormat *thumbnailImageFormat = [[FICImageFormat alloc] init];
thumbnailImageFormat.imageSize = CGSizeMake(width / screenScale, height / screenScale);