I am trying to save html5 canvas data to server if I pass "image/jpeg" as the first argument in the toDataURL() method I lost the quality?
How can I keep the same quality on image png
I am trying to save html5 canvas data to server if I pass "image/jpeg" as the first argument in the toDataURL() method I lost the quality?
How can I keep the same quality on image png
Copyright © 2021 Jogjafile Inc.
To define your own image quality use:
toDataURL( type , quality );
MDN Docs :