Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Test mapnik rendering backend #16

Open
brendan-ward opened this issue Aug 29, 2015 · 1 comment
Open

Test mapnik rendering backend #16

brendan-ward opened this issue Aug 29, 2015 · 1 comment

Comments

@brendan-ward
Copy link
Collaborator

As an alternative to Pillow.

Looks like we can feed in image data directly from python

In particular, we could leverage mapnik's png output options to also use lossy compression for smaller rendered images instead of relying on something like pngquant.

Downsides may be an increased dependency surface. Will need to benchmark performance, flexibility, and size of output files to see if it is worth it.

@brendan-ward
Copy link
Collaborator Author

There may also be some wins around using the antialiasing characteristics of mapnik to render features to a grayscale mask, then treat that as an approximation of weights for weighted pixel statistics.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant