-
Notifications
You must be signed in to change notification settings - Fork 166
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
renderFile format options #956
Comments
@jonshutt - your syntax looks fine to me ^ I'm not familiar with all |
@jonshutt - ok, I see what's wrong:
|
@artemp I just gave that go - but it still didn't seem to make any difference. I did however do a bit more reading, and changed from renderFile to the following, which worked fine and the file quality/size is definitely picking the different formatting options
|
Hi,
I'm rendering a bunch of files, but struggling with the format option
map.renderFile(filePath, { format: format }, (err) => { ... }
Eg, format =
webp:quality=90
outputs the same file sizes aswebp:quality=30
, andjpg
outputs the same asjpg30
asjpg90
.I'm referencing https://github.com/mapnik/mapnik/wiki/Image-IO to write the formatting options.
Is there something I'm missing?
The text was updated successfully, but these errors were encountered: