screenshot and CPU encumbrance / pfDevice and bmDIB
From: Christian Bode (kubopic_at_gmx.de)
Date: 12/29/03
- Next message: Rudi Loos: "Calculate field offset in a typed record"
- Previous message: Nicholas Sherlock: "Re: Define a property to pass an array"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Date: Mon, 29 Dec 2003 01:41:04 +0100
hi,
I will hope everybody know what i trying to say.
I've written a client/server administration tool und my question belongs to
the screen capturing. My problem is the CPU encumbrance. I take a screenshot
in a loop of a timer event.
If the bitmap has pfDevice as pixeformat it works fine. But has it something
like pf32Bit the bitmap first must convert into this and that take some time
and a lot of CPU encumbrance.
I need to use pf32Bit because the following scanline action. It only work
IMHO with a device independent bitmap format. I know already that i can
create a hook the get all changed window information, but the following
problem seems to be the same. A perfect screenshot capture. At the next step
i looking for the dirty rectangles in the bitmap, compress them an put them
in a stream. Than i transfer the stream over a existing tcp/ip connection.
That works already fine and relative fast, but i like to change capturing
method.
Can anybody help me, so far he know what i mean. I've unfortunately not
found many pages with this kind of topic.
Thx a lot Christian
- Next message: Rudi Loos: "Calculate field offset in a typed record"
- Previous message: Nicholas Sherlock: "Re: Define a property to pass an array"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]