Windshaft-cartodb/lib/cartodb
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
..
api fix forgotten comment 2017-10-05 12:44:03 +02:00
backends Add query param to define the number of categories to be ranked 2017-11-07 16:14:47 +01:00
cache Use generic map config adapter 2016-05-23 23:29:06 +02:00
controllers Force png tile generation for static maps (#808) 2017-12-12 13:20:22 +01:00
middleware Merge branch 'master' into res-locals-user 2017-11-16 11:03:43 +01:00
models Date histogram: Add missing GROUP BY column 2017-12-11 11:27:13 +01:00
monitoring Health check will always return error if file is found even if empty 2015-09-22 15:15:57 +02:00
stats Add timer helper 2016-03-18 17:21:43 +01:00
utils Escape getQueryRowCount with $$ 2017-12-11 11:27:13 +01:00
server_options.js Add configuration flag to enable/disable direct PgSQL MVT 2017-09-28 12:08:22 +02:00
server.js Merge branch 'master' into stats-middleware 2017-10-16 15:06:20 +02:00