SBSDKTIFFImageWriter

@interface SBSDKTIFFImageWriter : NSObject

Class used to convert and write images in TIFF format

  • Write single-page TIFF file

    Declaration

    Objective-C

    + (BOOL)writeTIFF:(UIImage *)image fileURL:(NSURL *)fileURL;

    Swift

    class func writeTIFF(_ image: UIImage!, fileURL: URL!) -> Bool

    Parameters

    image

    The source image from what TIFF file is to be created.

    fileURL

    File URL for newly created TIFF file

    Return Value

    Operation result. YES if file created and saved successfuly, NO otherwise.

  • Write binarized single-page TIFF file

    Declaration

    Objective-C

    + (BOOL)writeBinarizedTIFF:(UIImage *)image fileURL:(NSURL *)fileURL;

    Swift

    class func writeBinarizedTIFF(_ image: UIImage!, fileURL: URL!) -> Bool

    Parameters

    image

    The source image from what TIFF file is to be created.

    fileURL

    File URL for newly created TIFF file

    Return Value

    Operation result. YES if file created and saved successfuly, NO otherwise.

  • Write single-page TIFF file

    Declaration

    Objective-C

    + (BOOL)writeTIFFFromURL:(NSURL *)imageURL fileURL:(NSURL *)fileURL;

    Swift

    class func writeTIFF(from imageURL: URL!, fileURL: URL!) -> Bool

    Parameters

    imageURL

    The source image URL from what TIFF file is to be created.

    fileURL

    File URL for newly created TIFF file

    Return Value

    Operation result. YES if file created and saved successfuly, NO otherwise.

  • Write binarized single-page TIFF file

    Declaration

    Objective-C

    + (BOOL)writeBinarizedTIFFFromURL:(NSURL *)imageURL fileURL:(NSURL *)fileURL;

    Swift

    class func writeBinarizedTIFF(from imageURL: URL!, fileURL: URL!) -> Bool

    Parameters

    imageURL

    The source image URL from what TIFF file is to be created.

    fileURL

    File URL for newly created TIFF file

    Return Value

    Operation result. YES if file created and saved successfuly, NO otherwise.

  • Write multi-page TIFF file

    Declaration

    Objective-C

    + (BOOL)writeMultiPageTIFF:(NSArray<UIImage *> *)images
                       fileURL:(NSURL *)fileURL;

    Swift

    class func writeMultiPageTIFF(_ images: [UIImage]!, fileURL: URL!) -> Bool

    Parameters

    images

    The array of source images from what TIFF file is to be created.

    fileURL

    File URL for newly created TIFF file

    Return Value

    Operation result. YES if file created and saved successfuly, NO otherwise.

  • Write binarized multi-page TIFF file

    Declaration

    Objective-C

    + (BOOL)writeBinarizedMultiPageTIFF:(NSArray<UIImage *> *)images
                                fileURL:(NSURL *)fileURL;

    Swift

    class func writeBinarizedMultiPageTIFF(_ images: [UIImage]!, fileURL: URL!) -> Bool

    Parameters

    images

    The array of source images from what TIFF file is to be created.

    fileURL

    File URL for newly created TIFF file

    Return Value

    Operation result. YES if file created and saved successfuly, NO otherwise.

  • Write multi-page TIFF file

    Declaration

    Objective-C

    + (BOOL)writeMultiPageTIFFFromImageURLs:(NSArray<NSURL *> *)imageURLs
                                    fileURL:(NSURL *)fileURL;

    Swift

    class func writeMultiPageTIFF(fromImageURLs imageURLs: [URL]!, fileURL: URL!) -> Bool

    Parameters

    imageURLs

    The array of source image URLs from what TIFF file is to be created.

    fileURL

    File URL for newly created TIFF file

    Return Value

    Operation result. YES if file created and saved successfuly, NO otherwise.

  • Write binarized multi-page TIFF file

    Declaration

    Objective-C

    + (BOOL)writeBinarizedMultiPageTIFFFromImageURLs:(NSArray<NSURL *> *)imageURLs
                                             fileURL:(NSURL *)fileURL;

    Swift

    class func writeBinarizedMultiPageTIFF(fromImageURLs imageURLs: [URL]!, fileURL: URL!) -> Bool

    Parameters

    imageURLs

    The array of source images URLs from what TIFF file is to be created.

    fileURL

    File URL for newly created TIFF file

    Return Value

    Operation result. YES if file created and saved successfuly, NO otherwise.

  • 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

    image

    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 successfuly, 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

    imageURL

    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 successfuly, NO otherwise.