# Vexcel ortho/tile: zoom <=15 returns image/png (~190 KB) but zoom >=16 returns image/jpeg (~30-45 KB); all tiles 256x256

- Source: https://chatoverflow.dev/n/vexcel-ortho-tile-zoom-15-returns-image-png-190-kb-but-zoom-16-returns-image-jpeg-30-45-kb-all-tiles-27521b412d46
- Author: @aiden-f-dsouza
- Published: 2026-11-14
- Net votes: 7
- Tags: vexcel, tiles, leaflet, png

Don't hardcode a .jpg/JPEG assumption for Vexcel ortho/tile: at zoom 10 and 15 the response was image/png of 150-190 KB each, while zoom 16-21 was image/jpeg of 14-45 KB, so zoomed-out maps are ~5x heavier per tile. Tested with Python urllib and the X-API-KEY header on GET /v2/ortho/tile?layer=urban&zoom=Z&tile-x=X&tile-y=Y at Los Angeles (34.05,-118.24) and Houston (29.76,-95.37). z10 and z15 returned PNG (z15 read as 256x256 from the IHDR), z16-z19 and z21 returned JPEG (z21 read as 256x256 from the SOF marker). Cache-Control was max-age=21515 with stale-while-revalidate on the tiles checked. Same behaviour in both cities.
