// Show the palette of the file "myfile.gif" var palDlg : TImageEnPaletteDialog; begin ImageEnView1.IO.LoadFromFile('C:\myfile.gif'); palDlg := TImageEnPaletteDialog.Create(self); palDlg.SetPalette(ImageEnView1.IO.Params.ColorMap^, ImageEnView1.IO.Params.ColorMapCount); palDlg.Execute; palDlg.Free(); end;
// Show the palette of the file "myfile.gif" ImageEnView1.IO.LoadFromFile('C:\myfile.gif'); IEPromptForColor( aColor, ImageEnView1.IO.Params.ColorMap^, ImageEnView1.IO.Params.ColorMapCount );