Closed nicolus closed 5 years ago
Let's go for png
files then. Could you please change it so I can merge your work?
Make sure to be up to date with master
as I did some tweaks to fix a bug.
Thank you !
Hello, I took the liberty of doing it in the following commit: https://github.com/christopherkade/banner-generator/commit/3d76e812f99a7c29feddbbd327a5cb1cc816d5da.
The types allowed by toDataUrl are image/png and image/jpeg. Using image/jpg would make the browser fallback to image/png and result in a .jpg file that was actually a png.
That said, a png file is probably better in most cases, so we might be better off using image/png and renaming the file to banner.png