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

jpeg generation #4

Open
briantjacobs opened this issue Nov 24, 2015 · 1 comment
Open

jpeg generation #4

briantjacobs opened this issue Nov 24, 2015 · 1 comment

Comments

@briantjacobs
Copy link

This script is great, but it's missing an option for setting the quality of jpeg that's being generated. Also unclear what quality is currently being used.

Also, when creating jpegs, I don't see an option to specify what color transparent edges will be rendered as (it defaults to black). My input data doesn't have any NODATA, but when tiling the edges of it, half-black tiles get rendered because it's rendering beyond my file.

@roblabs
Copy link

roblabs commented Jul 27, 2016

I agree that the jpeg quality is not one of the parameters. At first look, it isn't clear to me how to change or add that parameter.

But I did find this on the gdal.org site.

QUALITY=n: By default the quality flag is set to 75

Again, this issue or feature would be to add another parameter for quality. There is a section of code that checks for JPEG, and that may be the right place to add the quality parameter.

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

2 participants