LEADTOOLS Support
General
General Questions
dcm to jpeg2000,jpeg,bmp,raw console application
This topic and its replies were posted before the current version of LEADTOOLS was released and may no longer be applicable.
#1
Posted
:
Sunday, October 10, 2010 9:02:03 PM(UTC)
Groups: Registered
Posts: 33
sir i have made a sample program for converting dicom to jpeg
but its throw a return error saying ltimgcour not loded
code is as below
bmp.SetHandle(&Bitmap,TRUE); // it is workinf prop
nRet = bmp.ConvertSignedToUnsigned(SHIFT_NEG_TO_ZERO); // it says nRet is -2097 (Ltimgcor dll not loaded.)
nRet = bmp.Save(TEXT(
"D:\\result.jpg"), FILE_JFIF, 24, 2,NULL);// -2041(Ltfil dll not loaded.)
test1.exe': Loaded 'C:\Program Files\LEAD Technologies\LEADTOOLS 16.5\Bin\CDLL\Win32\Ltimgcoru.dll', Binary was not built with debug information.
'test1.exe': Loaded 'C:\Program Files\LEAD Technologies\LEADTOOLS 16.5\Bin\CDLL\Win32\Ltdisu.dll', Binary was not built with debug information.
'test1.exe': Loaded 'C:\Program Files\LEAD Technologies\LEADTOOLS 16.5\Bin\CDLL\Win32\Ltimgutlu.dll', Binary was not built with debug inform
can u tell me what is wrong with this
sir i have attach complet code as a attachment please tell me is there any better way to get better jpeg lossless conversion
thanks
samit
#2
Posted
:
Sunday, October 10, 2010 11:17:24 PM(UTC)
Groups: Registered
Posts: 33
sir just attaching my code as a attachment
thanks samit
#3
Posted
:
Monday, October 11, 2010 4:14:35 AM(UTC)
Groups: Guests
Posts: 3,022
Was thanked: 2 time(s) in 2 post(s)
Samit,
Our moderator split this forum to a new thread since it is not directly related to the original issue.
Your code shows that the LEADTOOLS DLLs are not loaded.
You need to use the LBase::LoadLibraries function to load a specific set of the LEADTOOLS library DLLs at run-time.
#4
Posted
:
Sunday, October 17, 2010 10:42:07 PM(UTC)
Groups: Registered
Posts: 33
thank u
was able to solve the error
samit
LEADTOOLS Support
General
General Questions
dcm to jpeg2000,jpeg,bmp,raw console application
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.