Skip to content

leonardwoo/favicon-rs

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

40 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Favicon

"License" "Crates.io" "Crates.io"

Introduction

A favicon image generation tool.

Install

cargo install favicon-rs

Usage

favicon -i <image.png> [output_path]

HTML Favicon

<head>

<link rel="shortcut icon" type="image/x-icon" href="/favicon.ico" />
<!-- OR -->
<link rel="icon" type="image/x-icon" href="/favicon.ico" />

<link rel="icon" type="image/png" sizes="32x32" href="favicon-32x32.png" />
<link rel="icon" type="image/png" sizes="192x192" href="android-chrome-192x192.png" />
<link rel="icon" type="image/png" sizes="512x512" href="android-chrome-512x512.png" />
<link rel="apple-touch-icon" sizes="180x180" href="apple-touch-icon.png" />

</head>