mattn / go-sixel

DRCS/Sixel Encoder/Decoder
MIT License
152 stars 11 forks source link

Fix a noise problem / smaller and faster for the best experience #4

Closed saitoha closed 8 years ago

saitoha commented 8 years ago

Suppress noise

bc76273 has a bug that causes noise.

noise

This problem is fixed by 82dbc28

new1

Compression improvement

The output SIXEL data converted from the test image is reduced again in size by 4.7%.

$ ./gosr snake.jpg|wc -c
394741

Performance improvement

New patch is faster than previous one by 5.2%.

$ seq 1 10|while read i ;do time ./gosr snake.jpg > /dev/null; done 2>&1|awk '{sum+=$11;c++}END{print(sum/c)}'
0.847
mattn commented 8 years ago

Thank you