Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Updates to TIFF stack handling #72

Merged
merged 2 commits into from
Jun 17, 2024
Merged

Conversation

ruven
Copy link
Contributor

@ruven ruven commented Jun 13, 2024

Updates to build_stack.py script to:

  1. Embed info.json into ImageDescription instead of XMP field as this was creating compatibility problems with some imaging software due to non-conformant XML content within XMP field. This now also aligns with the tag used by OME-TIFF.
  2. Embed spatial resolution information within TIFF
  3. Add new tile size parameter

Update to relight.js when using IIP layout to:

  1. Use updated TIFF field to retrieve info.json file
  2. Use info.json's format string to determine which kind of tile request to make (useful for switching to WebP if WebP compression has been used within TIFF)

…ription field rather than in XMP field. The use of non-XML data in the XMP field was compatibility problems. This also aligns with the approach taken by OME-TIFF.

New tile size command-line parameter also added and script now updates spatial resolution within TIFF and compression format within info.json.
…tacks.

The format field within the info.json is also now used by the IIP layout to determine which image format should be requested
@ponchio
Copy link
Contributor

ponchio commented Jun 17, 2024

Looks fine, thanks.

@ponchio ponchio merged commit d31d86a into cnr-isti-vclab:master Jun 17, 2024
2 of 3 checks passed
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