Files
esp32-cam-webserver/favicon
Owen Carter bab559b27d Favicon (#30)
* New icons, correctly tinted and compressed
* Handle the new icon URI's in the main app.
* Remove the PROGMEM directives, they have no effect, and we have lots of storage.
* describe how I made the .ico file from the commandline
2020-09-10 04:26:34 +02:00
..
2020-09-10 04:26:34 +02:00
2020-09-10 04:26:34 +02:00
2020-09-10 04:26:34 +02:00
2020-09-10 04:26:34 +02:00
2020-09-10 04:26:34 +02:00

Favicons

Source: A logo I created from the espressif logo, using inkscape

logo image

The 16x16 and 32x32 png images were extracted from a Favicon Package

This package was generated with RealFaviconGenerator

A very handy site, dont forget to select compression options in the 'html5' section, they are in a hard to spot tab. Doing this reduced the .pngsizes by ~74% :-)

The favicon.ico itself came from the command line

The Imagemagick tool provides a simple image converter that can create .ico files from a source image in another format. I simply needed to use this on the 32x32 png icon to make a suitably high-definition icon file.

$ convert favicon-32x32.png favicon.ico

favicons.h

The icon files were packed into the favicons.h header using xxd -i <file> to generate the C compatible data structures, and then editing that with comments and adding PROGMEM directives to save on ram use. They should be stable and unlikely to change in the future.