nakagamiの日記: tiff
とあるファイルがマルチ tiff(モノクロ 1bit) であることが判明。
次は、その複数イメージを分解して1つ1つをモノクロビットマップに
したいんだが、マルチ tiff (モノクロ 1bit)のファイルフォーマットの
仕様は、どこにあるんだろう。
バイナリファイルを覗いてみると、途中にイメージの幅が 16bit で
入っていたりするみたいなんだけど。
1bit モノクロであれば、ライブラリを使わなくても、
ビット配列がわかればなんとかなりそうなんだが。
#フルカラー写真のようなものだと無理だけど
追記
http://www.ee.cooper.edu/courses/course_pages/past_courses/EE458/TIFF/
http://home.earthlink.net/~ritter/tiff/
http://www.awaresystems.be/imaging/tiff/faq.html
PIL
http://paison.hp.infoseek.co.jp/paison/tkinter/pil1.html
CCITT Compression
http://www.adventimaging.com/support/ccitt.htm
Writing Your Own File Decoder
http://www.pythonware.com/products/pil/articles/writing-your-own-file-decoder.htm
LibTIFF - TIFF Library and Utilities
http://www.remotesensing.org/libtiff/
Rechnernetze
http://einstein.informatik.uni-oldenburg.de/rechnernetze/ccitt_t4.htm
http://einstein.informatik.uni-oldenburg.de/rechnernetze/ccitt_t6.htm
http://netghost.narod.ru/gff/graphics/book/ch09_05.htm
tiff More ログイン