mx.graphics.codec 套件包含將 Bitmap 影像轉換為其他影像格式的類別。
介面
介面 | 說明 | |
---|---|---|
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. |
類別
類別 | 說明 | |
---|---|---|
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, 04:01 PM Z