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

            Bug ID: 517020
           Summary: Saving JPEG with a specific quality is not taken
                    acount when source image is also a JPG
    Classification: Applications
           Product: gwenview
      Version First unspecified
       Reported In:
          Platform: EndeavourOS
                OS: Linux
            Status: REPORTED
          Severity: normal
          Priority: NOR
         Component: general
          Assignee: [email protected]
          Reporter: [email protected]
  Target Milestone: ---

SUMMARY
When saving a JPEG with a specific quality, the request quality is not taken
acount when the source image is also a JPG, and the request image quality is
overwrited by the one of the source image.
To effectively change the quality of a JPG, you need to save it into a
different format, then re-save it again as JPEG with the wanted quality.
My preleminaire test seem to show that this behavior only happen on JPEG,
others loseless format with quality setting behave as excepted.

STEPS TO REPRODUCE
1. Open a JPEG image with a specific quality (ex. 90%)
2. Open "Save as..." dialog
3. Select the output file type "JPEG image"
4. Change the image quality setting (ex. 70%)
3. Validate and save

OBSERVED RESULT
The new image have a inchanged size to the original image.

EXPECTED RESULT
The new image size should have varied greatly, in accordance with the quality
change.


SOFTWARE/OS VERSIONS
Gwenview Version: 25.12.2
KDE Plasma Version: 6.6.1
KDE Frameworks Version: 6.23.0
Qt Version: 6.10.2
Linux: 6.18.13-arch1-1 (64-bit)


ADDITIONAL INFORMATION
A visious aspect of this bug is that it persite during a "session" if you try
to overwrite a JPEG image. You need to close and reopen Gwenview so that you
can overwrite the quality setting of a image.

1. Open a JPEG image with a specific quality (ex. 90%)
2. Open "Save as..." dialog
3. Select a different output file type (ex. PNG)
4. One the new image created, open "Save as..." dialog
5. Ensure that the output name is the same that the original image at step 1
(overwrite)
6. Select a file type "JPEG image"
7. Change the image quality setting (ex. 70%)
8. Validate and save

If at the step 5, the ouput file is different from the source file at the step
1, the requested quality setting will be respected. Else, the overwrited image
will use the same quality setting that the source image (and so, with no file
size change).

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

Reply via email to