I am converting DICOM files to png format but I only get a gray image with a very faint outline of the original image.
(Btw DICOM images are the what comes off an MRI machine and other medical imagery machines)
So I am using PHP to run the scripts.
$image_details = `convert dicom_tests\IM3 dicom_tests\IM3_convert.png`;
but that gives me

which as you can tell - isn't like

which was converted in Photoshop.
Am I missing something really obvious or do I need to change a setting somewhere?!
If you need the header information, let me know as it's rather lengthy!
TiA for any advice and assistance,
Spike