"no decode delegate for this image format"

Questions and postings pertaining to the development of ImageMagick, feature enhancements, and ImageMagick internals. ImageMagick source code and algorithms are discussed here. Usage questions which are too arcane for the normal user list should also be posted here.
Post Reply
hikari17

"no decode delegate for this image format"

Post 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
User avatar
fmw42
Posts: 25562
Joined: 2007-07-02T17:14:51-07:00
Authentication code: 1152
Location: Sunnyvale, California, USA

Re: "no decode delegate for this image format"

Post 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
hikari17

Re: "no decode delegate for this image format"

Post 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
Post Reply