Hi xequte, I think I'm getting closer. Now I'm changing Channels using this:
ImageEnView1.IEBitmap.ChannelOffset[0] := tbRed.position;
ImageEnView1.IEBitmap.ChannelOffset[1] := tbGreen.position;
ImageEnView1.IEBitmap.ChannelOffset[2] := tbBlue.position;
ImageEnView1.Update;
This updates the video preview in real time.
Now I want to create a thumbnail of the current frame. To do this I do:
x := ImageEnMView1.AppendImage;
ImageEnMView1.SetImage(x, ImageEnView1.Backbuffer);
This creates a thumbnail of ImageEnView1, BUT using the viewing size (stretched) and not the real captured size of the video.
If I change that code to this:
x := ImageEnMView1.AppendImage;
ImageEnMView1.SetIEBitmap(x, ImageEnView1.IEBitmap);
The stored thumbnail has the correct size, but does't preserve the channeloffsets.
Is there a way to copy the image without stretching it and also preserving the channel offsets?.