question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

I’m trying to add GeoTiff with 1 bit per sample (black and white) and I’m getting this error:

Uncaught (in promise) Error: Unsupported data format/bitsPerSample
    at arrayForType (geotiffimage.js?5c03:55)
    at GeoTIFFImage._callee3$ (geotiffimage.js?5c03:420)
    at tryCatch (runtime.js?4a57:63)
    at Generator.invoke [as _invoke] (runtime.js?4a57:337)
    at Generator.prototype.(/temp/anonymous function) [as next] (webpack-internal:///93:96:21)
    at step (asyncToGenerator.js?7b11:17)
    at eval (asyncToGenerator.js?7b11:35)
    at new Promise (<anonymous>)
    at new F (_export.js?90cd:35)
    at GeoTIFFImage.eval (asyncToGenerator.js?7b11:14)

Thanks for any reply.

Issue Analytics

  • State:open
  • Created 5 years ago
  • Comments:16 (12 by maintainers)

github_iconTop GitHub Comments

1reaction
constantiniuscommented, Nov 28, 2018

@DanielJDufour I already tried, and I ran into the issue that the CCITTRLE (Fax Group 4) compression is used in the file which is currently not supported. I tried to quick an dirty use the implementation of PDF.js, but failed to get it to work. I’d love to, but I’m out of time to do an implementation right now. I think doing a gdal_translate to use a different compression should do the trick

0reactions
definitelymecommented, Aug 24, 2021

Anyone added this yet?

Read more comments on GitHub >

github_iconTop Results From Across the Web

1-bit computing - Wikipedia
In computer architecture, 1-bit integers or other data units are those that are 1 bit (1/8 octet) wide. Also, 1-bit central processing unit...
Read more >
A one-bit processor explained: reverse-engineering the ...
In particular, the chip doesn't include any support for memory or addresses; it didn't even have a program counter. The program counter, ...
Read more >
What is "1-bit"? - Sweetwater
Each pulse provides only one bit of data (a zero or a one), but at a high enough speed, these pulses accurately (enough)...
Read more >
Support Recovery in Universal One-bit Compressed Sensing
The focus of this paper is support recovery, which often also computationally facilitate approximate signal recovery. A \emph{universal} ...
Read more >
1 bit TIFF/Bitmap support please - Affinity | Forum
I used to use the 1 bit bitmap tiff an awful lot as an Adobe user. I can't find a simple way to...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found