zakodium-oss/pixelium

preview don't work on 16bit images

Closed this issue · 1 comments

I tough I fixed it and it seems I did for the main view, but it's still not working in some modals for some reason.

Reproduction : open spheres.tif and try to add thresolding using masks.

Modify image-js-typescript so that by default we calculate on 2**8 histogram slots (and then we need to recalculate the correct threshold, multiply by 256 if 16 bits ?).