I use this Proc method:
ImageEnView1.Proc.ConvertTo(ColorThresholds[i], ieOrdered);
With large images with a huge number of colors, this can take several seconds. Is it possible to update a ProgressBar showing the progress of Proc.ConvertTo?
I tested this one:
procedure TForm1.ImageEnView1Progress(Sender: TObject; per: Integer);
begin
case ImageEnView1.Proc.ProgressTask of
ietProcessing : CodeSite.Send('Processsing: ', per);
ietAnalysis : CodeSite.Send('Analyzing: ', per);
ietResampling : CodeSite.Send('Resizing: ', per);
ietRotating : CodeSite.Send('Rotating: ', per);
else CodeSite.Send('else: ', per); // Should not occur
end;
end;
But it returned only the else case!