Document how to create an .ico file from a set of images using ImageMagick

I had to do this recently, and trying to use Visual Studio to create an .ico
file using my existing images was a nightmare. The various online converters
didn't do what I expected, either.

Change-Id: I3f001a006156545205a9cb9869321e9fb521d936
Reviewed-by: Simon Hausmann <simon.hausmann@qt.io>
Reviewed-by: Liang Qi <liang.qi@qt.io>
This commit is contained in:
Mitch Curtis 2018-10-08 10:32:30 +02:00
parent 22572163e4
commit 8a1e70b463
1 changed files with 8 additions and 0 deletions

View File

@ -52,6 +52,14 @@
to load your application into Visual C++; here we are only using to load your application into Visual C++; here we are only using
the icon editor.) the icon editor.)
Alternatively, an \c .ico file can be created from a set of images using
ImageMagick's \l {https://imagemagick.org/script/convert.php}{convert}
tool:
\badcode
magick.exe convert icon-16.png icon-32.png icon-256.png icon.ico
\endcode
Store the ICO file in your application's source code directory, Store the ICO file in your application's source code directory,
for example, with the name \c myappico.ico. for example, with the name \c myappico.ico.