

Step 3: Duplicate current layer by selecting the Layer menu and selecting Duplicate Layer. When you're done selecting, click on Image menu and select Crop to Selection. You can crop by using rectangle select tool (make sure you do a square selection by pressing shift while selecting). If the image you're stating with isn't square, you'll have to crop it before doing the scaling or it will look weird. Step 2: Resize picture to 256x256 (or 128x128 if you don't want to use 256) by clicking the Image menu and selecting Scale Image. make sure it's the only layer at the moment (delete any background layers if gimp made any). I usually do this by using Open With in windows on the png and selecting gimp. 256 is overkill but why not future proof your icon?


You want to have this diversity in sizes because you need to account for all the different zooms the user will have while browsing in explorer. Here's the layer layout I usually use 256px (optional), 128px, 96px, 64px, 48px, 40px,32px and 24px. When you finish each layer is going to be a different size in the finished icon. Your going to make an image with several layers. It should be at least 128pixels in size but 256+ would be better. You can use GIMP which is an open source alternative to Photoshop that can download for from the project's website. The disadvantage of using the sites it that you usually can't control the sizes the or image quality of the individual sizes within the icon. Yes you can use websites as some people are recommending in their answers but if you learn how to do it right, you can probably do it yourself in the same amount of time it takes to browse to the site, upload the file, wait in the queue and download it again. In case you missed it, simply use the slightly longer magick convert command rather than the standalone convert command. On Windows, you must check the (quite explicit) Install legacy utilities (e.g. Note that the standalone convert binary may not installed by default in recent versions. To pack several several of such png files in a final ico file, use: convert tmp/16.png tmp/32.png tmp/48.png tmp/128.png tmp/256.png icon.ico Here is a basic example exporting a svg file (the vector svg format is a good choice to generate consistent images of multiple size, like icons) to a png file in a temporary folder: convert icon.svg -scale 32 tmp/32.png Imagemagick contains several image handling utilities, is opensource, free to use, available on multiple platforms (Linux, Windows, Mac Os X, iOS) and can be batched easily for example in Continuous Integration pipelines. It provides image re-sizing to generate multiple size icons, and support various other image manipulation. The opensource imagemagick convert utility can pack multiple images into one single icon file.
