You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Would you consider adding mime type and quality parameters to your type() method?
.type(['objectURL','image/jpeg',0.95])
Looking at the repository source, I seed objectURL uses toBlob and base64 uses toDataURL鈥攂oth HTMLCanvasElement methods that support additional mime type and quality arguments:
@furey Thank you for your consideration and suggestion.
It sounds really good addition to the configuration.
As I don't have any written test for this small library and I also wanted to add some unit tests.
Therefore it may take a little while for me to add that feature.
You are more than welcome to make a pull request meanwhile and I can publish the update.
Hi! 馃憢
Thanks so much for your fantastic library!
Would you consider adding mime type and quality parameters to your
type()
method?Looking at the repository source, I seed
objectURL
usestoBlob
andbase64
usestoDataURL
鈥攂othHTMLCanvasElement
methods that support additional mime type and quality arguments:Hope this is a feature you'll consider implementing!
Cheers!
馃馃憤
The text was updated successfully, but these errors were encountered: