This topic and its replies were posted before the current version of LEADTOOLS was released and may no longer be applicable.
#1
Posted
:
Saturday, February 14, 2009 3:24:19 PM(UTC)
Groups: Registered
Posts: 3
I'm using the Imaging ActiveX v16 with Delphi 2009.
Is there any way to access individual scanlines of a Lead bitmap? Delphi's TBitmap supports this and it's very handy for image processing. Does Lead have something equivalent?
#2
Posted
:
Sunday, February 15, 2009 8:37:02 AM(UTC)
Groups: Guests
Posts: 3,022
Was thanked: 2 time(s) in 2 post(s)
The Main OCX does not have a function to return a specific row of the image, but you can implement an efficient way to do that as follows:
1. Using a secondary control, create a bitmap large enough to hold one row (or more if you need).
2. Use the Combine function to copy the data from the first control to the secondary control.
3. With the second control, use SaveMemory, SaveBuffer or SaveArray methods with the FILE_RAW file format to get the data into a memory buffer without any file format headers or compression.
You cannot post new topics in this forum.
You cannot reply to topics in this forum.
You cannot delete your posts in this forum.
You cannot edit your posts in this forum.
You cannot create polls in this forum.
You cannot vote in polls in this forum.