When should certain image file types be used when building websites or interfaces, etc?
What are their points of strength and weakness?
I know that PNG & GIF are lossless, while JPEG is lossy.
But what is the main difference …
As a general rule of thumb when is it appropriate to make a gif interlaced, a png interlaced and a jpeg progressive?
Especially when publishing the image on the web.
I want to set the quality factor when I encode a canvas element to jpg.
var data = myCanvas.toDataURL( "image/jpeg" );
It does not give me a quality option. Is there an alternative library I can use?
Related: what is …