Can you modify the bit of code at the bottom of this page ?
http://www.rubblewebs.co.uk/imagemagick/code.php
CONVERT and output to another with SAME filename
I was not thinking; one problem I find is that if you put /cygdrive/e/tmp/album/IMG_1705.JPG in the code it can throw an error.
If you put $image = "/cygdrive/e/tmp/album/IMG_1705.JPG "; and use $image in your code it works.
I do not know why and it could just be my server setup; this is assuming you are using php.
You are also escaping some " but not all; is this just a typing error?
If you put $image = "/cygdrive/e/tmp/album/IMG_1705.JPG "; and use $image in your code it works.
I do not know why and it could just be my server setup; this is assuming you are using php.
You are also escaping some " but not all; is this just a typing error?
- anthony
- Posts: 8883
- Joined: 2004-05-31T19:27:03-07:00
- Authentication code: 8675308
- Location: Brisbane, Australia
Could it be that your filename has a space character in it?? You have space in the quotes which seems to indicate that is the case. Remember ALL characters except NULL and slash are actually valid characters under UNIX filesystems, though may not be valid under cgiwin and its use of the windows vfat/ntfs filesystems.
Anthony Thyssen -- Webmaster for ImageMagick Example Pages
https://imagemagick.org/Usage/
https://imagemagick.org/Usage/