
version Output version information and exit. If PATH is '-', then all output will be printed to standard out. The default is to write the binary data to standard out (which icotool will refuse if In create mode, this option specified the name of the output file. The first image matched will be extracted to the file with that name. If PATH does not exist, it is assumed that it refers to a o, -output= PATH In extract mode, this option specifies a directory where extracted files are to be created. t, -alpha-threshold= LEVEL Specifies the maximal alpha level in the PNG image for portions which shall become transparent in the icon created. In create mode, this can be used to specify that a cursor (instead of an icon) cursor This option specifies that only cursor files are to be listed or extracted. In create mode, this option can be used to specify that an icon (instead of aĬursor) is to be created. This option specifies that only icon files are to be listed or extracted. In create mode, this can be used to specify the hotspot y-coordinate. This option only has effect on cursor files. Y, -hotspot-y= COORD Similar to -index, but this option allows the y-coordinate of the hotspot to be matched. In create mode, this can be used to specify the hotspot x-coordinate. X, -hotspot-x= COORD Similar to -index, but this option allows the x-coordinate of the hotspot to be matched. Images with 24 or 32 bits in icon/cursor filesĭo not have a palette, and will therefore have a palette size equal to 0. p, -palette-size= PIXELS Similar to -index, but this option allows the number of colors in the image palette to be matched instead. In create mode, this option will allow you to specify a minimum bit depth for images in the icon file. b, -bit-depth= COUNT Similar to -index, but this option allows the number of bits per pixel in the image to be matched instead. This option has no effect in create mode. h, -height= PIXELS Similar to -index, but this option allows the image height to be matched instead. w, -width= PIXELS Similar to -index, but this option allows the image width to be matched instead. i, -index= N When listing or extracing files, this options tell icotool to list or extract only the N'th image in each file. Necessarily mean that the same palette will be used in the created icon/cursor file.) (If the PNG image has an indexed palette, it doesn't

The number ofīits per pixel used in the icon/cursor file will depend on the number of colors used in the PNG file. c, -create This options tells icotool to create an icon/cursor file using all the PNG files given on the command line, in the order they were specified. The output will look something like this: l, -list This options tells icotool that images in all given icon/cursor files are to be listed. Filter options (see below) can be used toĬontrol what images that will be extracted. x, -extract This option tells icotool that images from all icon/cursor files given on the command line are to be extracted.

These programs follow the usual GNU command line syntax, with long options starting with two dashes ('-'). ico files and use them for site logotypes.Īs each icon or cursor file may contains multiple images of different dimensions and depth, a conversion may result in multiple PNG files being created.Ĭorrespondingly, multiple PNG files can be specified when creating an icon/cursor file. Like Galeon have copied this behaviour and now also fetches. (This file is placed in the web site's root directory, like any other file.) Browsers

The images in this file to represent the site in menus and site lists. The browser fetches a file called favicon.ico from a web site, and uses Recent versions of Microsoft's Internet Explorer use icons for small site logotypes. Cursor files differ from icon files in that they also contain information about the hotspot of each image. Each icons or cursors file may contain multiple images of various resolutionsĪnd with different number of colors. Icon and cursor files are used mainly on the Microsoft Windows(R) platform. At the moment icons can only be created from and extracted into PNG The icotool program converts and creates icon (.ico) and cursor (.cur) files.
Make ico from png manual#
This manual page document describes the icotool command.
