Bug 437378 - Add lossless crop support
Summary: Add lossless crop support
Status: CONFIRMED
Alias: None
Product: gwenview
Classification: Applications
Component: general (other bugs)
Version First Reported In: unspecified
Platform: Other Linux
: NOR wishlist
Target Milestone: ---
Assignee: Gwenview Bugs
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2021-05-19 21:31 UTC by Marcos Dione
Modified: 2021-11-02 07:48 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 Marcos Dione 2021-05-19 21:31:16 UTC
jpegtran has a "-crop" flag which performs lossless cropping of jpeg images as long as the crop is to a multiple of what the manpage calls the "iMCU boundary", usually an 8x8 or 16x16 block of pixels.

See https://github.com/jepler/cropgui for more details and https://bugs.kde.org/show_bug.cgi?id=204135 for how this was inplemented in digikam.

What I most like gwenview's crop tool, which I have incorporated into my workflow, is that you can enter the crop limit values by hand. It would be nice if it had support for this kind of cropping.
Comment 1 Nate Graham 2021-05-20 17:50:42 UTC
Good idea.