klokantech/tileserver-php — pull request #34 by Fil (2014-06-20 21:15:13+00:00)
Title: Autodetect minzoom, maxzoom and format for mbtiles

* `format` is detected via JPEG's magic number `FFD8`
* `minzoom` and `maxzoom` are `min(zoom_level)` and `max(zoom_level)`