There is a new KNIME forum. You can still browse and read content from our old forum but if you want to create new posts or join ongoing discussions, please visit our new KNIME forum: https://forum.knime.com

Exporting 1 bit encoded tif files

Member for

5 years 4 months aklenner

Dear all,

I am looking for a way to export binary tifs (only black and white) coming from ImPlus. So far just converting into BitType doesnt do the trick since the image writer refuses to write tif in this format. 1-bit Tiffs clearly do exist, so I was wondering what I am doing wrong here.

Best,

Alex

Comments
Thu, 02/15/2018 - 06:16

Member for

6 years 4 months

gab1one

Hi Alex,

We are using SCIFIO library to read and write images, none of the formats included in it supports writing BitType images at all. So there is currently no way to write them using the Image Writer node. You can try using the Java snippet node and "javax.imageio.ImageIO".

Is there a specific reason you do now want to store the images as ByteType?

best,

Gabriel