I loaded one image into Imageenvect1 and changed the channel offset of Imageenvect1, such as set the red channel to 0 using the following codes: ImageEnVect1.IEBitmap.ChannelOffset[0] := 0;
Then I saved the image using the following codes: imageenvect1.IO.SaveToFile('d:\1.jpg' ); While I found the saved image (1.jpg) still keep the red channel.
Then I tried the following code which still didn't work. imageenvect1.IEBitmap.CopyToTBitmap(imageenvect2.Bitmap); imageenvect2.IO.SaveToFile('d:\1.jpg' )
Could somebody tell me how to save an image with changed channel offset?