SBSDKTIFFImageWriterParameters

@interface SBSDKTIFFImageWriterParameters : NSObject

Class used to define parameters for TIFF format writer.

  • Defines if target document should be binarized.

    Declaration

    Objective-C

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

    Swift

    var binarize: Bool { get set }
  • dpi

    Defines target document DPI.

    Declaration

    Objective-C

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

    Swift

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

    Declaration

    Objective-C

    @property (assign, readwrite, nonatomic)
        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 (readwrite, copy, nonatomic)
        NSArray<SBSDKTIFFImageWriterUserDefinedField *> *_Nonnull userDefinedFields;

    Swift

    var userDefinedFields: [SBSDKTIFFImageWriterUserDefinedField] { get set }
  • Generates default parameters set for coloured 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.