# mx.graphics.codec

The mx.graphics.codec package contains classes to convert Bitmap images to other image formats.

Interfaces

| Interface | Description
--- | --- | ---
| IImageEncoder | The IImageEncoder interface defines the interface that image encoders implement to take BitmapData objects, or ByteArrays containing raw ARGB pixels, as input and convert them to popular image formats such as PNG or JPEG.

Classes

| Class | Description
--- | --- | ---
| JPEGEncoder | The JPEGEncoder class converts raw bitmap images into encoded images using Joint Photographic Experts Group (JPEG) compression.
| PNGEncoder | The PNGEncoder class converts raw bitmap images into encoded images using Portable Network Graphics (PNG) lossless compression.

© 2015 Adobe Systems Incorporated. All rights reserved.
Mon Apr 10 2017, 01:35 PM -07:00