Open furey opened 4 years ago
@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.
Thanks again.
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
—bothHTMLCanvasElement
methods that support additional mime type and quality arguments:Hope this is a feature you'll consider implementing!
Cheers!
🤓👍