RRGarmentCompressionType

Objective-C

enum RRGarmentCompressionType {}

Swift

enum RRGarmentCompressionType : Int

RRGarmentCompressionType defines different types of compression for RRGarment serialization

  • No compression

    Declaration

    Objective-C

    RRGarmentCompressionTypeNone = 0

    Swift

    case none = 0
  • Compressing color image only. In this compressed form the garment color image resolutions is drastically reduced. The garment can still be used as expected. Visual quality will be noticeable reduced during rendering

    Declaration

    Objective-C

    RRGarmentCompressionTypeCompressed = 1

    Swift

    case compressed = 1
  • Compressing color and alpha image. Similar to RRGarmentCompressionTypeColorOnly except that the alpha image is jpeg compressed instead of a losless compression.

    Declaration

    Objective-C

    RRGarmentCompressionTypeCompressedAndSubsampled = 3

    Swift

    case compressedAndSubsampled = 3