Color table overflow when exporting to GIF
Posted: Tue Feb 01, 2005 5:18 pm
When I attempt to export a chart to GIF, I get "Color table overflow". Here is the code:
However, the same chart exports just fine when using TeeExport.
This happens in 32 and 24 bit screen resolution. With 16 bit screen resolution, both outputs are just fine.
The chart has a color grid series.
What should I set before SaveToFile in the above code?
Thanks,
Thomas
Code: Select all
with TGIFExportFormat.Create do
try
Panel := SomeChart;
SaveToFile('SomeFilename.gif');
finally
Free;
end;
This happens in 32 and 24 bit screen resolution. With 16 bit screen resolution, both outputs are just fine.
The chart has a color grid series.
What should I set before SaveToFile in the above code?
Thanks,
Thomas