unable to convert to JPG, memory error ?

59 views
Skip to first unread message

nanocache

unread,
Oct 17, 2013, 9:10:51 PM10/17/13
to nano...@googlegroups.com
Hi I have the following code - 



$dicom  = Nanodicom::factory($filename, 'pixeler');

$images = $dicom->get_images();

$test->write_image($image, $file.'.'.$index);

And I get a memory allocated error of reached end of file test.dcm: unable to allocate 2 bytes


Any ideas ? 

Thanks!
test.dcm

Nano.

unread,
Oct 18, 2013, 4:03:16 PM10/18/13
to nano...@googlegroups.com
Hi nanocache,

I am getting the same error. It seems that the pixel data is not complete.

Cheers,

Nano.



--
You received this message because you are subscribed to the Google Groups "nanodicom" group.
To unsubscribe from this group and stop receiving emails from it, send an email to nanodicom+...@googlegroups.com.
To post to this group, send email to nano...@googlegroups.com.
Visit this group at http://groups.google.com/group/nanodicom.
For more options, visit https://groups.google.com/groups/opt_out.

nanocache

unread,
Oct 19, 2013, 3:06:24 PM10/19/13
to nano...@googlegroups.com
Thanks for taking a look!

When I open the image in MicroDicom (http://www.microdicom.com/downloads.html) it opens fine and shows the data...

is there any way to cleanup this image with nanodicom and show the JPG? Any ideas ?

Thanks
Reply all
Reply to author
Forward
0 new messages