JVCL Help:TJvPalette.AutoCreate

From Project JEDI Wiki
Jump to navigationJump to search
JEDI Visual Component Library Help

Search in JVCL Help

 
Search in all projects
 

Summary

Automatically create the best palette.


Pascal

 functionAutoCreate(nbFrames: Integer; nbColors: TJvPaletteNbColors): Boolean;


Parameters

Parameters Description
nbFrames: Integer The number of frames to consider for the creation of the palette.
nbColors: TJvPaletteNbColors The maximum number of colors the palette can contain.


Return Value

True if the palette was successfully created


Description

The best possible palette will be created for a maximum number of nbColors. It will be computed from the first nbFrames frames in the video stream.


See Also

TJvPalette.Load, TJvPalette.ManuallyCreate, TJvPalette.PasteFromClipboard


About

Contribute to this help topic

This documentation wiki is based on the collaborative effort of Project JEDI users. Your edits are welcome in order to improve documentation quality: edit this page