bitblt Questions
0
Any ideas/workarounds on how to improve my BitBlt() reliability when running it in VMware? I have a timer that measures the time spent:
SmartTimer debugTimer = SmartTimer();
debugTimer.restart();
i...
3
1
I'm using BitBlt winapi function to take a screenshot of a given window, even if the window is partially overlapped.
I have everything working fine already, except that, on Windows 10, for some win...
Countermove asked 30/5, 2019 at 23:43
2
Solved
My program is taking screenshots of other application windows to automate some tasks on them. Those windows can be hidden offscreen or obscured by other windows from time to time.
To reduce clutte...
Freund asked 10/12, 2018 at 16:51
2
I wrote the following code (C++ Win32) to capture a game window screen and get pixel color array from the image. Function autoB() does the job.
Then I draw the result array into my window to visua...
2
Solved
I have been trying to look for an example of how to make a class/function that would attempt to read text from a the screen at specified coordinates.
Something simple that would use bitblt to capt...
1
i have a big problem with windows 10, normaly i used PIL (Python) to get a nice and clean screenshot from inside a program.
but with windows 10 this does not work anymore, now i become only everyt...
Sisak asked 27/6, 2017 at 7:6
1
using Visual Studio 2017, vc141, the following code should got a screenshot from front game window but now it return a black and blank image.
only issue with games(tried OpenGL and Vulkan, ogl ret...
0
I'm currently working on capturing window snapshots using GDI32.dll though I'm having an issue with Hardware Accelerated Windows that I was wondering if there was a way to circumvent.
I found thi...
1
2
Solved
2
I have written some c++ code to capture a window to a .bmp file.
BITMAPFILEHEADER get_bitmap_file_header(int width, int height)
{
BITMAPFILEHEADER hdr;
memset(&hdr, 0, sizeof(BITMAPFILEHEADE...
Prud asked 19/3, 2010 at 1:55
2
Solved
I'm trying to make an auto-cliker for an windows app. It works well, but it's incredibly slow!
I'm currently using the method "getPixel" which reloads an array everytime it's called.
Here is my cu...
2
Solved
I'd like to get more performance out of BitBlt for capturing the screen. When Aero remains enabled, capturing only a 400x400 pixel area of the screen reduces capture time from an average of 50ms (f...
Bub asked 22/8, 2011 at 22:56
2
I can't seem to get a definite answer to this via searching. Are the Win32 blitting operations hardware accelerated (GDI, not GDI+). I don't know how these functions interface with the graphics dri...
1
Solved
Is it possible to use BitBlt to copy directly out of a GDI+ bitmap without using GetHBitmap?
GetHBitmap is slow because it makes a new copy of the whole image, in addition to and slower than the B...
1
Solved
In my user control's paint handler I iterate over a collection of predefined Bitmap objects and draw them to the client area thusly:
C# version:
private void Control_Paint(object sender, PaintEve...
Drin asked 6/4, 2010 at 20:9
2
What is the recommended method of copying one QImage into another at a particular position in Qt4?
QImage::bitblt was removed in Qt4.
Does the QImage now need to be converted to a PixMap and back...
2
Solved
Does anyone know how I can use an HBITMAP variable to write a png or jpeg file?
I first looked into doing this with GDI+ but it gives me errors telling me min/max haven't been defined (defining th...
1
© 2022 - 2024 — McMap. All rights reserved.