Packages

 

com.aspose.imaging.fileformats.emf.emfplus.objects

Classes

com.aspose.imaging.fileformats.emf.emfplus.objects

Class EmfPlusCompressedImage

  • All Implemented Interfaces:
    Cloneable


    public final class EmfPlusCompressedImage
    extends EmfPlusBaseBitmapData

    The EmfPlusCompressedImage object specifies an image with compressed data.

    • Constructor Detail

      • EmfPlusCompressedImage

        public EmfPlusCompressedImage()
    • Method Detail

      • getCompressedImageData

        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].

      • setCompressedImageData

        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].