libTiff Test Result

Ori.png  81k

1b          4k

8bDeflate 24k

8blzw        42k

24bDeflate 46k

24blzw        69k

capture(640x480)

Ori.jpg     47k

40Compress 13k

1b            3k

8b            175k

24b           226k

scan image(2448x3264)
Ori.jpg 1.9M
1b 38K (1.9%)
8b 4.2M
24b 5.8M

Conclusion:

* If don't care quality, jpeg compression save more space.

* bilevel image can shrink less than 10% compress rate than jpeg image.

* 24b won't be 3 tims of 8b, tiff should use some compressing algorithem on saving data.

猜你喜欢

转载自shappy1978.iteye.com/blog/2257390