This issue has been created
There are 4 updates.
 
 
XWiki Platform / cid:jira-generated-image-avatar-27b1a355-6860-4c63-9b79-87a6e51ba741 XWIKI-23514 Open

PNG images with transparent background still become black when resized

 
View issue   ยท   Add comment
 

Issue created

 
cid:jira-generated-image-avatar-bc4d5d51-cdc5-441b-86cc-d6f0b7bde009 Ilie Andriuta created this issue on 08/Sep/25 18:20
 
Summary: PNG images with transparent background still become black when resized
Issue Type: cid:jira-generated-image-avatar-27b1a355-6860-4c63-9b79-87a6e51ba741 Bug
Affects Versions: 16.10.9, 17.4.2, 17.7.0
Assignee: Unassigned
Attachments: PNG_Transparent_becomes_Black.png, ibm-spectrum-scale-1.png
Components: Image
Created: 08/Sep/25 18:20
Environment: Windows 11 Pro, Firefox 142, using an instance of XWiki 17.4.4 on PostgreSQL 17, Tomcat 11.0.10, reproducible also on Jetty/HSQL
Priority: cid:jira-generated-image-static-blocker-2b5cd403-13a2-4512-8444-c7fdee3d2fbf Blocker
Reporter: Ilie Andriuta
Description:

Steps to reproduce

  1. Edit a page with CKEditor
  2. Insert a PNG image with a transparent background
  3. Click on the resize handle from the bottom right of the image and drag to resize it
  4. Save the page

Expected results

The image is properly displayed.

Actual results

The image becomes black, or becomes color inverted in black/white.

Please find attached the screenshot and the test PNG file.

 
 

4 updates

 
cid:jira-generated-image-avatar-bc4d5d51-cdc5-441b-86cc-d6f0b7bde009 Changes by Ilie Andriuta on 08/Sep/25 18:20
 
Fix Version: 17.8.0-rc-1
Fix Version: 16.10.12
Fix Version: 17.4.5
Labels: regression