Black box instead of png in Evince
Posted: 2012-08-23T08:57:41-07:00
Hi there,
This might be a newbie question but I searched for hours throughout documentation and forum without solving my problem. I use IM 6.2.8 on Unix CentOS.
I use the -shave option to remove borders of PNG files, without changing the file type. So I just basically do :
The file output.png is then included in a LaTeX source. The produced PDF shows a black box instead of output.png in Evince. However it looks nice in Acrobat Reader, and the file output.png is OK when opened with a viewer like Gthumb.
I noticed the same kind of problem with -trim option instead of -shave. All works fine when I use no option and simply do :
or when the PNG is converted to JPG with the -shave option
However I do not want to use JPG.
Would someone please know how to fix this ? I can of course supply more information upon request.
Many thanks
krilin
PS : I unfortunately could not update to the latest version of IM due to restricted rights.
This might be a newbie question but I searched for hours throughout documentation and forum without solving my problem. I use IM 6.2.8 on Unix CentOS.
I use the -shave option to remove borders of PNG files, without changing the file type. So I just basically do :
Code: Select all
convert input.png -shave 1x1 output.png
I noticed the same kind of problem with -trim option instead of -shave. All works fine when I use no option and simply do :
Code: Select all
convert input.png output.png
Code: Select all
convert input.png -shave 1x1 output.jpg
Would someone please know how to fix this ? I can of course supply more information upon request.
Many thanks
krilin
PS : I unfortunately could not update to the latest version of IM due to restricted rights.