Closed remcotolsma closed 11 months ago
@remcotolsma Onderstaande is niet helemaal waar:
SVG images have much smaller file sizes than PNG images. This can improve the loading speed of your website.
Wat ChatGPT 🤓 er over zegt:
In summary, SVG is often smaller than PNG for simple graphics and logos, but it's not a strict rule. For complex images or images with specific requirements (e.g., high-resolution, detailed textures), a PNG file may be smaller or more appropriate. The choice between SVG and PNG should be based on the specific needs of your project and the characteristics of the image you're working with.
Zie bijvoorbeeld dit voorbeeld:
PNG (8kb)
SVG (29kb)
Desalniettemin ben ik wel een voorstander van het gebruik van SVG's!
SVG (29kb)
Inefficiënte SVG; zelfde afbeelding kan ook wel de helft kleiner (15 kb) 😉
I suggest removing the PNG images in this library as much as possible, because of the following arguments: