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
I was calling canvas.toDataURLWithMultiplier('jpg',4.0), which actually returns a png image. It took me quite a while to figure out what was going on, because some of the tools I use will open a png-named-as-jpg without complaint. Others, however, understandably claim that the file is corrupted.
This was my own fault, but maybe it would save others some time if "jpg" and "jpeg" were made synonymous for this purpose.
Thanks for the great package!
The text was updated successfully, but these errors were encountered:
I was calling canvas.toDataURLWithMultiplier('jpg',4.0), which actually returns a png image. It took me quite a while to figure out what was going on, because some of the tools I use will open a png-named-as-jpg without complaint. Others, however, understandably claim that the file is corrupted.
This was my own fault, but maybe it would save others some time if "jpg" and "jpeg" were made synonymous for this purpose.
Thanks for the great package!
The text was updated successfully, but these errors were encountered: