Microsoft Paint can prepare the artwork, but it is not a dependable way to encode a proper ICO file. Use Paint to crop, resize and clean the image. Then pass the prepared PNG to software that explicitly exports Windows icons.

Changing photo.jpg to photo.ico does not convert the data. It leaves JPEG bytes inside a file with the wrong extension.

Why an ICO file is more than one renamed picture

A Windows icon can contain several versions of the same artwork. Windows chooses a size that fits the interface and display scale. Common application icon sizes include 16 by 16, 32 by 32, 48 by 48 and 256 by 256 pixels.

Microsoft's Windows icon guidance discusses these sizes and the need to inspect an icon in context. A single large picture can be scaled down, but tiny details and text often become unreadable at 16 pixels.

The Microsoft ICO format overview says Windows Imaging Component includes a native ICO decoder but no native ICO encoder. That is one reason a normal Paint save workflow should not be described as direct ICO export.

Start with better source artwork

JPG is a weak source for icons with sharp edges or transparent backgrounds. Its compression can leave halos around text and shapes, and it has no alpha transparency. Use the original SVG, PNG or layered design when you have it.

If JPG is the only source, choose the largest clean copy. Avoid enlarging a small thumbnail. Upscaling adds pixels but does not restore missing detail.

Prepare the image in Paint

  1. Duplicate the JPG so the source stays unchanged.
  2. Open the copy in Paint.
  3. Crop the image to a square around the main symbol.
  4. Remove fine details that disappear at small sizes.
  5. Resize a working copy to 256 by 256 pixels.
  6. Check that the symbol has room around its edges.
  7. Save the prepared artwork as PNG.
  8. Open that PNG in an icon editor or converter that lists ICO as an output format.

PNG is a better handoff because it can preserve sharp edges and transparency. If the JPG has a solid background, Paint may help you replace or clean it, but inspect the edge carefully. A rough cutout becomes obvious on a dark Windows theme.

Build the ICO with multiple sizes

A good icon encoder can place several raster images inside one ICO container. Include the sizes required by the destination. For a normal Windows app icon, 16, 32, 48 and 256 pixels are common starting points. Your framework or publishing platform may ask for a different set.

Do not create every small size by blind automatic scaling. Open the 16-pixel and 32-pixel versions. You may need thicker lines, fewer shapes or a simpler mark. This is called optical adjustment. It keeps the same identity while making the tiny version readable.

Microsoft notes that icon resources can contain more than one image in its ICON resource documentation.

Transparency and background checks

JPG cannot store transparency. If the source has a white box, that box will remain unless you remove it before ICO export. Use a real alpha channel when the icon should sit on different backgrounds.

Preview the result on white, black and the Windows accent colors you support. Check curved edges and corners at 100 percent zoom. A soft fringe often comes from pixels that were blended against the old JPG background.

Favicon and Windows icon needs differ

A website favicon can use ICO, PNG or SVG depending on the browser and markup. A Windows desktop application may require an ICO resource with several embedded sizes. Do not assume that one file prepared for a browser is ready for an executable.

For a favicon, keep the design simple and test it in an actual browser tab. For a Windows app, follow the framework's packaging rules and inspect Start, taskbar, Explorer and high-DPI views.

Do not put normal text inside a tiny icon

A word that looks clear in the JPG can turn into an unreadable stripe at 16 pixels. Use one letter only when it is central to the brand and remains distinct. Otherwise use a shape or mark, then let the application name provide the text beside it.

Check the icon at actual size, not only in a zoomed editor window. Zoom helps inspect pixels, but it does not show how quickly a person can recognize the mark in a busy taskbar or file list.

Check the finished ICO

  • The file opens as an icon, not as a renamed JPEG.
  • The encoder reports the expected embedded sizes.
  • The 16-pixel version remains recognizable.
  • Transparency works on light and dark backgrounds.
  • No JPG halo appears around the symbol.
  • The icon is centered with even visual spacing.
  • Windows or the target application displays the new file.
  • The original artwork and prepared PNG remain saved.

Common failures

ProblemCauseFix
Windows rejects the ICOThe file was renamed or encoded incorrectly.Use a real ICO encoder.
The icon looks blurryOnly one size exists or the source was too small.Add properly prepared sizes from a larger source.
A white square appearsThe JPG background was never made transparent.Prepare a transparent PNG before ICO export.
Tiny text disappearsThe design contains too much detail.Remove the text or draw a simpler small-size version.
The old icon still appearsWindows or the app may cache icons.Confirm the file first, then refresh the app or its documented cache process.

JPG to ICO questions

Can Paint save a JPG directly as ICO?

Do not rely on Paint for ICO encoding. Use it to prepare a PNG, then use software that explicitly exports ICO.

Can I rename .jpg to .ico?

No. The bytes remain JPEG and the file is not a valid ICO container.

Why include several sizes?

Windows can choose the closest image for each interface and display scale instead of resizing one copy every time.

What is the best source format?

Use original vector or transparent PNG artwork when available. JPG is a fallback source.

Does every ICO need 256 by 256 pixels?

Requirements depend on the destination. Modern Windows application icons commonly include a 256-pixel version plus smaller sizes.