Page 1 of 1

"no decode delegate for this image format"

Posted: 2010-10-11T14:20:52-07:00
by hikari17
I'm using Paperclip/ImageMagick in a Rails app running on a Windows server.

I get the following error message when trying to upload an image file:

Magick: no decode delegate for this image format '/Tmp/stream,4576,0.jpg[0]'' @ error/constitute.c/ReadImage/532.

Farther down in the error dump, I also get the message:

[paperclip] C:/Program Files/ImageMagick-6.6.4-Q16/identify -format %wx%h 'C:/Tmp/stream,4576,0.jpg[0]'
[paperclip] An error was received while processing... is not recognized by the 'identify' command.

I show the jpg delegate having permission rw-

Any suggestions on what I might be doing wrong?

Thanks,

Dean Richardson

Re: "no decode delegate for this image format"

Posted: 2010-10-11T14:45:59-07:00
by fmw42
JPG images do NOT support multiple frames. you need to use gif or tiff or some other multiframe format

or if you only have one frame, remove the [0] from the end of the jpg filename

Re: "no decode delegate for this image format"

Posted: 2010-10-11T14:50:17-07:00
by hikari17
From what I can tell, this command is issued directly by the Paperclip plug-in itself. Is it likely that this is some sort of bug in the plug-in?

Thanks for your input!

--Dean