Differences
This shows you the differences between two versions of the page.
Both sides previous revision Previous revision Next revision | Previous revision | ||
development:webimages [2018/03/27 14:19] eServices Greece |
development:webimages [2020/06/25 16:41] (current) eServices Greece [Image Type Browser Support] |
||
---|---|---|---|
Line 9: | Line 9: | ||
* Never resize images in code. | * Never resize images in code. | ||
- | === Image File Size === | + | === Image Type Size === |
* Make sure your image is as small as possible | * Make sure your image is as small as possible | ||
* Compress your images using the most compressible image type, jpg is preferable if no transparency is required. | * Compress your images using the most compressible image type, jpg is preferable if no transparency is required. | ||
< | < | ||
- | ^ File Type ^ Transparency ^ Animation ^ Size ^ Quality ^ Compressions Type ^ Chrome ^ Firefox ^ Edge ^ Safari | + | ^ File Type ^ Transparency ^ Animation ^ Size ^ Quality ^ Compressions Type ^ |
- | | JPG | <wrap em> | + | | JPG | <wrap em> |
- | | PNG | Yes | <wrap em> | + | | PNG | Yes | <wrap em> |
- | | APNG | Yes | Yes | Medium-Big | Very Good | Lossless | + | | APNG | Yes | Yes | Medium-Big | Very Good | Lossless | |
- | | GIF | Yes | Yes | Medium-Big | Bad | Lossless | + | | GIF | Yes | Yes | Medium-Big | Bad | Lossless | |
- | | Brotli | Yes | <wrap em> | + | | Brotli | Yes | <wrap em> |
- | | SVG | Yes | Yes | Very Small | Perfect | Lossless | + | | SVG | Yes | Yes | Very Small | Perfect | Lossless | |
- | | WebP | Yes | Yes | Very Small | Very Good | Lossless | + | | WebP | Yes | Yes | Very Small | Very Good | Lossless | |
</ | </ | ||
+ | |||
+ | === Image Type Browser Support === | ||
+ | < | ||
+ | ^ File Type ^ Edge^ Firefox ^ Chrome ^ Safari ^ Opera ^ iOS Safari ^ Opera Mini ^ Android Browser ^ Opera Mobile ^ Chrome for Android ^ Firefox for Android ^ Samsung Internet ^ | ||
+ | | JPG | Yes | Yes | Yes | Yes | Yes | Yes | Yes | Yes | Yes | Yes | Yes | Yes | | ||
+ | | PNG | Yes | Yes | Yes | Yes | Yes | Yes | Yes | Yes | Yes | Yes | Yes | Yes | | ||
+ | | APNG | Yes | Yes | Yes | Yes | Yes | Yes | <wrap em> | ||
+ | | GIF | Yes | Yes | Yes | Yes | Yes | Yes | Yes | Yes | Yes | Yes | Yes | Yes | | ||
+ | | Brotli | Yes | Yes | Yes | Yes | Yes | Yes | <wrap em> | ||
+ | | SVG | Yes | Yes | Yes | Yes | Yes | Yes | Yes | Yes | Yes | Yes | Yes | Yes | | ||
+ | | WebP | Yes | Yes | Yes | <wrap em> | ||
+ | </ | ||
+ | Note: Firefox will be supporting WebP in the near future (65+), Firefox for android will not yet | ||
==== Compression Tools ==== | ==== Compression Tools ==== | ||
< | < | ||
- | ^ Tool ^ Compression ^ Quality ^ | + | ^ Tool ^ Compression ^ Quality |
| **PNG** | | | | **PNG** | | | ||
- | | [[https:// | + | | [[https:// |
- | | [[http:// | + | | [[http:// |
- | | [[https:// | + | | [[https:// |
- | | [[https:// | + | | [[https:// |
- | | [[https:// | + | | [[https:// |
| **JPG** | | | | **JPG** | | | ||
- | | yum install jpegoptim | Very Good | Very Good | | + | | yum install jpegoptim | Very Good | Very Good | Local | |
- | | [[https:// | + | | [[https:// |
- | | [[https:// | + | | [[https:// |
| **SVG** | | | | **SVG** | | | ||
- | | esgtools | Very Good | Perfect | | + | | [[software:esgtools|esgtools]] |
</ | </ |