geotiff.js
geotiff.js copied to clipboard
RGB is 1 or 0
Hi I have a file where the RGBs are read as either 1 or 0 I was hoping to share the file privately since it is a confidential file 88MB
I have loaded the file okay in QGIS - so I believe the file to be valid
Hi @khanhankkhan
Is your e-mail address on your github profile valid? In that case I can provide you a Drive folder where you can upload it.
Yes. That would be great.
Okay, you can now upload your file
Did you resolve this?
Although geotiff.js supports n-bit decompression, the main issue (I believe) is that 1/0 data is often encoded using CCITT Group 4 Compression and geotiff.js doesn't support this. I haven't even been able to find a JavaScript package that provides this decompression algorithm. If anyone would like to take on writing this algorithm, let us know! Would be a great opportunity to support the project!
@constantinius , let me know if I got anything wrong here :-)
Yes, CCITT is not (yet) implemented. I tried around a bit but never really got far and there is not much demand for that.
I don't remember if the original issue was because of this compression, though.