public final class EmfPlusCompressedImage extends EmfPlusBaseBitmapData
The EmfPlusCompressedImage object specifies an image with compressed data.
Constructor and Description |
---|
EmfPlusCompressedImage() |
Modifier and Type | Method and Description |
---|---|
byte[] |
getCompressedImageData()
Gets or sets an array of bytes, which specify the compressed image.
|
void |
setCompressedImageData(byte[] value)
Gets or sets an array of bytes, which specify the compressed image.
|
public byte[] getCompressedImageData()
Gets or sets an array of bytes, which specify the compressed image. The type of compression MUST be determined from the data itself.
Bitmaps are specified by EmfPlusBitmap objects (section 2.2.2.2). An EmfPlusCompressedImage object MUST be present in the BitmapData field of an EmfPlusBitmap object if BitmapDataTypeCompressed is specified in its Type field. This object is generic and is used for different types of compressed data, including: Exchangeable Image File Format(EXIF), as specified in [EXIF]; Graphics Interchange Format(GIF), as specified in [GIF]; Joint Photographic Experts Group(JPEG), as specified in [JFIF]; Portable Network Graphics(PNG), as specified in [RFC2083] and[W3C - PNG]; and Tag Image File Format(TIFF), as specified in [RFC3302] and[TIFF].
public void setCompressedImageData(byte[] value)
Gets or sets an array of bytes, which specify the compressed image. The type of compression MUST be determined from the data itself.
Bitmaps are specified by EmfPlusBitmap objects (section 2.2.2.2). An EmfPlusCompressedImage object MUST be present in the BitmapData field of an EmfPlusBitmap object if BitmapDataTypeCompressed is specified in its Type field. This object is generic and is used for different types of compressed data, including: Exchangeable Image File Format(EXIF), as specified in [EXIF]; Graphics Interchange Format(GIF), as specified in [GIF]; Joint Photographic Experts Group(JPEG), as specified in [JFIF]; Portable Network Graphics(PNG), as specified in [RFC2083] and[W3C - PNG]; and Tag Image File Format(TIFF), as specified in [RFC3302] and[TIFF].