Using the "Generate XYZ Tiles" command from "Raster tools" it is possible to create a MBTiles format file containing either PNG or JPG images. I would like to create an MBTiles file containing WebP formatted images. The WebP raster driver is already installed, so is this not possible, a missing UI option, or is there something else I need to do to make this possible?

enter image description here enter image description here

1 Answer 1


The Generate XYZ Tiles (MBTiles) tool uses GDAL to generate the output.

The GDAL MBTiles driver documentation states it only supports PNG and JPG output, so may only support <= version 1.2 of the MBTiles spec. WebP support was added to the MBTiles spec at v. 1.3.

There is an open GDAL enhancement ticket (#3437) requesting WebP support be added.

So in short, doesn't look like you can enable WebP output with the QGIS Generate XYZ Tiles (MBTiles) tool.

However, maptiler engine supports MBTiles and WebP output and has a free desktop version. I haven't used it so can't comment on it other than that.


Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge that you have read and understand our privacy policy and code of conduct.

Not the answer you're looking for? Browse other questions tagged or ask your own question.