ICO vs PGM
Um comparativo detalhado de ICO Icon e PGM Grayscale Image — tamanho de arquivo, qualidade, compatibilidade e qual escolher de acordo com seu fluxo de trabalho.
ICO Icon
Raster & Vector ImagesICO is the icon file format used for favicons and Windows application icons. A single ICO file can contain multiple image sizes and color depths for different display contexts.
Sobre os arquivos ICOPGM Grayscale Image
Raster & Vector ImagesPGM (Portable Graymap) stores grayscale images in a simple ASCII or binary format.
Sobre os arquivos PGMComparativo de vantagens
ICO Vantagens
- Multi-resolution: one file, many sizes, OS picks the right one.
- Universal favicon support in every browser since IE5.
- Supports transparency (1-bit since 1985, full alpha since XP).
- Tiny file size — an entire favicon pack typically fits in under 15 KB.
- No licensing or patent concerns — fully in the public domain spec-wise.
PGM Vantagens
- Trivially simple to parse and generate.
- Ideal Unix pipeline intermediate for grayscale processing.
- Preserves 16-bit depth for scientific and medical data.
- Universal tooling (Netpbm, ImageMagick, Tesseract).
- ASCII variant is human-readable.
Limitações
ICO Limitações
- Cannot compress continuous-tone images efficiently — use PNG or WebP for photos.
- Format is essentially frozen in 1999 — no HDR, no wide gamut, no modern features.
- Maximum image dimension is 256×256 px (inside an ICO container).
- Editing requires specialized tools — most image editors treat it as a curiosity.
PGM Limitações
- No compression — files balloon for large images.
- No metadata, no color profile.
- Grayscale only — drop to PBM for bitmap or up to PPM for color.
- Not a delivery format — strictly pipeline intermediate.
Especificações técnicas
| Especificação | ICO | PGM |
|---|---|---|
| MIME type | image/vnd.microsoft.icon | image/x-portable-graymap |
| Max resolutions per file | 65 535 images | — |
| Max single image size | 256×256 px | — |
| Color depths | 1, 4, 8, 24, 32 bits per pixel | — |
| Compression | Uncompressed bitmap or embedded PNG (Vista+) | — |
| Extension | — | .pgm |
| Variants | — | P2 (ASCII), P5 (binary) |
| Bit depth | — | 8-bit or 16-bit per pixel |
| Creator | — | Jef Poskanzer (1988), Netpbm toolkit |
Tamanhos típicos de arquivo
ICO
- Classic favicon (16×16 only) < 2 KB
- Multi-size favicon pack (16/32/48/256) 5-15 KB
- Full Windows app icon set 20-100 KB
PGM
- 1920×1080 grayscale 8-bit (binary P5) ~2 MB
- 1920×1080 grayscale 16-bit ~4 MB
- DICOM-equivalent medical slice 500 KB - 20 MB
Pronto para converter?
Converta entre ICO e PGM online, grátis e sem instalar nada. Upload criptografado, exclusão automática em 60 minutos.
Perguntas frequentes
ICO (Icon) is Microsoft's 1985 multi-resolution icon format, originally shipped with Windows 1.0. A single .ico file holds multiple sizes (16×16, 32×32, 48×48, 256×256) so the OS can pick the best one for the current display context. Since 1999, every website uses a favicon.ico to show its icon in browser tabs.
On Windows, ICO files open natively in File Explorer and Photos. On macOS, Preview handles basic display. For editing, use GIMP (free), Photoshop with a plugin, or dedicated icon editors like IcoFX.
Use the PNG-to-ICO converter on KaijuConverter — upload a PNG (ideally square, at least 256×256) and download a multi-resolution ICO with all standard favicon sizes embedded.
A complete favicon pack includes 16×16, 32×32, 48×48, and 256×256 px variants all in one ICO file. The total file size is typically 5-15 KB. Browsers automatically pick the right size for tabs, bookmarks, and desktop shortcuts.
ICO for /favicon.ico (every browser requests this URL automatically). PNG for everywhere else — social media profile images, in-page icons, app logos. Modern favicon best practice includes both an .ico at the root and multiple .png sizes referenced via <link> tags in HTML.
Yes. Every browser still requests /favicon.ico on every domain as its first icon fallback. Modern sites typically provide both favicon.ico and higher-quality SVG or PNG icons via <link rel="icon"> tags — browsers pick the best match.