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?".
tlichev
Posts: 16 Joined: 2012-06-27T04:05:56-07:00
Authentication code: 13
Post
by tlichev » 2012-06-29T01:53:35-07:00
I'm using ImageMagick 6.7.7-9 Q16 on Linux
This is my convert command:
Code: Select all
/opt/ImageMagick-6.6.7-bin/bin/convert /S:/store/snowman_138060_0.psd[0] -flatten -rotate 0 -interpolate bicubic -resize 320x320! -verbose -depth 8 GIF:/S:/temp/media6669569482882550110.gif
As you can see there is a colon in the source path name and I'm getting an error (doesn't matter if the colon is escaped or not - /S:/... or /S\:/...)
Code: Select all
convert: unable to open image `/store/snowman_138060_0.psd': No such file or directory @ error/blob.c/OpenBlob/2638
It works if the source file name is without [0] or there is no colon in the path
fmw42
Posts: 25562 Joined: 2007-07-02T17:14:51-07:00
Authentication code: 1152
Location: Sunnyvale, California, USA
Post
by fmw42 » 2012-06-29T11:22:11-07:00
try quotes around your file names (single or double?)
"/S:/store/snowman_138060_0.psd[0]"
Also search the archives and I seem to recall something about this not too long ago.
see
viewtopic.php?f=3&t=19215&p=75045&hilit ... ame#p75045
tlichev
Posts: 16 Joined: 2012-06-27T04:05:56-07:00
Authentication code: 13
Post
by tlichev » 2012-06-30T02:34:39-07:00
Tried with quotes, doesnt help much ...
And as far as I see from the post this problem has been reproduced in 6.7.3 and I dont know if it has been fixed in 6.7.7
fmw42
Posts: 25562 Joined: 2007-07-02T17:14:51-07:00
Authentication code: 1152
Location: Sunnyvale, California, USA
Post
by fmw42 » 2012-06-30T09:41:22-07:00
Post the problem to the Bugs forum and ask if it was fixed or somehow got reverted.
anthony
Posts: 8883 Joined: 2004-05-31T19:27:03-07:00
Authentication code: 8675308
Location: Brisbane, Australia
Post
by anthony » 2012-07-04T18:50:18-07:00
Quotes are for the shell or DOS. The ':' problem is with Imagemagick. It thinks you have a 'coder' as part of the filename.
Backslash the ':' - ensuring the backslash is also passed to IM by doubling it.
See IM examples, File Handling, Meta-Character Handling
http://www.imagemagick.org/Usage/files/#read_meta
This was extracted from that discussion Fred remembered.
tlichev
Posts: 16 Joined: 2012-06-27T04:05:56-07:00
Authentication code: 13
Post
by tlichev » 2013-03-08T06:31:58-07:00
The same problem is reproducible in Linux with 6.8.3-7
There is no way to parse colon as part of the path. Tried escaping (single, double, triple), quotes, both ... no luck.