Importing images with higher bit-depth to jit.matrix
I'm trying to import a 48-bit png (16-bit per colour, no alpha) to a jit.matrix using importmovie, but when I import the image the matrix's type changes from long to char, which truncates the values to 8 bits per colour. This happens even with @adapt 0 on the matrix.
Is there any way around this or an alternative way of reading images into a matrix which preserves the original bit-depth?
i don't have an answer for you, but if you send me your image I'll make a ticket for this. you can send to robr at cycling74.com if you prefer
Just curious if there was any findings here? I'm trying to import 16-bit greyscale PNG files but am having a similar problem, the type changes to char and the values are truncated.
I believe your only option here is to convert to open exr format and use jit.openexr to load the image.
if you try this, please let us know how it goes.