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

            Bug ID: 438792
           Summary: Support for lossless WebP
           Product: kolourpaint
           Version: unspecified
          Platform: Other
                OS: Linux
            Status: REPORTED
          Severity: normal
          Priority: NOR
         Component: general
          Assignee: kolourpaint-supp...@lists.sourceforge.net
          Reporter: fisc...@unix-ag.uni-kl.de
  Target Milestone: ---

The WebP image format support both lossy compression (like JPEG) and lossless
compression (like PNG). Both types of images can be opened in Kolourpaint
without problems, but when saving an image as WebP, always the lossy
compression is used.

The lossless version has it benefits as it (obviously) does not damage the
image and on average results in smaller files compared to PNG.

Thus, when saving an image, the user should be given choice to save the image
either lossless or lossy. Both variants make use of the .webp extension, which
makes a potential implementation of this feature more tricky.
Maybe a heuristic can be used: if the original image used either an index color
palette or was a lossless compressed file (PNG, lossless WebP, …), then the
lossless mode should be used. If the image was already lossy (JPEG, AVIF, or
lossy WebP), then use the lossy mode for saving.

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

Reply via email to