Name
SaveIcon -- save icon to a file (V8.0)
Synopsis
SaveIcon(id, f$)
Function
This function saves the icon specified by id to the file specified by f$. The icon will be saved in Hollywood's custom icon format based on PNG.

Note that although Hollywood icons are normal PNG images, they contain additional metadata which is why you mustn't edit them with your favourite image manipulation tool because that might lead to the loss of said metadata. Hollywood icons should only ever be created by using the SaveIcon() function.

Also note that the icon specified in id mustn't contain any vector graphics. Hollywood icons only support raster graphics because they are based on PNG which is a raster graphics format. If you want to use vector graphics in an icon, you can create such icons using the CreateIcon() function and the @ICON preprocessor command.

Inputs
id
identifier of the icon to save
f$
destination file

Show TOC