convert and resize error

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
User avatar
anthony
Posts: 8883
Joined: 2004-05-31T19:27:03-07:00
Authentication code: 8675308
Location: Brisbane, Australia

Re: convert and resize error

Post by anthony »

Looks like you are missing the '/' at the start of your file paths. making them all relative to the scrips current running directory. That does not appear to be what you want!
Anthony Thyssen -- Webmaster for ImageMagick Example Pages
https://imagemagick.org/Usage/
Bonzo
Posts: 2971
Joined: 2006-05-20T08:08:19-07:00
Location: Cambridge, England

Re: convert and resize error

Post by Bonzo »

I have tried your code with relative paths and it seemed to work OK.

Your code is very complicated for what you are doing - loading variables into variables etc.

There are some samples of how I do it here http://www.rubblewebs.co.uk/imagemagick/code.php These examples could probably be shorter now since I have learnt more; I will look at them again one day when I get the time!
Post Reply