Change all graphics in all pages

Discuss the drawing application

Change all graphics in all pages

Postby viceant » Thu Jun 22, 2017 2:16 pm

Hi,

I want to change to grayscale all the pictures in all pages of a file simultaneously, but I can't do it: I can only change all pictures/graphics in the page wiewed... and sometimes I can't because selecting "select all" on the menu donesn't select images that seem to be in the background. I intend to do it in pdf files made by a scanner.

Sorry for my poor english... :D
LibreOffice 5.0.5.2 on Windows 7 Professional 64/ Ubuntu 14.04 LTS
viceant
 
Posts: 19
Joined: Tue Sep 22, 2015 2:40 pm
Location: Spain, Balearic Islands

Re: Change all graphics in all pages

Postby erbsenzahl » Thu Jun 22, 2017 3:58 pm

viceant wrote:I want to change to grayscale all the pictures in all pages of a file simultaneously
You can do that, if all the shapes have been connected to default style (usually light blue / blue classic filling/area). Hit F11 key (styles & formatting) and select a shape. Then rightclick the default style and ... change in a greyscale colour. Done. This only will work, if you had not changed any single shape by hard formatting. Hard formatted shapes can't be changed by the above described way. The only way is to update the default style as often as you have got different fillings (rightclick shape and click "update style"); then also former hard formatted shapes are included in changes of styles.
Next time use styles and it will work easier. :knock:

All that does not work for bitmap objects. Do you have to change their colours too?

"select all" on the menu donesn't select images that seem to be in the background
There are layers. Probably one or more of them are locked. In this case you have to unlock before. To find out these locked objects the navigator (click F5 key) may be helpful.
Or some bitmap/hatching/gradient/colour is part of the page background. You have to edit page properties.

I intend to do it in pdf files made by a scanner
Not bad, the better idea is to print out as PDF files. Before you do that choose color Grayscale in printer dialogue. How can you do that? Install a PDF printer and you will have an additional choice in your printer dialog. The pdf printer prints out not as a paper(s) but as a pdf file(s). Don't forget that this is a conversion and each of your shapes won't be editable as shapes but as some curve objects.

Why do you intend to have grayscaled drawings instead of coloured drawings? Could you explain?

Could you upload a typical page or pages of your drawing file for checking the proceeding? Your information is a bit slim, or should I write skinny (are these expressions possible and acceptable for usage of English?).

Good luck and success

PS
Sorry for my poor english...
Be proud of your knowledge, I could understand you pretty well!
OpenOffice 4.1.4 on LinuxMint 17-64 Mate, OpenOffice 4.1.4 on LinuxMint 18-64 Mate
(author is no native speaker)
erbsenzahl
 
Posts: 97
Joined: Tue Apr 18, 2017 8:23 am
Location: Germany

Re: Change all graphics in all pages

Postby viceant » Fri Jun 23, 2017 10:56 am

Thanks for your long comment! :D

My problem is this:

I have to join some pdf files and merge them in order to obtain a unique file that doesn't weigh more than 10 MB. Some of them are in colour and, when I use a pdf printer to do it, I suspect it extends color features to all of files. As a result the pdf obtained weighs a lot. I tried to do what you said and print them in b/w, but it did'nt work.

I tried, too, to merge them with DRAW and limit the pdf resolution, but it still weighs too much. Last I tried to do is convert to grayscale all the pictures and I found myself stucked.
LibreOffice 5.0.5.2 on Windows 7 Professional 64/ Ubuntu 14.04 LTS
viceant
 
Posts: 19
Joined: Tue Sep 22, 2015 2:40 pm
Location: Spain, Balearic Islands

Re: Change all graphics in all pages

Postby erbsenzahl » Fri Jun 23, 2017 4:28 pm

viceant wrote:I have to join some pdf files and merge them in order to obtain a unique file that doesn't weigh more than 10 MB.
... limit the pdf resolution
If the shades are in homogenous colours it should be no problem because they are converted into curve objects.
You have to find out other things like → bitmaps; → hatching; → gradients. In my experience these fillers need most space when converted to other formats. You have to find out that.

What you can do if all above mentioned efforts are in vain → "compression" by limiting amount of used colours/greyscale tones:

  • Print out all your slides as bitmaps (pdf printer should enable that) in png format. Full colour wouldn't be a problem (see next steps).
  • Download XnView (also Spanish GUI possible) and let batch processing (Tools menu) work for you:
    • Convert all the bitmaps to to → Greyscale / 16 tones of grey (or similar).
      or
    • convert all the bitmaps to → Colors / 16 colours (or similar).
  • Import the bitmaps in OpenOffice; if there are lots of them use the
  • Export your picture sample or photo album (File menu > Export as PDF...) and set different values on resolution output. At least 75 ppi/dpi for screen quality. First proceed as lossless compression (that means png format) because big areas of even colours are compressed better in png as in jpg format. And definitly look better. (I assume you have included no or only a few photos in your drawing/presentation.)

Hope I could help you. Cheers

XnViewConvertToGreyscale.png
XnView batch processing → "compressing" by limitation of used colours/greyscale tones
OpenOffice 4.1.4 on LinuxMint 17-64 Mate, OpenOffice 4.1.4 on LinuxMint 18-64 Mate
(author is no native speaker)
erbsenzahl
 
Posts: 97
Joined: Tue Apr 18, 2017 8:23 am
Location: Germany

Re: Change all graphics in all pages

Postby viceant » Fri Aug 04, 2017 2:25 pm

Sorry I didn't answer before. It was too complicated to do in my job: they don't want us to install anything in our computers and don't provide us with adequate software...

Thanks a lot.
LibreOffice 5.0.5.2 on Windows 7 Professional 64/ Ubuntu 14.04 LTS
viceant
 
Posts: 19
Joined: Tue Sep 22, 2015 2:40 pm
Location: Spain, Balearic Islands


Return to Draw

Who is online

Users browsing this forum: Google [Bot] and 6 guests