Supported Image Formats

This topic specifies the combinations of image attributes that are guaranteed to be supported by the Graphics Resource component on all devices, subject to transitory constraints such as available memory.

The image width and height can be any value, subject to memory available for use.

Pixel Format Mutable CPU Access Usage Sharable Screen ID

EUidPixelFormatARGB_8888_PRE

EUidPixelFormatXRGB_8888

EUidPixelFormatARGB_8888

EUidPixelFormatRGB_565

False

None

CWindowGc source, DirectGDI source*

Either

-1 or the ID of a screen on the phone.

EUidPixelFormatARGB_8888_PRE

EUidPixelFormatXRGB_8888

EUidPixelFormatRGB_565

True

Read, Write

CWindowGc source, DirectGDI source*

Either

The ID of a screen on the phone.

One RGB format with an alpha channel, and a minimum of 8 bits per channel.

One RGB format with no alpha channel, and a minimum of 8 bits per channel.

True

None

CWindowGc source, DirectGDI source*, DirectGDI target*, OpenGL ES target**, OpenVG target***

Either

The ID of a screen on the phone.

At least one RGB format with an alpha channel, and a minimum of 8 bits per channel. Channel ordering is not specified.

True

None

DirectGDI target*, OpenGL ES target**, OpenVG target***, Composition source, Screen source

No

The ID of a screen on the phone.

* If DirectGDI is present on the platform.

** If OpenGL ES is present on the platform.

*** If OpenVG is present on the platform.