LEADTOOLS Support
Medical
Medical SDK Questions
Not initialized. Internal error - call LEAD
This topic and its replies were posted before the current version of LEADTOOLS was released and may no longer be applicable.
#1
Posted
:
Tuesday, November 7, 2006 2:07:53 AM(UTC)
Groups: Registered
Posts: 7
Hi,
I am using eval medical imaging v14.5.0.13
Following exception was thrown while compressing the image. It was simple example code i was running as given in the leadtools tutorial. I am trying to compress a dicom file. This exception is thrown even when compressing jpg files also.
Is their any piece of code that i am missing here?
I have attached the code file for your reference.
Thanks,
Sham.
#2
Posted
:
Tuesday, November 7, 2006 4:27:38 AM(UTC)
Groups: Guests
Posts: 3,022
Was thanked: 2 time(s) in 2 post(s)
The image needs to have an Order of Bgr and a ViewPerspective of
TopLeft. Are you sure your image has those properties set to the
correct values?
#3
Posted
:
Wednesday, November 8, 2006 1:43:58 AM(UTC)
Groups: Registered
Posts: 15
How do i check that?
Is their any other method to compress dicom file? can i have an example code?
Thanks,
Sham.
#4
Posted
:
Wednesday, November 8, 2006 3:58:19 AM(UTC)
Groups: Guests
Posts: 3,022
Was thanked: 2 time(s) in 2 post(s)
Check the Order and the ViewPerspective properties of the RasterImage class.
As an alternative, you can use the Save method to save the image to Stream, then convert the Stream to a byte array.
LEADTOOLS Support
Medical
Medical SDK Questions
Not initialized. Internal error - call LEAD
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.