#1
Posted
:
Tuesday, July 7, 2015 5:53:22 AM(UTC)
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...
#2
Posted
:
Wednesday, July 8, 2015 6:59:35 AM(UTC)
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.