Skip to main content
🇪🇸 Español 🇧🇷 Português 🇩🇪 Deutsch
Image Converter Video Converter Audio Converter Document Converter
Tools Guides Formats Pricing API
Log In
ICO vs PGM

ICO vs PGM

A detailed comparison of ICO Icon and PGM Grayscale Image — file size, quality, compatibility, and which format to choose for your workflow.

ICO

ICO Icon

Raster & Vector Images

ICO 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.

About ICO files
PGM

PGM Grayscale Image

Raster & Vector Images

PGM (Portable Graymap) stores grayscale images in a simple ASCII or binary format.

About PGM files

Strengths Comparison

ICO Strengths

  • 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 Strengths

  • 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.

Limitations

ICO Limitations

  • 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 Limitations

  • 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.

Technical Specifications

Specification 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

Typical File Sizes

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

Ready to convert?

Convert between ICO and PGM online, free, and without installing anything. Encrypted upload, automatic deletion after 60 minutes.

Frequently Asked Questions

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.

We use cookies and similar technologies to personalise content and ads, and to analyse traffic. Learn more about cookies.