GSKOutputConfiguration

Objective-C

@interface GSKOutputConfiguration : NSObject

Swift

class GSKOutputConfiguration : NSObject

A configuration that defines the output of the processing.

  • JPEG for color images. PNG for monochrome images. A default, sensible configuration: jpegQuality: 0.60

    Declaration

    Objective-C

    + (nonnull instancetype)defaultConfiguration;

    Swift

    class func `default`() -> Self
  • JPEG for color images with the specified quality. PNG for monochrome images.

    Declaration

    Objective-C

    + (nonnull instancetype)automaticConfigurationWithJPEGQuality:(CGFloat)quality;

    Swift

    class func automaticConfiguration(withJPEGQuality quality: CGFloat) -> Self
  • Image output will be JPEG, quality 0.60.

    Declaration

    Objective-C

    + (nonnull instancetype)jpegOutputConfiguration;

    Swift

    class func jpeg() -> Self
  • Image output will be JPEG with specified quality.

    Declaration

    Objective-C

    + (nonnull instancetype)jpegOutputConfigurationWithQuality:(CGFloat)quality;

    Swift

    class func jpegOutputConfiguration(withQuality quality: CGFloat) -> Self
  • Image output will be PNG.

    Declaration

    Objective-C

    + (nonnull instancetype)pngOutputConfiguration;

    Swift

    class func png() -> Self