Documentation
Learn how AnyIcon generates icons client-side without compromising file security.
Introduction & Philosophy
AnyIcon was created by **Lessmanual Technologies** as a developer utility to address the friction of sizing icons. Most online icon generators require you to upload proprietary graphic assets to their remote web servers. This is slow, raises compliance/privacy concerns for enterprise teams, and often hides features behind subscriptions or ads.
**AnyIcon operates under a strict serverless, client-side paradigm:**
- **No Backend Servers:** All graphics processing happens directly inside the client's browser using the HTML5 Canvas API.
- **No Logins or Audits:** There are no credit cards, subscriptions, sign-ups, or trackers.
- **100% Private:** Your files never leave your device. The generated zip bundle is prepared locally and downloaded directly.
Getting Started
To generate a set of platform-compliant icons, follow these three simple steps:
Upload the Source Asset
Drag and drop your graphic into the upload container. PNG, SVG, JPG, or WEBP formats are accepted. We recommend using a square **1024×1024 pixel** image for the highest fidelity.
Choose the Destination Spec
Select between three platforms: **Web** (favicons, manifests, OpenGraph metadata), **Windows** (UWP, Store, Classic ICO), or **All Platforms** (Web, Windows, macOS, iOS, Android, Linux, Electron).
Generate and Download ZIP
Click **Generate & Download**. You will see the local compilation progress bar complete, and a finalized ZIP bundle will download automatically to your browser.
Target Spec Configurations
Each platform preset outputs a structured package inside the downloaded archive:
Web Suite (30 Icons)
Outputs classic PNG favicons, Multi-size 16/32/48 ICO files, modern PWA manifest icons up to 512×512, Apple Touch shortcuts, and a letterboxed 1200×630 OpenGraph card.
Windows Presets (19 Icons)
Prepares Microsoft UWP assets, Windows Store logos, wide live tiles (letterboxed with white fills), and a multi-resolution `.ico` container supporting up to 256px.
Mobile & App (58 Icons)
Bundles all platform icons including macOS AppIcon sizes (Finder, Dock, Retina 2x), iOS AppIcons (2x, 3x, Store Listing), Android mipmap folders, Linux hicolor themes, and Electron icon packages.
How It Works Under the Hood
AnyIcon achieves fully serverless processing by utilizing the following browser APIs:
1. Offscreen Canvas Scaling
When a file is uploaded, the browser creates a local `Blob` URL and instantiates an `Image` object. For every output dimension, a separate HTML5 canvas element is created. The canvas rendering context scale methods are invoked, using bilinear interpolation to resize the source image to target dimensions.
2. Binary ICO Compilation
Favicon `.ico` files contain a header structures pointing to multiple bitmap directories. AnyIcon compiles this binary by rendering the icon sizes (16, 32, 48px) into PNG byte buffers (Uint8Array), calculates offsets manually using a JavaScript `DataView`, and compiles a standard `.ico` header completely client-side.
3. In-Memory Zip Compression
Once resizing completes, the binary buffers are structured inside folders and streamed to the `JSZip` library. The library compiles the zip structure in-memory and outputs a standard compressed `Blob` which triggers the browser's download stream.
Security, Audit, & Compliance
For compliance-focused environments (e.g. medical, governmental, or corporate graphic systems), AnyIcon provides a sandboxed security model:
- **No network request is ever dispatched:** You can open AnyIcon, turn off your internet connection, upload your logo, and generate your ZIP. Everything continues working perfectly offline.
- **MIT Licensed:** The codebase is fully transparent and open to audits. Review or fork the complete generator logic on our GitHub repository.