convert: no such image

Questions and postings pertaining to the usage of ImageMagick regardless of the interface. This includes the command-line utilities, as well as the C and C++ APIs. Usage questions are like "How do I use ImageMagick to create drop shadows?".
Post Reply
grato

convert: no such image

Post by grato »

Hello,
I'm facing a very strange problem with the convert tool. I hope you can help me with this.
I run imagemagick on two quite similar machines(both Debian etch).
On machine A the command:

Code: Select all

width=`identify -format %w '/var/www/pics/picture.jpg'`; convert -background '#0008' -fill white -pointsize 14 -gravity west -size 300x caption:'comment' +size '/var/www/pics/picture.jpg' +swap -gravity southeast -composite '/var/www/pics/picture.jpg'
works fine.
On machine B, although the folder structure and the permissions are identical, the convert tool returns to the same command "convert: no such image `/var/www/pics/picture.jpg'.". The file is there, no question! I have no idea what causes this flaw.
I'd really appreciate any help on this.
Thanks in advance!

grato
User avatar
anthony
Posts: 8883
Joined: 2004-05-31T19:27:03-07:00
Authentication code: 8675308
Location: Brisbane, Australia

Re: convert: no such image

Post by anthony »

Something is different. Maybe one of the upper directories are not read/accessable?
Anthony Thyssen -- Webmaster for ImageMagick Example Pages
https://imagemagick.org/Usage/
dognose
Posts: 265
Joined: 2005-03-08T22:16:37-07:00

Re: convert: no such image

Post by dognose »

convert -list format

Is jpg listed as a supported format on both machines?
Post Reply