Download it now!
Bug 107261 - UNO command to apply image colorization options
Summary: UNO command to apply image colorization options
Status: NEW
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: UI (show other bugs)
Version:
(earliest affected)
5.4.0.0.alpha0+
Hardware: All All
: medium enhancement
Assignee: Not Assigned
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: UNO-Command-New Notebookbar-ContextualGroups Image-Colorize
  Show dependency treegraph
 
Reported: 2017-04-19 09:03 UTC by Heiko Tietze
Modified: 2017-09-30 21:04 UTC (History)
1 user (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 Heiko Tietze 2017-04-19 09:03:15 UTC
The contextual sections variant of the notebookbar deals a lot with styles. Among others the image style is such a basic function made salient by a big button. However, the actual image "styles" in this menu are only dummies. 

So what we need are functions for setting an image to default/greyscale/black|white/watermark (ideally per radiobuttons) ("colormode" in sidebar), functions to increase/decrease brightness/contrast, and finally to colorize. 

Even better would be to have the various Filter there (Invert, Smooth, Sharpen...).
Comment 1 Yousuf Philips (jay) (retired) 2017-04-19 18:28:05 UTC
So we need an UNO command that can accept query information for all image adjustment options, so its easy to create custom presets without having to create individual UNO commands for each of them. It would look something like this.

.uno:ColorizeImage?Mode=Grayscale&Brightness=10&Contrast=-10&Red=10&Green=20&Blue=30&Gama=0.25&Transparency=50

All query fields for visible in the Image content panel of the Properties sidebar deck.

(In reply to Heiko Tietze from comment #0)
> Even better would be to have the various Filter there (Invert, Smooth,
> Sharpen...).

There are UNO commands already for these filters, but they are destructive by nature, so it wouldnt be useful to have. (bug 87396).