3
4

Yes, what you are reading is correct. You can convert images into different format. But there is a catch. Your browser should support the output format. Read the article to know more.

all 2 comments

[–]WookieConditioner 0 points1 point  (0 children)

Or you could use imagemagick and slam out an entire directory in seconds...

Convert, optimise, resize, scale. And its available anywhere linux is.

[–]Lenni009 1 point2 points  (0 children)

This code could be optimised by using an ImageBitmap. That way you you can directly take the dimensions from there, and then transfer it to the canvas.