image.readRasters fails in Safari with deflate compression
See original GitHub issueVersion: geotiff@1.0.0-beta.11
(browser).
I have a geotiff file with deflate compression, image.readRasters
works as expected for this file in:
- Chrome v83
- Firefox 77.0.1
- Edge 83 (windows 10)
- Opera 68.
However fails in Safari (v13.1.1, MacOS 10.15.5).
Error:
unknown compression method
Raised after this in dist-browser:
if ((15 & oe) !== g) {
Y.msg = "unknown compression method", $.mode = V;
break
}
I’ve setup a simple repro here: https://github.com/danwild/geotiff-safari-bug.
Issue Analytics
- State:
- Created 3 years ago
- Comments:7 (5 by maintainers)
Top Results From Across the Web
Gzip compression problem in Safari and iOS, with express.js
On Safari for Mac it gives me the following error: Failed to load resource: cannot decode raw data. It only happens with one...
Read more >TIFF Export With Compression Fails to Com…
Juts noticed some weirdness with Image Capture where the first scans were TIFF compressed, now they are not being compressed? What gives? And ......
Read more >geotiff.js - npm
pixel interleaved images. Supported data-types: (U)Int8/16/32; Float32/64. Enabled compressions: no compression; Packbits; LZW ..
Read more >GeoTiff Compression for Dummies - Paul Ramsey
(ordinarily the compression type is in the “Image Structure Metadata” but ... The default TIFF compression is, frequently, “deflate”, ...
Read more >WebSocket payload is truncated when x-webkit-deflate-frame ...
Summary: REGRESSION (Safari 13): WebSocket payload is truncated when ... This leads to a 'Failed to compress frame' error in console on ...
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
@danwild Thanks for reporting this and taking the time to provide a test and data.
#158 is ready to merge, I’ll ping here once that has been completed
Thanks Dan. This is good news for me too 😃