[Solved] Get color of imported image to set background

Discuss the presentation application
Post Reply
teetertotter
Posts: 2
Joined: Sun Sep 15, 2019 6:47 am

[Solved] Get color of imported image to set background

Post by teetertotter »

I have an image that I have inserted into Impress. I want to click on area of the image to get the color so that I can set the background of the slide to that color. I see there is a Color Replacer but that doesn't seem to do what I want. Is what I am trying to do possible?

Thanks in advance!
Last edited by teetertotter on Sun Sep 15, 2019 6:41 pm, edited 1 time in total.
Apache OpenOffice 3.4.1 on MacOS X Yosemite 10.10.5
User avatar
Zizi64
Volunteer
Posts: 11353
Joined: Wed May 26, 2010 7:55 am
Location: Budapest, Hungary

Re: get color of imported image to set background

Post by Zizi64 »

You can get a RGB color code by a third party pixelgraphic image editor software, and then you will able to adjust the color of the background of an Impress document.
http://www.winpenpack.com/en/download.php?view.85
 Edit: ((I just tried it: it works on any area of the screen. There is nor direct link between this picker software and the OpenOffice/LibreOffice. You must copy the color codes - picked by the software - manually to the background Style of the Impress docuument.)) 
There is not a direct (prompt) method for this task in the AOO/LO.

The AOO and LO are not pixelgraphic image editors. You can get the color code from the vectorgraphic objects only by the built-in functions or the color-related extensions, like the RGB color picker. The RGB extension use the description of the Styles, the color code will be extracted from the applied Style.
https://extensions.openoffice.org/en/project/rgb
Last edited by Zizi64 on Sun Sep 15, 2019 8:39 am, edited 4 times in total.
Tibor Kovacs, Hungary; LO7.5.8 /Win7-10 x64Prof.
PortableApps/winPenPack: LO3.3.0-7.6.2;AOO4.1.14
Please, edit the initial post in the topic: add the word [Solved] at the beginning of the subject line - if your problem has been solved.
teetertotter
Posts: 2
Joined: Sun Sep 15, 2019 6:47 am

Re: get color of imported image to set background

Post by teetertotter »

Ok Thanks!
Apache OpenOffice 3.4.1 on MacOS X Yosemite 10.10.5
User avatar
Zizi64
Volunteer
Posts: 11353
Joined: Wed May 26, 2010 7:55 am
Location: Budapest, Hungary

Re: get color of imported image to set background

Post by Zizi64 »

I just refreshed my reply above...
Tibor Kovacs, Hungary; LO7.5.8 /Win7-10 x64Prof.
PortableApps/winPenPack: LO3.3.0-7.6.2;AOO4.1.14
Please, edit the initial post in the topic: add the word [Solved] at the beginning of the subject line - if your problem has been solved.
John_Ha
Volunteer
Posts: 9583
Joined: Fri Sep 18, 2009 5:51 pm
Location: UK

Re: get color of imported image to set background

Post by John_Ha »

1. Open the image with the free IrfanView
2. Press F12 to open the Paint plugin
3. Select the colour picker tool. Click the colour. You are given the RGB values of the colour.
4. Create a new empty image
5. Select the paint pour tool. Fill the blank image with the colour.
6. Save the image and use it as the slide background.

Showing that a problem has been solved helps others searching so, if your problem is now solved, please view your first post in this thread and click the Edit button (top right in the post) and add [Solved] in front of the subject.
LO 6.4.4.2, Windows 10 Home 64 bit

See the Writer Guide, the Writer FAQ, the Writer Tutorials and Writer for students.

Remember: Always save your Writer files as .odt files. - see here for the many reasons why.
musikai
Volunteer
Posts: 294
Joined: Wed Nov 11, 2015 12:19 am

Re: [Solved] get color of imported image to set background

Post by musikai »

Since OP is on OSX this might be easier to use:
builtin Digital Color Meter in OS X
http://www.hackaddict.net/2008/04/use-e ... -from.html

Another one for Windows:
http://colorcop.net/
Win7 Pro, Lubuntu 15.10, LO 4.4.7, OO 4.1.3
Free Project: LibreOffice Songbook Architect (LOSA)
http://struckkai.blogspot.de/2015/04/li ... itect.html
Post Reply