SBSDKTIFFImageWriter
@interface SBSDKTIFFImageWriter : NSObject
Class used to convert and write images in TIFF format
-
Write single-page TIFF file
Declaration
Objective-C
+ (BOOL)writeTIFF:(NSArray<UIImage *> *)images fileURL:(NSURL *)fileURL parameters:(SBSDKTIFFImageWriterParameters *)parameters;
Swift
class func writeTIFF(_ images: [UIImage]!, fileURL: URL!, parameters: SBSDKTIFFImageWriterParameters!) -> Bool
Parameters
images
The source image from what TIFF file is to be created.
fileURL
File URL for newly created TIFF file
parameters
instance
Return Value
Operation result. YES if file created and saved successfully, NO otherwise.
-
Write single-page TIFF file
Declaration
Objective-C
+ (BOOL)writeTIFFFromURLs:(NSArray<NSURL *> *)imageURLs fileURL:(NSURL *)fileURL parameters:(SBSDKTIFFImageWriterParameters *)parameters;
Swift
class func writeTIFF(from imageURLs: [URL]!, fileURL: URL!, parameters: SBSDKTIFFImageWriterParameters!) -> Bool
Parameters
imageURLs
The source image URL from what TIFF file is to be created.
fileURL
File URL for newly created TIFF file
parameters
instance
Return Value
Operation result. YES if file created and saved successfully, NO otherwise.