No Decode Delegate when using stdin

Post any defects you find in the released or beta versions of the ImageMagick software here. Include the ImageMagick version, OS, and any command-line required to reproduce the problem. Got a patch for a bug? Post it here.
Posts: 1
Joined: 2020-03-18T01:51:42-07:00
Authentication code: 1152

No Decode Delegate when using stdin

Post by linedadelas »

I am having a problem when passing an image to ImageMagick via stdin.

The following command is the one in question.

$ display < frog.pgm
display: no decode delegate for this image format `/var/tmp/magick-2094Xb6fonFohOuc' @ error/constitute.c/ReadImage/550.


display frog.pgm

works just fine.

Interestingly, this works fine on Ubuntu but is not working on the Mac distribution.

Any thoughts?

Posts: 13034
Joined: 2010-01-23T23:01:33-07:00
Authentication code: 1151
Location: England, UK

Re: No Decode Delegate when using stdin

Post by snibgo »

What version of IM?

I'm on Windows, so can't use "display", so can't test this, but does "display" read images from stdin? Perhaps you need a "-" in the position of a filename.
snibgo's IM pages:

User avatar
Posts: 1625
Joined: 2013-05-04T15:28:54-07:00
Authentication code: 6789

Re: No Decode Delegate when using stdin

Post by dlemstra »

I suspect this is happening becausr that image format has no header that can detect the format.
.NET + ImageMagick = Magick.NET, @MagickNET, Donate