This topic and its replies were posted before the current version of LEADTOOLS was released and may no longer be applicable.
#1
Posted
:
Monday, November 16, 2009 6:57:46 PM(UTC)
Groups: Registered
Posts: 8
I usually load bitmap image follow way.
///////////////////////////////////////////
LBitmapBase BitmapBase;
BitmapBase.SetFileName(TEXT("d:\\image.bmp"));
BitmapBase.Load(0, ORDER_BGR, NULL);
//////////////////////////////////////////
but, Can I load bitmap image by resource ID ?
#2
Posted
:
Monday, November 16, 2009 6:59:57 PM(UTC)
Groups: Registered
Posts: 8
Environment;
VS2005(MFC)
leadTools V 16.5
Raster Imaging C++ Class Library
#3
Posted
:
Tuesday, November 17, 2009 12:13:01 AM(UTC)
Groups: Registered, Tech Support
Posts: 1,326
Was thanked: 1 time(s) in 1 post(s)
We don't have a function that loads bitmap image by resource ID directly, but depending on the resource type, you could do it in other ways. For example, if you store a complete image file into a resource, you can load the resource into a memory buffer then use our functions that load an image file from memory such as LBitmapBase.MemoryFile()->LoadMemory method.
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.