Is TileMill as a service restricted to PNG? Or is JPEG an option?

I setup TIleMill as a service as documented here:


Tiles are rendering locally e.g:

I've tried changing the extension with no luck.

I realise I can export as mbtiles and use TileStache or similar but thought I would as the question.

  • JPEG does not seem to be an option for exporting tiles from Tilemill. Have a look at this: mapbox.com/tilemill/docs/crashcourse/exporting Dec 20, 2015 at 13:17
  • Yes it does allow JPEG for export but Im asking if it can serve JPEG tilds dynamically with its server service feature.
    – Ben
    Dec 20, 2015 at 19:21

2 Answers 2


You can change the image format of the tiles you want to export by

  1. First opening the "project settings" menu by clicking on the wrench in the upper righthand corner and then
  2. Select which the image format for your tiles from the format dropdown menu
  • Doesn't that just change the format in stored in mbtiles? The tiles served dynamically still seem to be png.
    – Ben
    Dec 20, 2015 at 19:18
  • You were right, but extension stays the same. See my answer.
    – Ben
    Dec 20, 2015 at 20:50

OK so I have just discovered that the extension stays as PNG but the image is rendered as JPEG as selected in Project Settings. enter image description here

Your Answer

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

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