Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

Lossless encoding

j2kdriver.exe –set–-set-input-image <imagefilename.tif> –set–-set-output-j2k-color-xform YES –set–-set-output-j2k-error-resilience ALL –wavelet–-wavelet-transform R53 –set–-set-output-j2k-bitrate 0 –set–-set-output-j2k-progression-order RLCP –tile–-tile-size 1024 1024 -–output-file-type JP2 –output–-output-file-name <outputfilename.jp2>

...

Lossy encoding

j2kdriver.exe –set–-set-input-image-file <imagefilename.tif> –set–-set-output-j2k-color-xform YES –set–-set-output-j2k-error-resilience ALL –wavelet–-wavelet-transform I97 –set–-set-output-j2k-progression-order RLCP –set–-set-output-j2k-psnr 46 –tile–-tile-size 1024 1024 –output-file-type JP2 –output–-output-file-name <imagefilename.jp2>

...

for %%f in (*.tif) do j2kdriver.exe –set–-set-input-image-file “%%f” –set–-set-output-j2k-error-resilience ALL –set–-set-output-j2k-progression-order RLCP –set–-set-output-j2k-ratio 8 –tile–-tile-size 1024 1024 –output–-output-file-type JP2 –output–-output-file-name “%%~nf.jp2”