Quick Any2Ico is a free portable application that creates high quality icon files from any file, folder or resource.
It can also add or remove image formats from icon files, save the extracted icons in the PNG format and much more. For more information, please see our help content.
Current version: 220.127.116.11
By downloading and using this program, you declare to have read and agree with the End User License Agreement for our software.
Quick Any2Ico is free software, currently only supported by donations.
If you like this program and want to support its future development, you can donate by clicking the button below. Thanks in advance. Any amount is appreciated.
Help content index:
Selecting the source file
In order to choose the source file, you need to select the conversion mode. Quick Any2Ico supports two modes: Convert from any file or folder, and Extract from binary file resource.
If you want to convert a picture to an icon or extract the icon associated with a file object (a file folder, for instance) use the former, which is selected by default. If you want to extract the icon from the resource of a binary file, such an executable file, a DLL, an animated cursor, or an existing icon file, select Extract from binary file resource.
The easiest way to select the source file is to drag it to the input box in the Select source group. Using this method, Quick Any2Ico will automatically select the conversion mode based on the dropped file.
You can also press the browse button, in the Select source group. The behaviour of this button will depend on the selected conversion mode.
If Convert from any file or folder is selected, it will open the shell's browse for file dialog, allowing you to browse to the folder containing the image you want to convert, select the desired file and open it.
If Extract from binary file resource is selected, it will open the pick icon dialog, allowing you to select an icon from the resource of the file. The Icon index input specifies the zero based index of the icon within the binary resource.
Note: If you want to extract the icon associated with a file folder, you will need to drag it to the input box, or manually enter its path, because using the Browse button will not allow you to select folders.
After selecting the source file, you are ready to select the destination file.
Selecting the destination file
If you selected the source file by drag and drop, The destination file input will be automatically set wilth the same path and file name as the source file, but with an ICO or PNG file extension, depending on whether Save as PNG instead of ICO is checked or not.
You can set the destination file by either dragging a file to the input box, pressing the Browse button, in the same group, or manually entering the path of the ICO/PNG file to be created.
Quick Any2Ico allows you to save the file in the PNG format instead of the ICO format. This can be useful, for instance to extract an icon from an executable file or a DLL and save it in the PNG format.
If you wish to save in the PNG file format, check Save as PNG instead of ICO.
Selecting the embedded image formats
Icon files can have more than one image embedded.
Quick Any2Ico allows you to create icons with up to 10 image formats: 16x16, 24x24, 32x32, 48x48, 64x64, 72x72, 96x96, 128x128, 256x256 and 512x512. Each format defines the width and height of the image, in pixels.
Select the checkboxes corresponding to the formats you want to embed in your icon. You need to select at least one format.
If you are saving as PNG instead of ICO, you only need to select one format. In this case, if you select several formats, the largest selected format will be used.
Enabling the PNG compression
Starting with Windows Vista, the images contained in icon files can have png compression. In order to keep compatibility with Windows xp, Quick Any2Ico only compresses large formats: 128x128, 256x256 and 512x512.
Even if your icon files are destined to Windows xp, you can PNG compress these formats. It will not affect the ability of Windows to display your icons.
PNG compressed icon files use much less disk space. While a 256x256 uncompressed icon uses 300 KB of HDD space, the same icon will normally use less than 100 KB if it is PNG compressed. The image quality will be fully preserved.
If you do not want to use PNG compression, uncheck PNG compress large formats.
This option has no effect if you're saving the icon as a PNG file instead of ICO.
Selecting the image adjustment options
The images contained in icon files are normally squared.
When converting from an image file (jpg, bmp, png, gif, tiff, etc), and the source image is not squared (i.e the width is greater than the height), you can modify the way Quick Any2Ico saves the picture inside the icon's square.
By default, the picture will be centered inside the square. If you want it to be cropped to fill the whole square, select the Crop radio button. Otherwise, if you want it to be stretched to to fill the square, select the Stretch radio button.
The picture below shows the results of the different adjustment optons for two non squared pictures:
Note: When using the Center option, the empty areas will be transparent.
Saving the file
After selecting the source and destination files, and the desired options and formats, you're ready to create your ICO or PNG file.
To do so, just press the Convert it! button. The text of this button may also be Extract it!, if Extract from binary file resource is selected.
The result of the conversion/extraction will be displayed in a text label just below this button.
Command line reference
Quick Any2Ico can be used to create ICO/PNG files from the command line or a batch script. The supported command line switches are:
Quick_Any2Ico.exe "-img=Source image" "-icon=Dest. icon/png" -formats=IconFormats -pngc -crop -stretch
Quick_Any2Ico.exe "-res=Resource file" "-icon=Dest. icon/png" -formats=IconFormats -pngc -crop -stretch
"-img=Source image" : This switch specifies the image file to convert. If the image file path or name has white spaces, you must enclose the entire switch with double quotes. Example: "-img=C:\My picture.png" or -img=C:\MyPic.png.
"-icon=Dest. icon/png" : This switch specifies the destination ICO or PNG file. If the icon file path or name has white spaces, you must enclose the entire switch with double quotes. Example: "-icon=C:\My icon.ico" or -icon=C:\MyIcon.png.
-formats=IconFormats : (Optional) This switch specifies the image fomats for the icon file. Several formats must be coma separated and there must be no white spaces between the characters. Valid values are 16,24,32,48,64,72,96,128,256,512. If this parameter is not specified, the default sizes are applied: 16,32,48,256.
-pngc : (Optional) This switch specifies that large formats should be PNG compressed. Not valid fot PNG destination files.
-crop : (Optional) This switch specifies that if the source image is not squared, it should be cropped to fill the icon's square.
-stretch : (Optional) This switch specifies that if the source image is not squared, it should be stretched to fill the icon's square.
If neither -crop or -stretch are specified, the image is centered.
"-res=Resource file" : This switch specifies the resource file that contains the icon to be extracted. If the resource file path or name has white spaces, you must enclose the entire switch with double quotes. To specify the index of the icon to be extracted, append a coma and the zero based index of the icon. Example: -res=Shell32.dll,17 or "-res=C:\My program.exe,2".
Obviously you can't specify both "-img=Source image" and "-res=Resource file". If you do, "-res=Resource file" will be used.
The quick examples below will hopefully ilustrate more accurately how the command line switches work.
The command below will extract the 15th icon from shell32.dll with PNG compression and the formats 32x32, 48x48 and 256x256.
Quick_Any2Ico.exe -res=Shell32.dll,14 -icon=Shell32.ico -formats=32,48,256 -pngc
The command below will convert the C:\My image.png picture to C:\My Icon.ico with the default formats and crop it to fit the icon's square.
Quick_Any2Ico.exe "-img=C:\My image.png" "icon=C:\My Icon.ico" -crop
What's new in this version:
You can use the code below to create a batch file that extracts all the icons from a binary file to a specific folder with PNG compression.
In this case, it will create a folder in your desktop named QI2 Icons, and extract all icons from imageres.dll to that location.
if not exist Quick_Any2Ico.exe exit
set iconfolder=%userprofile%\Desktop\QI2 Icons
echo Extracting icons, please wait...
if not exist "%iconfolder%" md "%iconfolder%"
for /l %%i in (1,1,%maxicons%) do (
Quick_Any2Ico.exe "-res=%sourcefile%,%%i" "-icon=%iconfolder%\icon%%i.%ftype%" -formats=%formats% -pngc
The script can be easily adapted to your needs by modifying a few lines:
In the line set sourcefile=imageres.dll, replace imageres.dll with the full path of the file you want to extract the icons from.
In the line set iconfolder=%userprofile%\Desktop\QI2 Icons, replace %userprofile%\Desktop\QI2 Icons with the full path of the folder where you want your icons to be saved.
In the line set maxicons=250, replace 250 with the with the maximum number of icons you want to extract from the file. You don't have to worry if the file has less icons than the number specified.
In the line set ftype=ico, if you want to save the icons as PNG files instead of ICO, replace ico with png.
In the line set formats=16,32,48,256, replace 16,32,48,256 with the desired formats. If you're saving as PNG, you only need to specify one format.
Don't use double-quotes for any of the commands above! If the destination folder does not exist, the batch automatically creates it.
Important: Place the batch script in the same folder where Quick Any2Ico resides, then double-click the batch file.
Quick Any2Ico can extract the icon associated with any file system object, such as a file folder, a shortcut or pdf document!
Try dragging it to the Quick Any2Ico's icon!
More cool tips will be added soon. Enjoy!
Copyright Carifred © 2010 - 2016, all rights reserved.