ImagePixelFormat

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

ValueDescription
FORMAT_16_BPP_RGB_55516 bits per pixel, RGB.
FORMAT_16_BPP_RGB_56516 bits per pixel, RGB.
FORMAT_16_BPP_ARGB_155516 bits per pixel, ARGB.
FORMAT_24_BPP_RGB24 bits per pixel, RGB.
FORMAT_32_BPP_RGB32 bits per pixel, RGB.
FORMAT_32_BPP_ARGB32 bits per pixel, ARGB.
FORMAT_32_BPP_P_ARGB32 bits per pixel, ARGB, premultiplied alpha.
FORMAT_48_BPP_RGB48 bits per pixel, RGB.
FORMAT_64_BPP_ARGB64 bits per pixel, ARGB.
FORMAT_64_BPP_P_ARGB64 bits per pixel, ARGB, premultiplied alpha.
FORMAT_1_BPP_INDEXED1 bit per pixel, Indexed.

Properties

NameTypeAccessDescription
valuesint[]ReadReturns array of ImagePixelFormat values.

Methods

SignatureDescription
getName(imagePixelFormat: int) → StringReturns JAVA_STYLE string representation of integer ImagePixelFormat value.
toString(imagePixelFormat: int) → StringReturns DotNetStyle string representation of integer ImagePixelFormat value.
fromName(imagePixelFormatName: String) → intReturns integer representation by ImagePixelFormat name.
getValues() → int[]Returns array of ImagePixelFormat values.

See Also