Initializing... drag & drop files here
Supports: NEF
You have a Nikon NEF raw photo and you need a Windows icon or a favicon.ico out of it. The whole job comes down to one number: an ICO directory entry stores each dimension in a single byte, so 256 pixels is the practical ceiling for an icon — and a recent Nikon frame is roughly 20 to 45 megapixels. This tutorial covers how the preset list actually works on this page (it sets height, not a square), which presets stay legal for a landscape photo, and what to do about the fact that a 3:2 camera frame is not the square shape an icon slot wants.
.nef onto the page or click "+ Add Files" to browse. Several Nikon frames can be queued and they share the same settings..ico. Files upload over an encrypted connection, are processed on our servers and are deleted automatically after a few hours. No sign-up, no watermark.Nikon DSLR and Z-series bodies shoot 3:2 by default, so a landscape frame is 1.5 times as wide as it is tall. The preset sets the height and the width is derived from that ratio, which means the widths climb fast. This matters because of how an ICO file describes itself: Microsoft's ICONDIRENTRY structure gives each image a BYTE bWidth and a BYTE bHeight — one byte each. A single byte cannot hold 288 or 384.
Here is what each preset produces from a 3:2 landscape Nikon frame, and whether the directory can honestly declare it:
| Preset | Output from a 3:2 NEF | Directory entry |
|---|---|---|
| 256P | 384 x 256 | Width does not fit a byte — avoid |
| 192P | 288 x 192 | Width does not fit a byte — avoid |
| 180P | 270 x 180 | Width does not fit a byte — avoid |
| 128P | 192 x 128 | Declared correctly |
| 64P | 96 x 64 | Declared correctly |
| 48P | 72 x 48 | Declared correctly |
| 32P | 48 x 32 | Declared correctly |
| 24P | 36 x 24 | Declared correctly |
| 16P | 24 x 16 | Declared correctly |
In our testing, a 3:2 landscape frame at the 192P preset came out 288 x 192 and the directory recorded its width as 32, because 288 wraps around inside a one-byte field. The picture inside the file is still 288 pixels wide, but any reader that trusts the directory — which is what the directory is for — now has the wrong number. 128P is the largest preset that stays consistent for a landscape 3:2 NEF.
A portrait-orientation NEF is the easy case, because the preset then sets the longer side and the derived width comes out smaller. In our testing a 2:3 portrait frame at 256P produced 171 x 256 and the directory declared it correctly. So the real rule is about width: whatever width the preset derives has to land at 256 or below.
Once you know the shape rule, picking a preset is just a question of where the icon is going to be used:
| Where the icon lands | Target size | Preset to pick | Note |
|---|---|---|---|
| Browser tab / bookmark favicon | 16 x 16 | 16P | The size a favicon.ico is most often rendered at |
| Sharper favicon and OS shortcuts | 32 x 32 | 32P | Second most requested favicon size |
| Windows taskbar and desktop shortcuts | 48 x 48 | 48P | The classic Windows shell icon size |
| Larger shell and dialog icons | 64 x 64 | 64P | Still comfortably inside the byte limit |
| Largest safe size for a 3:2 photo | 192 x 128 | 128P | Highest preset whose declared width stays correct |
| Full 256-pixel icon | 256 x 256 | Not reachable from a 3:2 landscape | Crop the NEF square first, or start from a portrait frame |
The clean way out is to make the source square before it reaches the icon step, which is what the next section covers.
.nef directly, then convert the square result.If the goal is a favicon or an app icon that looks deliberate, a camera raw is the wrong starting point regardless of which converter you use. Icons are drawn artwork: flat shapes, few colours, heavy contrast, designed to survive being 16 pixels tall. Start from a logo or a mark exported as a square PNG and run PNG to ICO instead — every step of that path is under your control. Use this NEF route when the icon genuinely has to be a photograph: a product shot for a desktop shortcut, a portrait for a profile-style icon, a plate for an internal tool. And if you simply wanted the photo out of raw and never needed an icon at all, NEF to JPG gives you the full-resolution picture, with the other targets listed on the NEF converter page.
Because of the directory at the front of the file. Microsoft's ICONDIRENTRY structure stores an image's width and height as one byte each, so the largest value the entry can carry is 255, with 0 used by convention to mean 256. That is why every icon toolchain treats 256 x 256 as the maximum and why this converter clamps any larger request down to 256 before writing the file.
16 x 16 and 32 x 32 cover browser tabs and bookmarks; 48 x 48 is the size Windows reaches for on the taskbar and for shortcuts. Those map to the 16P, 32P and 48P presets here. Run the conversion once per size if you want separate files. If you need all of them packed into one multi-size .ico, prepare a square PNG first and use PNG to ICO.
No — and this is the single most common misunderstanding about this page. The preset sets the output height and the width is calculated from your photo's aspect ratio. Nothing is cropped and no padding bars are added. If you want a square icon you have to square the source yourself, which the image cropper will do to a .nef before you convert.
Because 256P is a height instruction and a 3:2 Nikon frame is 1.5 times wider than it is tall: 256 x 1.5 = 384. The clamp in the converter caps requested dimensions at 256, but the derived width still follows the photo's shape. That is exactly why 128P — which lands at 192 x 128 — is the largest preset worth using on an unmodified landscape NEF.
No, and no icon format can. Recent Nikon bodies record roughly 20 to 45 megapixels; a 256 x 256 icon holds 65,536 pixels. Even the largest legal icon discards well over 99 percent of the frame. If the resolution is what you actually want, keep the raw file or export a full-size still with NEF to PNG.
The icon is written at conventional icon colour depth, not the 12-bit or 14-bit per channel data a Nikon raw file carries. Nikon stores that extra depth so the file can be re-developed later; an icon has no use for it and no way to store it. Everything the raw format exists to preserve — highlight latitude, editable white balance, tone instruction sets — is resolved into fixed pixels during the render.
Simplicity and contrast, not megapixels. A single object on a plain background, a logo, or a tight head-and-shoulders crop stays recognisable at 32 pixels; a landscape, an interior, or anything with small text does not. Because there is no setting that adds detail back after the downscale, the outcome is decided almost entirely by which frame you choose and how tightly it is cropped before you upload it.
Your file is uploaded over an encrypted connection, decoded and packaged into ICO on our servers, and deleted automatically after a few hours — no sign-up, no watermark, never shared or made public. Nikon raw files are large, so upload time is usually the slowest part of the job; exporting or cropping a smaller copy first makes the round trip noticeably quicker.