CONVERT: image can not open

Questions and postings pertaining to the development of ImageMagick, feature enhancements, and ImageMagick internals. ImageMagick source code and algorithms are discussed here. Usage questions which are too arcane for the normal user list should also be posted here.
Post Reply
anju
Posts: 2
Joined: 2012-06-08T04:14:16-07:00
Authentication code: 13

CONVERT: image can not open

Post by anju »

Not always but occasionally when I try to convert some pdfs/ttif to a JPEG using ImageMagick their backgrounds not being converted. It throws error like

convert: unable to open image file location ': @ error/blob.c/OpenBlob/2517.
convert: unable to open image 'filename.jpg': @ error/blob.c/OpenBlob/2517.
convert: missing an image filename image 'filename.pdf' @ error/convert.c/ConvertImageCommand/2953."

I am using command like

convert -density 150 -strip -compress JPEG -quality 70' + ' ' + "filename.pdf" + ' -page A4 ' + "filename.JPG".

After this, i wanted to merged all the JP files into single PDF file with the following command
convert -page A4 -strip -compress JPEG -quality 70'+ ' ' + "filename.PDG" + ' ' + "filename.JPG" .


Any suggestions would be greatly appreciated.
Post Reply