-
Notifications
You must be signed in to change notification settings - Fork 193
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
Configurable ImageIO output format #318
Configurable ImageIO output format #318
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Flawfinder found more than 10 potential problems in the proposed changes. Check the Files changed tab for more details.
Alright @motiejus, let me know if this works for you. Thanks! |
It works wonderfully! I use renderd with go_tile, PR there for webp: nielsole/go_tile#13 |
Note the footgun described in nielsole/go_tile#13 (comment) : it will return only the image that has been configured. I will use both webp and png256, but these will be under different renderd maps. It would be useful to document it. Ah, it is documented and is status quo already. Nevermind! |
…string. For instance: TYPE=png image/png TYPE=png image/png png256 TYPE=png image/png png24 TYPE=png image/png png
Added documentation for output format.
5d7cfd1
to
517aab3
Compare
Replaces #191 (thanks @timautin!) as it has been inactive for @ 2.3 years:
Also added additional tests for various image output formats:
TYPE=jpg image/jpeg jpeg
TYPE=png image/png png256
TYPE=png image/png png32
TYPE=webp image/webp webp
Closes #64
Closes #301