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



Last Go to last post Unread Go to first unread post
#1 Posted : Friday, October 24, 2008 9:23:46 AM(UTC)

Groups: Registered
Posts: 1

I need to be able to load a bitmap from tiff data already loaded in memory is this possible?

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, October 26, 2008 5:18:38 AM(UTC)

Yasir Alani  

Groups: Guests
Posts: 3,022

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

Yes. If you have the TIFF image loaded into Windows HGLOBAL heap memory, you can pass its handle to our LBuffer::SetHandle() function and then load the image into LBitmap using the LMemoryFile class.

If the data is in a memory location that you have the address to, but it's not a heap memory buffer, you can do one of 2 things:
1. Either copy it into an LBuffer object (using the appropriate constructor, for example) then load it.
2. Or if you don't want to copy it, you can use one of our DLL API functions that load from a memory address (pointer), such as L_LoadBitmapMemory.
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-2023, Yet Another Forum.NET
This page was generated in 0.040 seconds.