tiff icon indicating copy to clipboard operation
tiff copied to clipboard

Planned support for 1 bit-depth B&W files?

Open nstaab1 opened this issue 5 years ago • 4 comments

Hello,

I have been looking for an npm package that is able to handle multi-page tiff files. Both the .pageCount() & .isMultiPage() are working great but I am getting an Unsupported bit depth / sample format error when trying to decode. Looking at the code I can see that it is because my tiff files are 1bit depth B&W files.

Is there any plans for support for these time of documents?

Thanks!

nstaab1 avatar Apr 23 '20 01:04 nstaab1

Hello! If you'd like to try and implement it, we'd gladly accept a pull request that adds support for this kind of images. Otherwise, you can upload one in this issue as an example, but I can't promise that we will have time to work on it in the next days.

targos avatar Apr 23 '20 06:04 targos

Any news on this?

jonaskohl avatar Nov 30 '21 09:11 jonaskohl

Hello,

I have been looking for an npm package that is able to handle multi-page tiff files. Both the .pageCount() & .isMultiPage() are working great but I am getting an Unsupported bit depth / sample format error when trying to decode. Looking at the code I can see that it is because my tiff files are 1bit depth B&W files.

Is there any plans for support for these time of documents?

Thanks!

@nstaab1 I'm facing the same issue. Could you please tell me how you resolved it?

anurag-shj avatar Dec 22 '23 10:12 anurag-shj

Here is a small multi frame image 1 bit.

dog.tiff.zip

lpatiny avatar Jan 12 '24 07:01 lpatiny