You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I have a rather large pmtiles archive that has PNG tiles inside (digital terrain tiles). I'd like to convert it to WebP format. It'd be great if pmtiles convert could do this for me. Alternatively, if there is any other (relatively) expedient way to make such a conversion, I'm all ears!
The text was updated successfully, but these errors were encountered:
This won't be part of the default functionality because there is no optimized WebP writer, as far as I know, that uses Go only. Depending on a native library would make it impossible to easily cross-compile the single binary for this program.
We could instead expose an iterator convenience function over an archive that writes a new archive, performing an operation on each unique tile, and then you could write a short program that reads in PNG and writes WebP.
That sounds like a good idea to me, as it would open the door to many other processing abilities as well. It would need to allow for modification of the metadata as well somehow to support a format change.
I have a rather large pmtiles archive that has PNG tiles inside (digital terrain tiles). I'd like to convert it to WebP format. It'd be great if
pmtiles convert
could do this for me. Alternatively, if there is any other (relatively) expedient way to make such a conversion, I'm all ears!The text was updated successfully, but these errors were encountered: