Short descriptionMost popular image editors, such as Adobe Photoshop, oriented to save images into .GIF format, and it can be bothering to convert them into ICO files each time when you have changed the original image. Using this utility you can easily automate this process of converting BMP or GIF files into ICO files. MakeIcon is a command line utility for Windows 98/2000/XP, that converts images in .GIF, .BMP and also .ICO file formats into Windows icons with desired number of bits per pixel: 1, 4, 8, 16, 24, 32 bits supported. You can use arguments on command line to specify desired number of bits per pixel and a transparency color number for destination icon file. cool: Additional and very special option of our program is the ability to convert images into C/C++ text mode data, consisting of two values: character index (1..255) and color index (0..255). These data images can be drawn by WriteConsoleOutput function from Windows API. See the source code example and the sample image. Download files
Command line usageSyntax: makeicon.exe [-flags] source.BMP|GIF|ICO [destination.ICO|SCR] Arguments: -bits=(1|4|8|16|24|32) - number of bits per pixel in resulting image -transparent[=hex] - color to use for mask generation -format[=.ICO|SCR] - output file format; icon or C/C++ source -preview - preview resulting image in text-mode -logo - show logo image in text-mode Comments: When destination directory is not specified, startup will be used. Using text-mode imagesThe program can be used to generate text-mode images for both: 80x25 and 80x50 character modes. To generate such an image you must specify option "format=.scr" on the command line.
The program then generates the output image in .SCR format which is the source file
in C/C++ language. This file than can be included by Here is an example of how to draw a centered text-mode image:
Text-mode image in the C/C++ data formatHere is a short example of a text-mode image in the .SCR format compatible with C/C++ languages. It is generated from input images, and can be included into your source file to be drawn by the function like the one above.
Here is an example of a text-mode image that was drawn from .SCR file. Note that the vertical resolution of the image is equal to doubled number of character rows supported by the current text mode.
This text-mode image was generated from
the following .GIF file: | |||||||||||||||||||||||||||||||||||
|
Copyright (c) Sapunov Vladimir 2006. All rights reserved. E-Mail: makeicon@fyzor.com | |||||||||||||||||||||||||||||||||||