Files
Jungfraujoch/preview
leonarski_f 0f5271f14c mask: accept any-bit-depth TIFF for user mask upload
PUT /config/user_mask.tiff only accepted 32-bit unsigned TIFF, so masks
exported by tools like PyFAI (8-bit) failed. Route the upload through the
universal ReadTIFF reader and let PixelMask take a CompressedImage directly:
it validates the 2D shape against the detector's converted/raw layouts,
binarizes any 8/16/32-bit integer image (non-zero == masked), and rejects
float/multi-channel images.

Also dedupe the TIFF readers: ReadTIFFFromString16 is now a thin wrapper over
ReadTIFF, and the now-unused ReadTIFFFromString32 is removed.

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
2026-06-18 16:05:04 +02:00
..
2025-11-02 13:45:57 +01:00
2025-05-28 18:49:27 +02:00
2026-04-16 11:59:59 +02:00
2026-04-16 11:59:59 +02:00
2026-06-08 08:30:35 +02:00
2026-05-01 17:06:36 +02:00
2026-06-08 08:30:35 +02:00
2025-03-02 13:15:28 +01:00
2025-05-28 18:49:27 +02:00
2026-06-08 08:30:35 +02:00
2025-07-08 20:19:59 +02:00
2026-06-08 08:30:35 +02:00