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 : Friday, October 7, 2005 10:24:14 PM(UTC)
yeomanly

Groups: Registered
Posts: 11


Hi,


I found L_CreateBitmap function to create a BITMAPHANDLE structure. But
i dont find the image displayed. The image require the window level and
center values but when i create i provide the whole 16 bit image data.
Now i store the image data in the Data Set and then use GetImage function to get the image.

I would like to know whether the BITMAPHANDLE structure can be created
in memory and handled in memory where in all the values for particular image should be initialised as it is done with GetImage function

Thanx
Sudharsan

 

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 : Tuesday, October 11, 2005 1:25:15 AM(UTC)
Maen Hasan

Groups: Registered, Tech Support
Posts: 1,326

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

Hello,

L_CreateBitmap function Initializes and allocates a bitmap, without loading any data.
Now, to create the bitmap in
memory, you will need to set the uMemory parameter (in the
L_CreateBitmap funtion) to TYPE_USER  flag, and will need to set
the pData parameter to the Data pointer that will contain the bitmap data, and set the dwSize Size of the data buffer pointed to by pData.

LEADTOOLS has several functions that can handle memory, such as:
L_LoadBitmapMemory
L_LoadMemory
L_GetBitmapMemoryInfo
L_SetMemoryThresholds
L_SetBitmapMemoryInfo
L_SaveBitmapMemory
L_SaveFileMemory
And more...

However, for more information
about the L_CreateBitmap function, you can refer to the "LEADTOOLS Main API Help File v14", and read the following topic:

- L_CreateBitmap

Note: check the L_CreateBitmap help file example.

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.050 seconds.