Welcome Guest! To enable all features, please Login or Register.

Notification

Icon
Error

Options
View
Last Go to last post Unread Go to first unread post
#1 Posted : Saturday, February 14, 2009 3:24:19 PM(UTC)

dariley  
dariley

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?
 

Try the latest version of LEADTOOLS for free for 60 days by downloading the evaluation: https://www.leadtools.com/downloads

Wanna join the discussion? Login to your LEADTOOLS Support accountor Register a new forum account.

#2 Posted : Sunday, February 15, 2009 8:37:02 AM(UTC)

Adnan Ismail  
Guest

Groups: Guests
Posts: 3,034

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.

Powered by YAF.NET | YAF.NET © 2003-2020, Yet Another Forum.NET
This page was generated in 0.138 seconds.