Description: |
A utility script to take the foremost image and dump the pixel values into a text window in a format where the image can be used in a dialog - to create a button icon. RGB and Greyscale and RGB images are automatically transformed into files with the appropriate format.
To create an image suitable for a button icon, either create an image of the requisite size (eg 32 x 32 pixels) and hand draw in the graphic using a program like graphic converter. Alternatively, use an image, and simply scale it down to the button size (eg 32 x 32 pixels) using the resizing option in Graphic Converter.
known issues: The script uses pixel by pixel operations and so is very slow for images >40 x 40 - it's 3x slower for RGB images. |