1 bit support?
See original GitHub issueI’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:
- Created 5 years ago
- Comments:16 (12 by maintainers)
Top 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 >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
@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 trickAnyone added this yet?