Open GoogleCodeExporter opened 8 years ago
Convert error message seems not related to ImageResizer. Possibly you'll need
to specify the that the data from stdin is in png file format via command line
parameters in convert.exe.
Original comment by Hawk...@gmx.de
on 2 Jun 2013 at 6:58
I change the command with this :
ImageResizer /load imagein.png /resize auto "xBR 3x
<NoBlend>(thresholds=0,vbounds=wrap,hbounds=wrap,radius=1.00,centered=0)"
/stdout | convert png:- imageout.png
But another error message appear:
magick.exe: Improper image header `-' @ error/png.c/ReadPNGImage/3999.
magick.exe: no images defined `output.png' @ error/convert.c/ConvertImageCommand
/3106.
As I said before, I tried ImageMagick Convert with Pngnq-s9, but none of both
error that I mentioned appear. Could you mention working example to prove that
there is no problem with ImageResizer.
Thanks
Original comment by ryanb...@gmail.com
on 3 Jun 2013 at 5:57
I think I know where the Problem could be. ImageResizer outputs status messages
to stdout before the image data is sent to it and ImageMagick can not
distinguish both from each other. I'll figure out a way to supress any status
messages when an stdout parameter is present.
Original comment by Hawk...@gmx.de
on 1 Jul 2013 at 2:07
I have a similar problem. Converting files works fine except when using stdin
# convert test.png test.gif
# cat test.png | convert png:- test.gif
convert: improper image header `-' @ error/png.c/ReadPNGImage/4000.
convert: no images defined `test.gif' @
error/convert.c/ConvertImageCommand/3106.
Original comment by dtle...@me.com
on 5 Jan 2014 at 3:35
Original issue reported on code.google.com by
ryanb...@gmail.com
on 24 May 2013 at 10:53