Jump to content

How to do correct and quick copy


vlkc

Recommended Posts

hello,

 

Can you help with this: 

 

This does not work at all:

 BitBlt(UniCanvas1.Handle, 0, 0, FrameBitmap.Width, FrameBitmap.Height, FrameBitmap.Canvas.Handle, 10, 10, SRCCOPY);

this - uses too many memory and processor on  unitimer:

UniCanvas1.Bitmap.Assign (FrameBitmap); 

This flickers:

UniImage1.Picture.Bitmap.Width := FrameBitmap.Width;
UniImage1.Picture.Bitmap.Height:= FrameBitmap.Height;
UniImage1.Picture.Bitmap.Canvas.Draw(0,0,FrameBitmap);

How to do correct copy of bitmap to client screen?

 

Thank you.

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...