User Guide > How to Work with... > DICOM Images > Loading and Saving DICOM Images > Saving DICOM Images Using JPEG Compression > JPEG Lossy Baseline Only |
This mode provides compatibility with viewers that do not support JPEG Extended coding process (12-bit images). In this mode:
If the source image colorspace is different from RGB or grayscale, or the bit depth is greater, ImageGear automatically converts image rasters to one of the supported pixel formats on saving. See Pixel Format Conversion during Image Saving for more details.
As part of the JPEG Lossy compression process, ImageGear converts RGB rasters into YCbCr colorspace (or YCC in DICOM terminology) during saving. This conversion is fully encapsulated into the ImageGear JPEG codec; the application should not convert images to YCbCr before saving them to JPEG or DICOM JPEG. |
To save an image as DICOM JPEG Baseline, use ImGearSavingFormats Enumeration.DICOM saving format, and set SaveSyntax to ImGearDICOMTransferSyntaxes.JPEG_BASELINE_PR_1.