https://bugs.kde.org/show_bug.cgi?id=363968

            Bug ID: 363968
           Summary: Preview thumbnail in .kra/.ora files are sometimes
                    cropped instead of full canvas
           Product: krita
           Version: git master
          Platform: Other
                OS: other
            Status: UNCONFIRMED
          Severity: normal
          Priority: NOR
         Component: File formats
          Assignee: krita-bugs-n...@kde.org
          Reporter: alvinhoc...@gmail.com

When saving a .kra or .ora file with transparent (alpha = 0) area at the
boundary, the preview.png or Thumbnails/thumbnail.png inside the file is
cropped to the minimum size such that no all-transparent rows and columns are
present at the boundary.

If the image is completely transparent, preview.png or Thumbnails/thumbnail.png
is completely empty with 0 bytes.

On the other hand, the mergedimage.png contains the full image uncropped.

This is causing inconsistent behaviour when external software tries to optimize
thumbnail extraction by using the preview.png or Thumbnails/thumbnail.png for
sizes within 256x256px.

Reproducible: Always

-- 
You are receiving this mail because:
You are watching all bug changes.

Reply via email to