Unlike DecompressAll which is designed merely for performance improvement, this method permanently changes the data as if written out in an uncompressed transfer syntax and then read back. This might therefore change the Photometric interpretation etc. (e.Graphics. from YBR_FULL_422 to RGB)
// Load a compressed DICOM image e.g. JPEG2000Lossy
DicomImage image = new DicomImage("your_dicom_image.dcm");
image.ChangeToDecompressed();
// Write decompressed image to disk
image.Write("decompressed_image.dcm");