CxImage TImage

Hi,
Is possible copy bitmap from TImage component do CxImage library and back?

For now working form CxImage to Timage only:

Image1->Picture->Bitmap->Handle = xImage->MakeBitmap();

TImage to0 CxImage i meaned like this:

MakeBitmap(Image1->Picture->Bitmap->Handle);
CreateFromHANDLE(Image1->Picture->Bitmap->Handle);
CreateFromHBitmap(Image1->Picture->Bitmap->Handle);

...but doesnt work.
I cant found information and examples.
I found function Draw2 with PaintBox but with Image doesnt work.

Please for help. Thank you.
Sign In or Register to comment.

Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!

Categories