CompressNii
is an option for DcmToNii and ExportNii. If set True .nii.gz files will be created.
"XXXX"