Please read about transfer syntax in the DICOM specification. If you find anything in LEADTOOLS that is not compliant to the specifications, please send an email to
support@leadtools.com with full details.
In general, you can change the compression or image encoding in the DICOM file using LDicomDS::SetImage or LDicomDS::InsertImage. This will also require updates to other image related tags (only for advance user). Easy way to change the compression or encoding is to use LDicomDS::ChangeTransferSyntax method.
LEADTOOLS supports following encoding and bit depth:
UID_IMPLICIT_VR_LITTLE_ENDIAN ("1.2.840.10008.1.2") - 8, 12, 16 bit grayscale and 24-bit color plus 8, 12, 16 bit palette color
UID_EXPLICIT_VR_LITTLE_ENDIAN ("1.2.840.10008.1.2.1") - 8, 12, 16 bit grayscale and 24-bit color plus 8, 12, 16 bit palette color
UID_EXPLICIT_VR_BIG_ENDIAN ("1.2.840.10008.1.2.2") - 8, 12, 16 bit grayscale and 24-bit color plus 8, 12, 16 bit palette color
UID_JPEG_BASELINE_1 ("1.2.840.10008.1.2.4.50") - 8-bit gray and 24-bit color
UID_JPEG_EXTENDED_2_4 ("1.2.840.10008.1.2.4.51") - 8 and 12 bit grayscale
UID_JPEG_LOSSLESS_NONHIER_14 ("1.2.840.10008.1.2.4.57") - 8, 12, 16 bit grayscale and 24-bit color
UID_JPEG_LOSSLESS_NONHIER_14B ("1.2.840.10008.1.2.4.70") - 8, 12, 16 bit grayscale and 24-bit color
UID_JPEG2000_LOSSLESS_ONLY ("1.2.840.10008.1.2.4.90") - 8, 12, 16 bit grayscale and 24-bit color
UID_JPEG2000 ("1.2.840.10008.1.2.4.91") - 8, 12, 16 bit grayscale and 24-bit color
UID_RLE_LOSSLESS ("1.2.840.10008.1.2.5") - 8, 12, 16 bit grayscale and 24-bit color and 8-bit palette color