Windshaft-cartodb/lib/cartodb/controllers
Mario de Frutos 8d16bf566d
Force png tile generation for static maps (#808)
* Force png tile generation for static maps

If the user tries to generate a static map requesting JPG it will fail
because is going to try to generate the tiles using JPG as format which
is not supported by now, this bug was introduced in the version 4.0.1

So we now force, again, the tiles to be generated as PNG but we pass
the requested format, JPG, to windshaft to generate the final image as
the user reqests

* Added support to define image format in the image assertions

* Added test for JPEG static image generation

Also I've added support for:

- JPEG images
- Different tolerance based on the file type, it seems that due to
  different compression we need different tolerance for JPG images
2017-12-12 13:20:22 +01:00
..
analyses.js Use ES6 template string for route definition 2017-11-19 14:05:20 +01:00
index.js Add controller to list user analyses 2016-07-12 16:08:48 +02:00
layergroup.js Force png tile generation for static maps (#808) 2017-12-12 13:20:22 +01:00
map.js Add more steps while profiling 2017-11-08 14:27:35 +01:00
named_maps_admin.js Remove send method in base controller and remove BaseController class 2017-10-30 19:28:40 +01:00
named_maps.js Force png tile generation for static maps (#808) 2017-12-12 13:20:22 +01:00
server_info.js Warn on application start about non-matching dependencies 2016-06-06 12:07:43 +02:00