Open usedbytes opened 2 years ago
Hello,I have a question. If i don't want to change the package how can I do? Or is there any other different tiff package to use.
Which package don't you want to modify?
I think it should be possible to replace the _ "golang.org/x/image/tiff"
line in osdata/raster/raster.go
with any other library which registers a handler for TIFF files with the standard Go image
package.
This one might do it: https://github.com/chai2010/tiff
This is encountered with some tiles of the VectorMap District data, due to some issue in the golang.org/x/tiff package.
See: https://github.com/golang/go/issues/30827#issuecomment-774469551
I could vendor that fix into this package, or perhaps find a different tiff package to use.