1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-07 12:57:35 +00:00
serenity/Tests/LibGfx/test-inputs/tiff
Lucas CHOLLET 8e21bbf7bf LibGfx/TIFF: Add support for tiled images
A tile is basically a strip with a user-defined width. With that in
mind, adding support for them is quite straightforward. As a lot the
common code was named after 'strips', to avoid future confusion I
renamed everything that interact with either strips or tiles to a
global term: 'segment'.

Note that tiled images are supposed to always have a 'TileOffsets' tag
instead of 'StripOffset'. However, this doesn't seem to be enforced by
encoders, so we support having either of them indifferently.

The test case was generated with the following Python script:

import pyvips

img = pyvips.Image.new_from_file('deflate.tiff')
img.write_to_file('tiled.tiff',
                  compression=pyvips.ForeignTiffCompression.DEFLATE,
                  tile=True, tile_width=64, tile_height=64)
2024-02-13 10:13:11 +01:00
..
16_bits.tiff LibGfx/TIFF: Add support for bit-depth up to 32 bits per sample 2023-12-09 21:47:33 +01:00
alpha_predictor.tiff LibGfx/TIFF: Apply the HorizontalDifferencing on the alpha channel 2024-01-22 20:10:48 -07:00
ccitt3.tiff LibGfx/TIFF+CCITT: Start to decode CCITT Group 3 images 2024-01-18 14:00:56 +01:00
ccitt3_1d_fill.tiff LibGfx/CCITT: Consider the UseFillBits option 2024-02-12 14:08:56 +01:00
ccitt_rle.tiff LibGfx/TIFF+CCITT: Clarify naming of compression type 2 2024-01-18 14:00:56 +01:00
cmyk.tiff LibGfx/TIFF: Add support for CMYK 2024-01-24 22:16:22 -07:00
deflate.tiff LibGfx/TIFF: Add AdobeDeflate compression support 2023-12-29 20:12:07 +01:00
grayscale.tiff LibGfx/TIFF: Add support for grayscale images 2023-12-07 08:17:46 +00:00
grayscale_alpha.tiff LibGfx/TIFF: Add support for images with UnassociatedAlpha 2023-12-22 08:08:47 +00:00
invalid_tag.tiff LibGfx/TIFF: Don't stop decoding when failing to decode a tag 2024-01-04 14:27:16 +01:00
krita.tif LibGfx/TIFF: Accept images with a single strip and no RowsPerStrip tag 2024-01-19 14:13:44 +01:00
lzw.tiff LibGfx/TIFF: Add support for LZW compression 2023-11-12 13:56:27 +01:00
orientation.tiff LibGfx/TIFF: Modify the image according to the Orientation tag 2024-01-08 00:07:44 +01:00
packed_bits.tiff LibGfx/TIFF: Add support for images with PackBits compression 2023-11-08 09:28:36 +01:00
rgb_alpha.tiff LibGfx/TIFF: Add support for images with UnassociatedAlpha 2023-12-22 08:08:47 +00:00
rgb_palette_alpha.tiff LibGfx/TIFF: Add support for RGBPalette images 2023-12-23 20:41:48 +01:00
tiled.tiff LibGfx/TIFF: Add support for tiled images 2024-02-13 10:13:11 +01:00
uncompressed.tiff Tests/LibGfx: Move the tiff image to its own folder 2023-11-08 09:28:36 +01:00