Uploaded image for project: 'XWiki Platform'
  1. XWiki Platform
  2. XWIKI-23514

PNG images with transparent background still become black when resized

    XMLWordPrintable

Details

    • Bug
    • Resolution: Unresolved
    • Blocker
    • 17.8.0-rc-1, 17.4.5, 16.10.12
    • 17.4.2, 16.10.9, 17.7.0
    • Image
    • 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
    • Unknown

    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.

      Attachments

        Issue Links

          Activity

            People

              Unassigned Unassigned
              iandriuta Ilie Andriuta
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated: