mirror of
https://github.com/RGBCube/serenity
synced 2025-07-26 12:47:45 +00:00
LibGfx/TIFF+CCITT: Clarify naming of compression type 2
Type 2 <=> One-dimensional Group3, customized for TIFF Type 3 <=> Two-dimensional Group3, uses the original 1D internally Type 4 <=> Two-dimensional Group4 So let's clarify that this is not Group3 1D but the TIFF variant, which is called `CCITTRLE` in libtiff. So let's stick with this name to avoid confusion.
This commit is contained in:
parent
9b50b5793b
commit
edffdc35a9
6 changed files with 9 additions and 9 deletions
|
@ -21,6 +21,6 @@ namespace Gfx::CCITT {
|
|||
// However, this function implements the TIFF variant (see TIFFLoader.h for a spec link),
|
||||
// differences are detailed in section:
|
||||
// Section 10: Modified Huffman Compression
|
||||
ErrorOr<ByteBuffer> decode_ccitt3_1d(ReadonlyBytes bytes, u32 image_width, u32 image_height);
|
||||
ErrorOr<ByteBuffer> decode_ccitt_rle(ReadonlyBytes bytes, u32 image_width, u32 image_height);
|
||||
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue