Skip to content

Conversation

@RunDevelopment
Copy link
Contributor

@RunDevelopment RunDevelopment commented Nov 23, 2025

PNG only supports up to 16-bit colors, so this PR adds support for f32 test images by converting them to 16-bit before comparing them to the reference PNG.

This is necessary for #16.

@197g
Copy link
Member

197g commented Nov 23, 2025

Seems like a good-enough solution, for now, but this is good motivation to get the tiff support for all of this in place since we need not make any compromise there—including for image sequences.

@fintelia fintelia merged commit e1575e6 into image-rs:main Nov 24, 2025
5 checks passed
@fintelia
Copy link
Contributor

Actually maybe we should try using 32-bit float TIFF here. Will be easier to switch at the start than after we've got a bunch of reference images already imported

@RunDevelopment RunDevelopment deleted the 16bit-png branch November 24, 2025 13:23
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants