File_DICOM::dumpImage() – Dumps the contents of the image inside the DICOM file (element 0x0010 from group 0x7FE0) to a PGM (Portable Gray Map) file.


require_once 'File/DICOM.php';

mixed File_DICOM::dumpImage ( string $filename )


Use with Caution!!. For a 8.5MB DICOM file on a P4 it takes 28 seconds to dump it's image.


string $filename

The file where to save the image

Return value

returns true on success, PEAR_Error on failure.


This function can not be called statically.

Sets the value for a DICOM element. (Previous) File_Fortune (Next)
Last updated: Sat, 16 Feb 2019 — Download Documentation
Do you think that something on this page is wrong? Please file a bug report.
View this page in:
  • English

User Notes:

There are no user contributed notes for this page.