On Thu, 19 Nov 2026 10:41:21 GMT, Nikita Tsarev <[email protected]> wrote:

> `CImage.Creator.getPlatformImageBytes` always returns TIFF. This patch reuses 
> `DataTransferer.imageToStandardBytes` for `CF_PNG` and `CF_JPEG` instead of 
> calling into `getPlatformImageBytes`. JPEG doesn't support transparency, so 
> images with alpha are blitted onto a white background before conversion.
> 
> 
> 
> 
> ---------
> - [X] I confirm that I make this contribution in accordance with the [OpenJDK 
> Interim AI Policy](https://openjdk.org/legal/ai).

LGTM

-------------

Marked as reviewed by avu (Committer).

PR Review: https://git.openjdk.org/jdk/pull/33969#pullrequestreview-5974658771

Reply via email to