Paketet mx.graphics.codec innehåller klasser för konvertering av bitmappsbilder till andra bildformat.
Gränssnitt
Gränssnitt | Beskrivning | |
---|---|---|
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. |
Klasser
Klass | Beskrivning | |
---|---|---|
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. |
Tue Jun 12 2018, 01:55 PM Z