UIImage(ADKDrawingTemplate) Category Reference
Declared in | UIImage+ADKDrawingTemplate.h UIImage+ADKDrawingTemplate.m |
---|
+ ADKLosslessImageFromPDFPath:size:
Scale image to target size without loss quality. Only support PDF file currently.
+ (UIImage *)ADKLosslessImageFromPDFPath:(NSString *)imagePath size:(CGSize)targetSize
Parameters
imagePath |
file name for image in bundle, Only support PDF file currently. |
---|---|
targetSize |
target size for generate image |
Return Value
The instance of result UIImage.
Declared In
UIImage+ADKDrawingTemplate.h