Dokumentaro de Gambaso
Compilation & Installation
Components
Documents
Indekso de Lingvo
Language Overviews
LeguMin
Lexicon
Registro

Iconify, Load supported images and save as an Icon file

Choose Icon size from 16x16 to 128x128px
Stretch image to fit or crop modes.
Crop offset adjuster to move image cropping position.
Save as .ico .png or set your own extension.

Uses Image object to do all the .Stretch() (resizing) and .Copy() (crop) work.

Initially made as an example, fairly simple code, fully commented to explain procedures.
Note. added a .module MakeIcon.module that makes a desktop launcher or menu launcher but this module does not have many comments.

Author Bruce Steers
License GPL v2 or greater
URL http://bws.org.uk/Iconify.zip

screenshot