Skip to content

feat: support multispectral and float32 TIFF images via tifffile#1812

Merged
wkentaro merged 2 commits intomainfrom
feat/support_multispectral_and_float32_tiff_images_via_tifffile
Feb 27, 2026
Merged

feat: support multispectral and float32 TIFF images via tifffile#1812
wkentaro merged 2 commits intomainfrom
feat/support_multispectral_and_float32_tiff_images_via_tifffile

Conversation

@wkentaro
Copy link
Owner

Pillow cannot open TIFFs with non-standard modes (e.g., 5-band float32 multispectral GeoTIFFs). Fall back to tifffile for these cases, normalizing per-band to uint8 for display.

Close #1612

image

https://jp-osa-1.linodeobjects.com/cdn.labelme.io/data/fvc_uas_data/tiles_multispectral.16.tif

CC4: https://zenodo.org/records/15036860

Pillow cannot open TIFFs with non-standard modes (e.g., 5-band float32
multispectral GeoTIFFs). Fall back to tifffile for these cases,
normalizing per-band to uint8 for display.
@wkentaro wkentaro added this to the v6.0.0 milestone Feb 27, 2026
@wkentaro wkentaro self-assigned this Feb 27, 2026
…ue test

Guard against undefined behavior when normalizing arrays containing only
NaN values, and add test coverage for the constant-value (zero-range) path.
@wkentaro wkentaro merged commit 5243c35 into main Feb 27, 2026
4 checks passed
@wkentaro wkentaro deleted the feat/support_multispectral_and_float32_tiff_images_via_tifffile branch February 27, 2026 13:30
@github-project-automation github-project-automation bot moved this from Backlog to Done in @wkentaro's Kanban Feb 27, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

Status: Done

Development

Successfully merging this pull request may close these issues.

1 participant