ASP Painter
Home
Home
Samples
Samples
Purchase
Purchase
Download
Download
Documentation
Documentation


ASPPainter SetSaveAsPalette

SetSaveAsPalette Statement:

Save current image in Palette format (PNG,TIFF, BMP). GIF image is a palette one by default

Object.SetSaveAsPalette isPalette

Parameters:

isPalette-has integer type. Possible values: [0-1].

Sample:
object.SetSaveAsPalette 0

This method saves an image in palette mode. It can be used for BMP, PNG and TIFF images due to image format limitations. Images with a palette have a smaller size, but you may lose information when converting a true color image to the image with a palette.
See also

SetSaveAsPaletteLoadFile, SaveToFile, LoadStream, SaveToStream, LoadDatabase,SaveToVariant, SaveToDatabase, SetFormat

More samples:


Load file
Load BMP, Load GIF, Load Jpeg, Load PNG, Load Tiff 



home samples purchase documentation download