saitoha / libsixel

A SIXEL encoder/decoder implementation derived from kmiya's sixel (https://github.com/saitoha/sixel).
MIT License
2.46k stars 82 forks source link

img2sixel: First column missing for monochromatic encoded (-e) output #112

Open interkosmos opened 4 years ago

interkosmos commented 4 years ago

If a PNG file is sixel-encoded with img2sixel using argument -e (monochrome) the first column of the output image is missing:

$ img2sixel -e image.png > image.sixel

(This also means that the actual width of the sixel image is therefore image_width - 1.)