How to convert with folder ?

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
stel2

How to convert with folder ?

Post by stel2 »

Hi,

Sorry for my bad english....

I don't understand how to convert image in a folder like this exemple :

Code: Select all

 convert images/test.jpg images/thumbnail/test_small.jpg
convert: unable to open image `images/test.jpg':


I can't use folder ?
jerusalem2

Re: How to convert with folder ?

Post by jerusalem2 »

Convert the image to what? :shock:
stel2

Re: How to convert with folder ?

Post by stel2 »

I don't understand your question....

convert images/test.jpg images/thumbnail/test_small.jpg is an exemple....
Bonzo
Posts: 2971
Joined: 2006-05-20T08:08:19-07:00
Location: Cambridge, England

Re: How to convert with folder ?

Post by Bonzo »

Yes it will work with folders you have another problem - are you using windows php etc?
stel2

Re: How to convert with folder ?

Post by stel2 »

I use gentoo on a dedicated server.

Code: Select all

convert test.gif -coalesce -thumbnail 150 -deconstruct test-mini.gif
That work.

Code: Select all

convert images/test.gif -coalesce -thumbnail 150 -deconstruct images/thumbnail/test-mini.gif
Don't work : convert: unable to open image `images/test.jpg':
User avatar
fmw42
Posts: 25562
Joined: 2007-07-02T17:14:51-07:00
Authentication code: 1152
Location: Sunnyvale, California, USA

Re: How to convert with folder ?

Post by fmw42 »

perhaps use the full path from root

or your directories might not have the correct permissions
Post Reply