Pakiet mx.graphics.codec zawiera klasy, które służą do konwertowania obrazów bitmapowych na inne formaty obrazów.
Interfejsy
Interfejs | Opis | |
---|---|---|
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. |
Klasy
Klasa | Opis | |
---|---|---|
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, 12:20 PM Z