Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
nstaab1 opened this issue Apr 23, 2020 · 4 comments
Open

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

nstaab1 opened this issue Apr 23, 2020 · 4 comments

Comments

@nstaab1
Copy link

nstaab1 commented Apr 23, 2020

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!

@targos
Copy link
Member

targos commented Apr 23, 2020

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.

@jonaskohl
Copy link

Any news on this?

@anurag-shj
Copy link

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?

@lpatiny
Copy link
Member

lpatiny commented Jan 12, 2024

Here is a small multi frame image 1 bit.

dog.tiff.zip

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

5 participants