PSPDFImageQuality

Objective-C

enum PSPDFImageQuality {}

Swift

struct ImageQuality : OptionSet

Used to customize the image quality options offered for adding images.

  • Allow low image qualities. In the range of 800 × 600 pixels.

    Declaration

    Objective-C

    PSPDFImageQualityLow = 1 << 0

    Swift

    static var low: ImagePickerController.ImageQuality { get }
  • Allow medium image qualities. In the range of 1600 × 1200 pixels.

    Declaration

    Objective-C

    PSPDFImageQualityMedium = 1 << 1

    Swift

    static var medium: ImagePickerController.ImageQuality { get }
  • Allow higher image qualities. In the range of 3200 × 2400 pixels.

    Declaration

    Objective-C

    PSPDFImageQualityHigher = 1 << 3

    Swift

    static var higher: ImagePickerController.ImageQuality { get }
  • Allow the original size of the image, up to a resolution of 5000 x 5000 pixels.

    Declaration

    Objective-C

    PSPDFImageQualityBest = 1 << 2

    Swift

    static var best: ImagePickerController.ImageQuality { get }
  • Deprecated

    Deprecated in PSPDFKit 9.2 for iOS. Please use PSPDFImageQualityBest instead.

    Deprecated alias for PSPDFImageQualityBest.

    Declaration

    Objective-C

    PSPDFImageQualityHigh = PSPDFImageQualityBest

    Swift

    static var high: ImagePickerController.ImageQuality { get }
  • Allow all image qualities.

    Declaration

    Objective-C

    PSPDFImageQualityAll = (9223372036854775807L * 2UL + 1UL)

    Swift

    static var all: ImagePickerController.ImageQuality { get }