Bug 117082 - Add the option to remove cropped areas to the "Compress Image" dialog
Summary: Add the option to remove cropped areas to the "Compress Image" dialog
Status: NEW
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: Writer (show other bugs)
Version:
(earliest affected)
unspecified
Hardware: All All
: medium enhancement
Assignee: Not Assigned
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: Image-Compression-Dialog
  Show dependency treegraph
 
Reported: 2018-04-18 09:06 UTC by Stephan van den Akker
Modified: 2018-04-24 11:31 UTC (History)
2 users (show)

See Also:
Crash report or crash signature:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Stephan van den Akker 2018-04-18 09:06:42 UTC
The option to remove cropped areas of an image could be added to the "Compress Image" dialog. It is a useful addition in order to save memory usage and to reduce the final document size on disk.

Note: This option is already implemented in the Presentation Minimizer in Impress.
Comment 1 Buovjaga 2018-04-22 17:02:33 UTC
Sounds reasonable, but as with all things that bring new entries to dialogs, let's consult design team.
Comment 2 Heiko Tietze 2018-04-23 05:23:04 UTC
Contra the request is the existence of the minimizer. Impress is not an image manipulation tool and hard crop would be such a function. On the other hand, as a pro, there is no minimize wizard in Writer/Calc/Draw. 

If we go ahead we could
a) add tools > options > load/save > [x] Save original images (or rather two radio buttons with (o) Soft crop images, () Hard crop)
b) add the option "[ ] Cut cropped areas" to the format > image > compress dialog 
c) add the button "Hard resize" to the format > image > properties: crop (e.g. next to Original Size)
d) introduce a new UNO command that cuts off the cropped area and provide the function per context menu
e) introduce a new UNO command that runs through all images in a document and cuts

As a completely different solution, paste special > as bitmap (rather all but SVXB) could ignore the cropped areas.

But I vote for WF. If cutting is needed the user better takes an image manipulation program.

Tomaz, what's your opinion?
Comment 3 Tomaz Vajngerl 2018-04-23 05:41:11 UTC
I already expressed my opinion in the main bug about "Compress Image" dialog.

"Compress Image" dialog should include the option to remove cropped areas and an option to modify all images in the document.

No automatic cropping or UNO commands necessary as you can't crop without deciding how to re-compress the image. This things all go hand in hand.
Comment 4 Heiko Tietze 2018-04-24 11:31:58 UTC
Taking Tomaz input as word from UX.