- The added line is THIS COLOR.
- The deleted line is THIS COLOR.
TITLE:PNG (Portable Network Graphics)
- http://ja.wikipedia.org/wiki/Portable_Network_Graphics
* フォーマット [#g11d7b55]
- PNG ファイルフォーマット
-- http://www.setsuki.com/hsp/ext/png.htm
- PNG形式(Portable Network Graphics)
-- http://www.geocities.co.jp/Playtown-Knight/6845/sd_doc/format_png.html
- PNGについて
-- http://homepage2.nifty.com/sophia0/png.html
- OptiPNG: Advanced PNG Optimizer
-- http://optipng.sourceforge.net/
--- http://www.cs.toronto.edu/~cosmin/pngtech/optipng.html A guide to PNG optimization
* 参考 [#fa7659a4]
- PHPでPNGファイルの各種情報を手軽に得る
-- http://d.hatena.ne.jp/anatoo/20080829/1219992340
- PNG (Portable Network Graphics) Specification, Version 1.2
-- http://web.archive.org/web/20050305152148/tech.millto.net/~pngnews/kndh/PngSpec1.2/PNG-Rationale.html#R.PNG-file-signature [http://awm.jp/~yoya/cache/tech.millto.net/~pngnews/kndh/PngSpec1.2/PNG-Rationale.html cache]
- PNG利用術
-- http://gmoon.jp/png/
- [JavaHz:1320] PNGの透過色について
-- http://www.idiom.com/~turner/JEvaHz/JEvaHz1320-1331.html
1.αチャンネルを用いる場合(Color type = 4 or 6)
(8bit,16bit grayscale / 24bit,48bit color)
RGB値もしくはgrayscale値に加え、ピクセル毎にα値(透明度)を保持。
α値の深度は色深度と同じ。
2.tRNS(=transparency) chunkを用いる場合
a.1,2,4,8bit indexed colorの場合(Color type = 3)
個々のカラーに対し、8bitの深度の透明度を指定できる。
b.1,2,4,8,16bit grayscale の場合 (Color type = 0)
ある一つのgrayscale levelに対し、1bitの深度の透明度を指定できる。
c.24/48bit colorの場合(Color type = 2)
ある一つの色に対し、1bitの深度の透明度を指定できる。
* 関連ページ [#rel]
- official PNG reference library ([[libpng]])
- [[ファイルフォーマット>file]]