![]() |
Problem with imagemagick when using display to show images in .eps or tiff formats
1 Attachment(s)
Hello All,
I have an image in .eps format that i am using the command display to show, but it is not working. The image is shown but the background color is dark and not white. When i use display for the converted image to jpg it opens it on a white background. For png image the background is also not white, same for the tiff image. But when i use command gv foo.eps, the image is opening on a white background. I am not sure why this is happening? Is there something wrong with my imagemagick? In case you want to have a look at the file it is attached. The version of linux i am using is openSUSE 12.1 Thanks! Jimmy |
It could be because the image has layers.
Try Code:
display -flatten -background white foo.eps |
Hello leehanken,
And thanks for your suggestion. It worked. Is there a way this can be permanently fixed? So i can avoid using the options in your suggestion? Thanks! Jimmy |
Hi Jimmy
You could enter into the command line: Code:
alias display='display -flatten -background white'Typically in a file called .bashrc in your home directory Regards Lee |
| All times are GMT -5. The time now is 10:53 PM. |