Bug 510585 - Add an option to use optipng/jpegoptim when creating png or jpeg files
Summary: Add an option to use optipng/jpegoptim when creating png or jpeg files
Status: REPORTED
Alias: None
Product: Spectacle
Classification: Applications
Component: General (other bugs)
Version First Reported In: 6.3.5
Platform: Other Linux
: NOR wishlist
Target Milestone: ---
Assignee: Noah Davis
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2025-10-14 07:09 UTC by Alexandre Bonneau
Modified: 2025-10-14 16:05 UTC (History)
2 users (show)

See Also:
Latest Commit:
Version Fixed/Implemented In:
Sentry Crash Report:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Alexandre Bonneau 2025-10-14 07:09:18 UTC
SUMMARY
When using Spectacle to create a screenshot, and saving it into PNG, I found that using afterward the 'optipng' program on the generated PNG always reduce the file size quite a bit (without affecting the quality).

When creating jpeg files, jpegoptim also reduce the overall size of the generated jpeg, without too much quality loss.

Could it be possible for Spectacle to automatically use such optimization program if present on the system, and if checked (by default, do not check that option, so that on low hardware computers, saving a file does not take too much time) ?
Comment 1 Nate Graham 2025-10-14 16:05:16 UTC
In principle this would be pretty cool.