Format Enum
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Enumerates values returned by several types and taken as a parameter of several types.
public enum Format
type Format =
- Inheritance
-
Format
Fields
| Name | Value | Description |
|---|---|---|
| Translucent | -3 | System chooses a format that supports translucency (many alpha bits) Android reference for Portions of this page are modifications based on work created and shared by the Android Open Source Project and used according to terms described in the Creative Commons 2.5 Attribution License. |
| Transparent | -2 | System chooses a format that supports transparency (at least 1 alpha bit) Android reference for Portions of this page are modifications based on work created and shared by the Android Open Source Project and used according to terms described in the Creative Commons 2.5 Attribution License. |
| Opaque | -1 | System chooses an opaque format (no alpha bits required) Android reference for Portions of this page are modifications based on work created and shared by the Android Open Source Project and used according to terms described in the Creative Commons 2.5 Attribution License. |
| Unknown | 0 | |
| Rgba8888 | 1 | |
| Rgbx8888 | 2 | |
| Rgb888 | 3 | |
| Rgb565 | 4 | |
| Rgba5551 | 6 | |
| Rgba4444 | 7 | |
| A8 | 8 | |
| L8 | 9 | |
| La88 | 10 | |
| Rgb332 | 11 | |
| Ycbcr422Sp | 16 | This constant was deprecated in API level 15. use ImageFormat.NV16 instead. Android reference for Portions of this page are modifications based on work created and shared by the Android Open Source Project and used according to terms described in the Creative Commons 2.5 Attribution License. |
| Ycbcr420Sp | 17 | This constant was deprecated in API level 15. use ImageFormat.NV21 instead. Android reference for Portions of this page are modifications based on work created and shared by the Android Open Source Project and used according to terms described in the Creative Commons 2.5 Attribution License. |
| Ycbcr422I | 20 | This constant was deprecated in API level 15. use ImageFormat.YUY2 instead. Android reference for Portions of this page are modifications based on work created and shared by the Android Open Source Project and used according to terms described in the Creative Commons 2.5 Attribution License. |
| RgbaF16 | 22 | |
| Rgba1010102 | 43 | |
| Jpeg | 256 | This constant was deprecated in API level 15. use ImageFormat.JPEG instead. Android reference for Portions of this page are modifications based on work created and shared by the Android Open Source Project and used according to terms described in the Creative Commons 2.5 Attribution License. |
Remarks
Portions of this page are modifications based on work created and shared by the Android Open Source Project and used according to terms described in the Creative Commons 2.5 Attribution License.