Skip to content

Conversation

@jcupitt
Copy link
Member

@jcupitt jcupitt commented Nov 24, 2025

TODO:

  • add some tests

@jcupitt jcupitt marked this pull request as draft November 24, 2025 18:46
@jcupitt jcupitt marked this pull request as ready for review November 26, 2025 10:35
@jcupitt
Copy link
Member Author

jcupitt commented Nov 26, 2025

Test with:

$ dzsave ultra-hdr.jpg x --keep gainmap
$ vipsheader -f gainmap-data x_files/10/1_0.jpeg | base64 -d > map-tile.jpg

And verify that map-tile.jpg is the expected size and crop position. test_uhdr_dzsave does this test.

You need the --keep gainmap since dzsave strips all tile metadata by default, but of course you need to retain it here.

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.

2 participants