ImageEn for Delphi and C++ Builder ImageEn for Delphi and C++ Builder

 

ImageEn Forum
Profile    Join    Active Topics    Forum FAQ    Search this forumSearch
Forum membership is Free!  Click Join to sign-up
Username:
Password:
Save Password
Forgot your Password?

 All Forums
 ImageEn Library for Delphi, C++ and .Net
 ImageEn and IEvolution Support Forum
 Unable to display DICOM image
 New Topic  Reply to Topic
Author Previous Topic Topic Next Topic  

Jordi

Spain
3 Posts

Posted - Sep 18 2014 :  03:03:26  Show Profile  Reply

Hi I have a DICOM image which is properly previewed in the Open Dialog (TOpenImageEnDialog) but it is never painted in the TImageEnView component.

Any help would be appreciated.

PS: I'm sending 2 sample image to nigel email address.

Jordi

Spain
3 Posts

Posted - Sep 18 2014 :  04:54:12  Show Profile  Reply
I managed to solve it.

I was just using the demo Display.

The issue was that file name extension was not recognized by ImageEn.

Changing the load process from:
LoadFromFile(ExecuteOpenDialog('', '', false, 1, ''))
to
LoadFromFileDICOM(ExecuteOpenDialog('', '', false, 1, ''));
solved my issue...

Even using
LoadFromFileAuto also solved it allowing to display all image types, not only DICOM.

Go to Top of Page

xequte

38187 Posts

Posted - Sep 18 2014 :  13:34:40  Show Profile  Reply
Hi

Yes, that's right. Also, as your images are huge you might want to enable ShrinkToFit.



Nigel
Xequte Software
www.xequte.com
nigel@xequte.com
Go to Top of Page
  Previous Topic Topic Next Topic  
 New Topic  Reply to Topic
Jump To: