dcmcjpeg(1) OFFIS DCMTK dcmcjpeg(1) (NAME) dcmcjpeg - DICOM JPEG (SYNOPSIS) dcmcjpeg [] dcmfile-in dcmfile-out (DESCRIPTION) dcmcjpeg (dcmfile-in) JPEG ( DICOM) (dcmfile-out) . (PARAMETERS) dcmfile-in DICOM ("-" stdin) dcmfile-out DICOM ("-" stdout) (OPTIONS) (general options) -h --help --version --arguments -q --quiet -v --verbose -d --debug -ll --log-level [l]evel: string constant (fatal, error, warn, info, debug, trace) l -lc --log-config [f]ilename: string f (input options) : +f --read-file () +fo --read-file-only -f --read-dataset : -t= --read-xfer-auto () -td --read-xfer-detect -te --read-xfer-little little endian VR -tb --read-xfer-big big endian VR -ti --read-xfer-implicit little endian VR ( +tl ): +Ma --accept-acr-nema ACR-NEMA # ACR-NEMA # ( ) +Mp --accept-palettes (0028,111x) (0028,121x) # # ( ) JPEG (JPEG encoding options) JPEG: +e1 --encode-lossless-sv1 sv1 () # JPEG # ( ) JPEG # . +el --encode-lossless # JPEG ( ) # JPEG . +eb --encode-baseline (baseline) # JPEG ( ) # JPEG . +ee --encode-extended (extended sequential) # JPEG ( ) # JPEG . +es --encode-spectral (spectral selection) # JPEG ( ) # JPEG . +ep --encode-progressive (progressive) # JPEG ( ) # JPEG . JPEG : +tl --true-lossless () # # . <<>> . +pl --pseudo-lossless # # # . --true-lossless . JPEG : +sv --selection-value [sv]: integer (1..7, default: 6) sv --encode-lossless # JPEG . +pt --point-transform [pt]: integer (0..15, default: 0) pt # JPEG . # : " " # . JPEG : +q --quality [q]: integer (0..100, default: 90) q # # JPEG JPEG # . Independent JPEG Group . +sm --smooth [s]: integer (0..100, default: 0) s # ( ) # . . JPEG: +ho --huffman-optimize () # . # . # / . -ho --huffman-standard / # . ( +tl +ba ): +ba --bits-auto / () +be --bits-force-8 / +bt --bits-force-12 / ( baseline ) +bs --bits-force-16 / ( ) ( +tl ): +cy --color-ybr YCbCr () # YCbCr # JPEG . +cr --color-rgb RGB # YCbCr # JPEG . # RGB . +cm --monochrome # . ( +tl +cn ): +cp --conv-photometric YCbCr () # dcmcjpeg # . # YBR_FULL YBR_FULL_422 RGB # . +cl --conv-lossy YCbCr RGB JPEG # JPEG YCbCr # RGB . +cg --conv-guess RGB YCbCr # JPEG YCbCr # RGB . +cgl --conv-guess-lossy RGB JPEG YCbCr JPEG # JPEG # JPEG YCbCr RGB . +ca --conv-always YCbCr RGB # YCbCr RGB . +cn --conv-never # . ( ): +w6 --workaround-pred6 JPEG # JPEG # # () . # # . . +wi --workaround-incpl JPEG # dcmjpeg JPEG # ( ) . # JPEG . +wc --workaround-cornell JPEG # JPEG "Cornell" # / # . # . YCbCr ( JPEG ): +s2 --sample-422 4:2:2 YBR_FULL_422 () # 4:2:2 # YCbCr . YBR_FULL_422 . YCbCr ( +tl ): +s4 --nonstd-444 4:4:4 YBR_FULL # YCbCr # . YBR_FULL # JPEG . +n2 --nonstd-422-full 4:2:2 YBR_FULL # 4:2:2 # YCbCr . YBR_FULL # . +n1 --nonstd-411-full 4:1:1 YBR_FULL # 4:1:1 # YCbCr . YBR_FULL # . +np --nonstd-411 4:1:1 YBR_FULL_422 # 4:1:1 # YCbCr . YBR_FULL_422 # . (encapsulated pixel data encoding options) : +ff --fragment-per-frame () # (). +fs --fragment-size [s]ize: integer s # # . : +ot --offset-table-create () # JPEG . -ot --offset-table-empty # JPEG . VOI ( +tl ): -W --no-windowing VOI () # / . # # (rescale slope and intercept) . +Wi --use-window [n]umber: integer n- VOI # n- / . +Wl --use-voi-lut [n]umber: integer n- VOI (VOI LUT) # n- VOI LUT . +Wm --min-max-window VOI min-max # # . +Wn --min-max-window-n VOI min-max # # . # ( ) # . +Wr --roi-min-max-window [l]eft [t]op [w]idth [h]eight: integer ROI min-max l,t,w,h # --min-max-window # . +Wh --histogram-window [n]umber: integer VOI n # n # . +Ww --set-window [c]enter [w]idth: float VOI c w # / . (--no-windowing +tl ): +sp --scaling-pixel / () # # JPEG . # . # # # (presentation state) . +sr --scaling-range / # # # . / (-W +tl ): +ri --rescale-identity (identity) () CT # ( # IOD ) . / # VOI LUT . +rm --rescale-map XA/RF/XA Biplane # # . # VOI DICOM IOD # . SOP (SOP Class UID): +cd --class-default SOP () # SOP . +cs --class-sc ( --uid-always) # (Secondary Capture). SOP # . # SOP . SOP (SOP Instance UID): +ud --uid-default () # SOP . +ua --uid-always # SOP . +un --uid-never # SOP . (output options) (Value Representations): +u --enable-new-vr VR (UN/UT) () -u --disable-new-vr VR OB (group length encoding): +g= --group-length-recalc () +g --group-length-create -g --group-length-remove : +e --length-explicit () -e --length-undefined : -p= --padding-retain () -p --padding-off +p --padding-create [f]ile-pad [i]tem-pad: integer f i (NOTES) dcmcjpeg SOP . (Pixel Data 7fe0,0010) (icon image) . CT ( ) SOP XA/RF/Biplane ( "" ) . dcmcjpeg IOD . : o MR BitsAllocated=16 . o NM MONOCHROME2 PALETTE COLOR RGB YBR_FULL ( ). o Hardcopy Color RGB . . dcmcjpeg (Secondary Capture) SOP . DCMTK 3.5.4 JPEG (--true-lossless). (--pseudo-lossless) : o (Bits Allocated) o o YBR_FULL_422 YBR_PARTIAL_422 YBR_PARTIAL_420 YBR_ICT YBR_RCT o (Planar Configuration) o --pseudo-lossless () . (Lossy Compression Flag) "01" SOP ( ) . (Derivation Description) "Lossless JPEG compression" "Pseudo-Lossless JPEG compression" . (TRANSFER SYNTAXES) dcmcjpeg (dcmfile-in) : LittleEndianImplicitTransferSyntax 1.2.840.10008.1.2 LittleEndianExplicitTransferSyntax 1.2.840.10008.1.2.1 DeflatedExplicitVRLittleEndianTransferSyntax 1.2.840.10008.1.2.1.99 (*) BigEndianExplicitTransferSyntax 1.2.840.10008.1.2.2 JPEGProcess1TransferSyntax 1.2.840.10008.1.2.4.50 JPEGProcess2_4TransferSyntax 1.2.840.10008.1.2.4.51 JPEGProcess6_8TransferSyntax 1.2.840.10008.1.2.4.53 JPEGProcess10_12TransferSyntax 1.2.840.10008.1.2.4.55 JPEGProcess14TransferSyntax 1.2.840.10008.1.2.4.57 JPEGProcess14SV1TransferSyntax 1.2.840.10008.1.2.4.70 (*) zlib dcmcjpeg (dcmfile-out) : JPEGProcess1TransferSyntax 1.2.840.10008.1.2.4.50 JPEGProcess2_4TransferSyntax 1.2.840.10008.1.2.4.51 JPEGProcess6_8TransferSyntax 1.2.840.10008.1.2.4.53 JPEGProcess10_12TransferSyntax 1.2.840.10008.1.2.4.55 JPEGProcess14TransferSyntax 1.2.840.10008.1.2.4.57 JPEGProcess14SV1TransferSyntax 1.2.840.10008.1.2.4.70 (LOGGING) . . --verbose . --debug ( ) . --log-level . --quiet . . "oflog" . ( ) syslog () event log () --log-config . . /logger.cfg . (COMMAND LINE) : (-) (-n) n . '+' '-' . ( ). . . '@' ( @command.txt). ( ). . / ( /dumppat.txt ). (ENVIRONMENT) dcmcjpeg DCMDICTPATH . DCMDICTPATH /dicom.dic ( ). DCMDICTPATH . DCMDICTPATH PATH (":") . - (";") . DCMDICTPATH . . (SEE ALSO) dcmdjpeg(1) (COPYRIGHT) Copyright (C) 2001-2025 by OFFIS e.V., Escherweg 2, 26121 Oldenburg, Germany. Version 3.7.0 Thu Jul 9 2026 18:43:40 dcmcjpeg(1)