Code: Select all
$ stream Ambermoon-lyramion.6400x6400.png - | hexdump
0000000 0000 0000 0000 0000 0000 0000 0000 0000
*
7530000
I think the problem is connected with palette mode of the PNG.
Code: Select all
$ identify Ambermoon-lyramion.6400x6400.png
Ambermoon-lyramion.6400x6400.png PNG 6400x6400 6400x6400+0+0 8-bit PseudoClass 256c 6.562MB 0.000u 0:00.009
My version of IM is:
Code: Select all
$ stream -version
Version: ImageMagick 6.6.9-7 2014-03-06 Q16 http://www.imagemagick.org
Copyright: Copyright (C) 1999-2011 ImageMagick Studio LLC
Features: OpenMP
I know I can convert image and then stream it, but I need a lightweight tool for automated streaming of large images and convert is not a lightweight tool.