Re: [dev] Introducing the imagefile-format
On 2014-07-28 18:55:59, somebody claiming to be FRIGN <dev_AT_frign.de> wrote:
> 4) USING THE IMAGEFILE-TOOLS
>
> The imagefile[0]-tools provide a way to convert between png and if using pipes.
>
> 4.1) Trivial conversions
>
> $ png2if < image.png > image.if
> $ if2png < image.if > image.png
>
> $ if2png < image.if | feh -
> (...)
Possible problem with grayscale PNGs in png2if. I get bytes "00 ff 00
ff" for black pixel when it should be "00 00 00 ff".
Looks like you are treating channels [gray,alpha] (2B/pixel) as RGBA
(4B/pixel). if2png ends with "unexpected EOF or row-skew" after writing
half rows.
$ png2if < gr.png | if2png > gr1.png
unexpected EOF or row-skew at 200
Received on Tue Jul 29 2014 - 00:43:20 CEST
This archive was generated by hypermail 2.3.0
: Tue Jul 29 2014 - 00:48:07 CEST