hiSaveIconData
hiSaveIconData(l_hiIcon t_fileName[t_formatName]) =>t / nil
Description
Saves a loaded pixmap to a file in the specified format. This function accepts an hi pixmap description and converts it to any of the image formats supported by Qt; currently, these are: BMP, JPG, PNG, PPM, XBM, and XPM. However, PNG is the recommended format.
Arguments
|
The pixmap handle, which is the return value of |
|
Values Returned
Examples
Saves a loaded pixmap by the name legacy.png in the png format.
hiSaveIconData ( legacyPixmap "legacy.png" "png" )
Related Topics
Return to top