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 : Tuesday, July 7, 2015 5:53:22 AM(UTC)

dky  
dky

Groups: Registered
Posts: 2


Dear Sirs,
How can I use L_LoadBitmapMemory to load cmp data from TMemoryStream ino LeadTool Bitmap?
I have retrieve cmp blob data from database and save into a memorystream, I want convert cmp to bmp or jpg in memeory to avoid disk IO, what I think is L_LoadBitmapMemory, but can it load data from MemoryStream? and How?
Thank you...
 

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 : Wednesday, July 8, 2015 6:59:35 AM(UTC)
Maen Hasan

Groups: Registered, Tech Support
Posts: 1,326

Was thanked: 1 time(s) in 1 post(s)

The L_LoadBitmapMemory() function needs the address of the first byte of the memory buffer that contains the image.
Does the TMemoryStream object provide you with the address of the buffer? If not, does it allow you to copy the data to your own buffer?

Thanks,
Maen Badwan
LEADTOOLS Technical Support
 
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-2024, Yet Another Forum.NET
This page was generated in 0.041 seconds.