File_DICOM::dumpImage()

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.

Synopsis

require_once 'File/DICOM.php';

mixed File_DICOM::dumpImage (string $filename)

Description

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

Parameter

string $filename

The file where to save the image

Return value

returns true on success, PEAR_Error on failure.

Note

This function can not be called statically.