Author |
Topic |
|
Jordi
Spain
3 Posts |
Posted - Sep 18 2014 : 03:03:26
|
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
|
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.
|
|
|
xequte
38187 Posts |
Posted - Sep 18 2014 : 13:34:40
|
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
|
|
|
|
Topic |
|
|
|