1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-05 11:07:34 +00:00
serenity/Tests/LibGfx/test-inputs
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
..
bmp Tests: Add regression tests for fixed OSS-Fuzz test cases 2023-10-24 07:30:04 +02:00
dds LibGfx/DDSLoader: Allow image dimensions that are not divisible by 4 2023-10-06 22:18:27 +02:00
icc LibGfx/TIFF: Add support for the ICCProfile tag 2023-12-02 10:36:02 +01:00
ico LibGfx/ICO: Do not try to decode a mask if we already reached EOF 2024-01-07 12:32:02 -05:00
ilbm LibGfx/ILBMLoader: Properly display images with a bitplane mask 2024-01-18 13:59:17 +01:00
jpg LibGfx+Tests: Improve calculation of restart interval 2024-01-30 14:50:43 +01:00
jxl LibGfx/JPEGXL: Fix property 8 2023-08-01 05:35:01 +02:00
png Tests: Add a png in Display P3 that shows up as solid color in sRGB 2024-01-12 16:20:46 -07:00
pnm Tests: Add a pam cmyk test file 2024-01-26 07:36:53 +01:00
tga Tests: Move tga test images into tga/ subfolder 2023-06-19 06:42:00 -04:00
tiff LibGfx/TIFF: Add support for tiled images 2024-02-13 10:13:11 +01:00
tvg LibGfx/TinyVG: Avoid OOM if header contains a bogus color table size 2023-12-02 10:47:39 +01:00
webp Tests: Add test for webp with color index transform and alpha_used=false 2023-06-20 11:35:03 +02:00
woff LibGfx/WOFF: Ensure header totalSfntSize matches expected value 2023-10-24 07:29:09 +02:00
woff2 LibGfx/WOFF2: Ensure numTables is within expected range 2023-10-26 08:39:26 +02:00
download-animation.gif LibGfx: Move TestImageDecoder over to input file approach in 8cfabbcd93 2023-02-01 08:56:56 -05:00
loop_forever.avif LibGfx: Add initial ISO BMFF parsing and a utility to print file info 2023-07-27 12:02:37 +01:00
TestFont.font LibGfx: Move TestFontHandling over to input file approach in 8cfabbcd93 2023-02-01 08:56:56 -05:00