ImagePixelFormat
Overview
ImagePixelFormat is an enum in Aspose.Words FOSS for Java.
Specifies the pixel format for the generated images of document pages.
Edition status of its 16 listed members (a property and its accessor methods are listed separately, overloads once): 16 not yet exercised by a verified example.
This enum declares 4 methods for ImagePixelFormat objects in Java programs.
Available methods include: fromName, getName, getValues, toString.
Public members are accessible to any Java application after installing the Aspose.Words FOSS for Java package.
Properties: values.
Values
| Value | Description |
|---|---|
FORMAT_16_BPP_RGB_555 | 16 bits per pixel, RGB. |
FORMAT_16_BPP_RGB_565 | 16 bits per pixel, RGB. |
FORMAT_16_BPP_ARGB_1555 | 16 bits per pixel, ARGB. |
FORMAT_24_BPP_RGB | 24 bits per pixel, RGB. |
FORMAT_32_BPP_RGB | 32 bits per pixel, RGB. |
FORMAT_32_BPP_ARGB | 32 bits per pixel, ARGB. |
FORMAT_32_BPP_P_ARGB | 32 bits per pixel, ARGB, premultiplied alpha. |
FORMAT_48_BPP_RGB | 48 bits per pixel, RGB. |
FORMAT_64_BPP_ARGB | 64 bits per pixel, ARGB. |
FORMAT_64_BPP_P_ARGB | 64 bits per pixel, ARGB, premultiplied alpha. |
FORMAT_1_BPP_INDEXED | 1 bit per pixel, Indexed. |
Properties
| Name | Type | Access | Description |
|---|---|---|---|
values | int[] | Read | Returns array of ImagePixelFormat values. |
Methods
| Signature | Description |
|---|---|
getName(imagePixelFormat: int) → String | Returns JAVA_STYLE string representation of integer ImagePixelFormat value. |
toString(imagePixelFormat: int) → String | Returns DotNetStyle string representation of integer ImagePixelFormat value. |
fromName(imagePixelFormatName: String) → int | Returns integer representation by ImagePixelFormat name. |
getValues() → int[] | Returns array of ImagePixelFormat values. |