Changing the ChannelOffset only affects the displayed image so when saving the file the ChannelOffset values are not saved. To save the ChannelOffset or "brightness" to an image saved to a file you must call FixChannelOffset before saving the image.
procedure TForm1.SaveAs1Click(Sender: TObject);
begin
if SavePictureDialog1.Execute then
begin
ImageEnView1.IEBitmap.FixChannelOffset();
ImageEnView1.IO.SaveToFile(SavePictureDialog1.FileName);
end;
end;
FixChannelOffset makes the ChannelOffset property permanent (applying specified offset). FixChannelOffset only works for ie24RGB, ie32RGB and ie48RGB pixel formats. The FixChannelOffset method resets ChannelOffset property values to zero.
Bill Miller
Adirondack Software & Graphics
Email: w2m@hughes.net
EBook: http://www.imageen.com/ebook/
Custom Commercial ImageEn Development