Converting figures into gray scale - please help me

4,718 views
Skip to first unread message

popinga

unread,
Jan 12, 2011, 8:11:31 PM1/12/11
to LaTeX Users Group
Hello. So, I made a LaTeX paper including eps color figures.
Now, I want to make figures to be black/white (gray scale).
Of course I could replace all my figures with the corresponding b/w
ones. But I need to keep those eps and make the conversion color->b/w
throu some LaTeX option, assuming it exists. Does it?

For instance, the specification:
\usepackage[monochrome]{color}
works well for the text (all colored text, if any, is converted into b/
w text) but not for figrues, that keep being colored. Is there an
analogue package for converting figures (possibly preserving any
colored text)???
ThanX

Peter Flynn

unread,
Jan 13, 2011, 4:27:45 AM1/13/11
to latexus...@googlegroups.com

I don't think there is any way to get LaTeX to change coloured images, as it has no control over the contents of something it didn't create.

Are these bitmap or vector images? ImageMagick has a -monochrome option which may work.

///Peter

popinga

unread,
Jan 13, 2011, 7:24:06 AM1/13/11
to LaTeX Users Group
On 13 Gen, 10:27, Peter Flynn <anglebrac...@gmail.com> wrote:

> I don't think there is any way to get LaTeX to change coloured images, as it
> has no control over the contents of something it didn't create.

seems reasonable.


> Are these bitmap or vector images? ImageMagick has a -monochrome option
> which may work.

All images are vector. AFAIK, ImageMagic rasterizes images. Can I use
it for color->bw plain conversion (I mean preserving their vector
encoding)?


Btw I wanted a TeX document to be simply compiled, either colored OR
bw, by means of a switchable option. As you wrote, there is no such
option, likely.
I can workaround other solutions for that, acting directly on the
figures.
But it will double the number of eps files needed. Damn.



> ///Peter
Reply all
Reply to author
Forward
0 new messages