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


ASPPainter SetPalette

SetPalette Statement:

The new SetPalette method can save pallete GIF, PNG, BMP, TIFF images with improved quality, desired dithering levels, and quantity of colors.

Object.SetPalette quality, dithering, colors

Parametrs:

quality-has integer type. Possible values: (0,1). 0 - High quality, 1- default
dithering-has integer type. Possible values: (0,1).
colors -has integer type. Possible values: [2-256]. 

Sample: object.SetPalette 0, 0, 256


Original. (Jpeg)


SetPalette 0, 0, 4(Gif )

SetPalette 0, 0, 256  (Gif)

SetPalette 1, 0, 256  (Gif)

See also

SetPalette

More samples:




Copy Resize Merge Blend 
Cat, Copy, Copy, Copy with transparent, Files, Photo, Merge, Merge cat, Merge cat, Resize, Resize photo


Diagram
Chart, Pie

Effect
Gray

Fill
Fill

Get info
Get pixel


Thumbnail
Thumbnail

Transparent
Transparent

Variant
Variant



home samples purchase documentation download