More actions
imported>Unknown No edit summary |
(Repair batch-0003 pages from live compare) |
||
| Line 13: | Line 13: | ||
{filter type} RGB, RGB, RGB,,,,, 이런식 | {filter type} RGB, RGB, RGB,,,,, 이런식 | ||
* 자세한 내용은 | * 자세한 내용은 PNGFileFotmat/FilterAlgorithms 참조. | ||
=== 참고자료 === | === 참고자료 === | ||
| Line 19: | Line 19: | ||
---- | ---- | ||
[[PNGFileFormat]] | [[PNGFileFormat]] | ||
Latest revision as of 00:29, 27 March 2026
현재는 compression method 0만 있음. zlib의 inflate, deflate와 같다. 최대 윈도우 사이즈는 32768바이트
Inflate
Deflate
- zip, gzip, pkzip 에서 사용하는 LZ777 파생 기법사용.
- zlib으로 압축된 PNG 의 이미지의 데이터는 다음의 포맷
- Compression method/flags code : 1 byte
- Additional flags/check bits : 1byte
- Compressed data blocks : n bytes
- Check value : 4 bytes
압축 풀린 데이터
- 압축풀린 데이터는 각 스캔라인별로 다른 필터로 되어있다. 즉 한 스캔라인은 픽셀width바이트 +1byte 이며 이 1 바이트는 각 스캔라인의 앞부분에 온다.
{filter type} RGB, RGB, RGB,,,,, 이런식
- 자세한 내용은 PNGFileFotmat/FilterAlgorithms 참조.