checkImageCompression (property)
A code that identifies the algorithm or method used to compress the images stored in the FrontImageData and BackImageData properties.
Syntax
- (int)checkImageCompression:(int)checkIndex; - (void)setCheckImageCompression:(int)checkIndex:(int)newCheckImageCompression;
/* Possible Values */
IC_FACSIMILE(0),
IC_JPEG(1),
IC_ABIC(2),
IC_PNG(21),
IC_JBIG(22),
IC_JPEG2000(23)
public func checkImageCompression(checkIndex: Int32) throws -> Check21CheckImageCompressions
public func setCheckImageCompression(checkIndex: Int32, newCheckImageCompression: Check21CheckImageCompressions) throws -> Void
public enum Check21CheckImageCompressions : Int32 { case icFacsimile = 0 case icJPEG = 1 case icABIC = 2 case icPNG = 21 case icJBIG = 22 case icJPEG2000 = 23 }
Default Value
1
Remarks
A code that identifies the algorithm or method used to compress the images stored in the CheckFrontImageData and CheckBackImageData properties. Values 0-20 may be used without a pre-existing agreement. Values 21-99 shall only be used when an agreement exists indicating that sender and receiver both support the specified image compression method and the method is specified below or on the X9 web site. This property is part of the Image View Detail record (type 50), and may be any of the values below:
icFacsimile (0) | Group 4 facsimile compression |
icJPEG (1) | JPEG Baseline |
icABIC (2) | ABIC |
3-20 | Reserved (agreement is not required) |
icPNG (21) | PNG |
icJBIG (22) | JBIG |
icJPEG2000 (23) | JPEG 2000 |
24-99 | Reserved for emerging image compression technologies as defined on the X9 web site. Only supported under agreement. |
The CheckIndex parameter specifies the index of the item in the array. The size of the array is controlled by the CheckCount property.