SBSDKTIFFImageWriterParameters

@interface SBSDKTIFFImageWriterParameters : NSObject

Class used to define parameters for TIFF format writer.

  • Defines if target document should be binarized.

    Declaration

    Objective-C

    @property (nonatomic, assign, unsafe_unretained, readwrite) BOOL binarize;

    Swift

    var binarize: Bool { get set }
  • dpi

    Defines target document DPI.

    Declaration

    Objective-C

    @property (nonatomic, assign, unsafe_unretained, readwrite) NSInteger dpi;

    Swift

    var dpi: Int { get set }
  • Defines target document compression algorithm.

    Declaration

    Objective-C

    @property (nonatomic, assign, unsafe_unretained, readwrite)
        SBSDKTIFFImageWriterCompressionOptions compression;

    Swift

    var compression: SBSDKTIFFImageWriterCompressionOptions { get set }
  • Array that contains user-defined TIFF tags that should be written into result TIFF document.

    Declaration

    Objective-C

    @property (nonatomic, copy, readwrite)
        NSArray<SBSDKTIFFImageWriterUserDefinedField *> *_Nonnull userDefinedFields;

    Swift

    var userDefinedFields: [SBSDKTIFFImageWriterUserDefinedField] { get set }
  • Generates default parameters set for colored images.

    Declaration

    Objective-C

    + (nonnull instancetype)defaultParameters;

    Swift

    class func `default`() -> Self

    Return Value

    generated SBSDKTIFFImageWriterParameters instance.

  • Generates default parameters set for binarized images.

    Declaration

    Objective-C

    + (nonnull instancetype)defaultParametersForBinaryImages;

    Swift

    class func defaultParametersForBinaryImages() -> Self

    Return Value

    generated SBSDKTIFFImageWriterParameters instance.