Skip to content

Instantly share code, notes, and snippets.

View dcryan's full-sized avatar
💾
Saving Progress...

Daniel Ryan dcryan

💾
Saving Progress...
View GitHub Profile
@dcryan
dcryan / favicon-generator.sh
Last active January 14, 2026 15:21
A bash script that uses FFMPEG to generate favicons in various sizes from a single PNG image, including .ico format for browser compatibility. It outputs the necessary HTML for easy embedding into your website.
#!/bin/bash
# Check if the input image is provided
if [ -z "$1" ]; then
echo "Usage: $0 path/to/image.png"
exit 1
fi
# Set input image path from argument
INPUT_IMAGE="$1"