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 : Tuesday, November 7, 2006 2:12:53 AM(UTC)

Sham  
Sham

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.

File Attachment(s):
Form1.zip (2kb) downloaded 39 time(s).
 

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, November 7, 2006 4:32:38 AM(UTC)

Bashar  
Guest

Groups: Guests
Posts: 3,034

Was thanked: 1 time(s) in 1 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:48:58 AM(UTC)

sharath  
sharath

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 4:03:19 AM(UTC)

Bashar  
Guest

Groups: Guests
Posts: 3,034

Was thanked: 1 time(s) in 1 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.

 
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-2020, Yet Another Forum.NET
This page was generated in 0.148 seconds.