Skip to content

Add test case with unaligned mask#50

Merged
kylebarron merged 1 commit intomainfrom
kyle/unaligned-mask
Mar 5, 2026
Merged

Add test case with unaligned mask#50
kylebarron merged 1 commit intomainfrom
kyle/unaligned-mask

Conversation

@kylebarron
Copy link
Member

@kylebarron kylebarron commented Mar 5, 2026

Closes #49

@kylebarron kylebarron enabled auto-merge (squash) March 5, 2026 23:37
@kylebarron kylebarron merged commit a1a8e60 into main Mar 5, 2026
1 check passed
@kylebarron kylebarron deleted the kyle/unaligned-mask branch March 5, 2026 23:37
kylebarron added a commit to developmentseed/deck.gl-raster that referenced this pull request Mar 5, 2026
Closes #175

### Change list

- Create new BlackIsZero and WhiteIsZero GPU shader modules
- Ensure that typed array type matches what the GPU expects for the
given texture format. This had been preventing uint16 images from
rendering

`uint8_1band_deflate_block128_unaligned_mask.tif` from
developmentseed/geotiff-test-data#50

<img width="755" height="756" alt="image"
src="https://github.com/user-attachments/assets/a9c6b047-cbd1-433a-b53d-34b3604d17db"
/>

And with uint16 1-band data
https://github.com/developmentseed/geotiff-test-data/blob/7fa07ac10f9d54b2ac2e557117432cf8f2f80eef/rasterio_generated/fixtures/uint16_1band_scale_offset_info.md#L4

<img width="757" height="733" alt="image"
src="https://github.com/user-attachments/assets/7cf9e77b-0193-4727-89df-f5b7d816b4ef"
/>
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.

Add test image with unaligned edge tiles with a mask

1 participant