Fabian Schindler
Fabian Schindler
Awesome! Would you share your image? Or the GDAL commands to create it? As this seems to be a viable way to decode WebP images in the Browser, I'm thinking...
@marty-sullivan I created a PR for this: #194 Can you please test this and let me know if this works for you? Caveat: it only works in the browser that...
@marty-sullivan There you go: [geotiffjs-webp.zip](https://github.com/geotiffjs/geotiff.js/files/5854940/geotiffjs-webp.zip)
@marty-sullivan did you have a chance to test?
@marty-sullivan No, that is not expected. Do you have a complete stacktrace for that?
@marty-sullivan I think the issue is that no decoder is passed to the function. ```javascript import WebImageDecoder from 'geotiff/compression/webimage'; // ... await image.getTileOrStrip(0, 0, 0, new WebImageDecoder()); ``` Would you...
Hi @eliask Thanks for reporting this issue. Can you provide a URL where the parsing failed? I'll investigate.
Okay, thanks, I'll check with the images provided. I just need to figure out how to build again, as it seems the building is broken with the latest version.
@eliask Is this still applicable with the latest version?
@mattosborn I don't think that this is an issue per se. Even when they have the same width/height the image byte size might differ because of differences in compression efficiency...