-
Notifications
You must be signed in to change notification settings - Fork 538
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
Quality parameter not working #129
Comments
@khawerrind in the Just a guess, but you might pass the |
@leviwilson this still does not work. I think this is just for thumbor but i am not using thumbor style mapping. |
@khawerrind I think what you want is #116 That allows for the |
All, FYSA we've added @leviwilson's PR (#117) as referenced in #116 to our review board and hope to have it tested and rolled out in the next minor release. Thanks! |
It would be nice to also add output settings to the demo. I know this wraps Sharp but I'm not confident how I interface with it from my request body, and what is/isn't supported. I'm just starting to dig in the source now and I noticed new concepts like const request = {
requestType: "default",
bucket: "sample-bucket",
key: "sample-image-001.jpg",
outputFormat: "png",
edits: {
grayscale: true,
flip: true
},
originalImage: new Buffer('iVBORw0KGgoAAAANSUhEUgAAAAEAAAABCAYAAAAfFcSJAAAADUlEQVR42mP8z8BQDwAEhQGAhKmMIQAAAABJRU5ErkJggg==', 'base64')
} |
We have updated our solution, and I believe your issue has been fixed. If you still see the issue with the latest version (v4.2), please feel free to reopen the issue. You can refer to the recent changes here |
I am trying to pass in the quality parameter for the
jpeg
image. However quality does not have any effect on the size of the image.I tried to change the quality to 40 but the size of the image is same as with quality 60 or even if there is no quality parameter. Am i missing something?
The text was updated successfully, but these errors were encountered: