How to don't use symbolic color within xpm

Boris Mayer-St-Onge <[email protected]>
Newsgroups gmane.comp.video.image-magick.user
Organization Universite Laval
Message-ID <[email protected]>
Hi,

I want to convert png image to xpm (using convert image.png convert.xpm) 
but the file has some symbolic color, e.g:

"1  c gray82",

I have some problem to show the image on Windows computer (ok with 
Linux). If I change the symbolic color with the hex value, e.g.:

"1  c #D1D1D1",

then everything is ok. I was wondering if it's possible to use an 
argument with convert to use hex value everytime.

Thanks for any help.

Boris
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.