bmpwrite.eh

A header for writing BMP image files More...

use "bmpwrite.eh"

Functions

def save_bmp(i: Image, indexed: Bool, pal: List, fname: String, display: Bool);

Description

Function details

def save_bmp(i: Image, indexed: Bool, pal: List, fname: String, display: Bool);
Will save a BMP file. i is an Image variable to be saved to the BMP. indexed is a Boolean variable. If true, will save an indexed BMP image, and will require that pal is a list of colors. pal is a List variable that is only needed when saving an indexed BMP. If indexed, it should contain a List containing Color variables, else could be anything. fname is a String containing the full path where to save the BMP file. display is a Boolean that will display a progress bar if true and will be silent when false.