JVSdicom Compressor

About | Features | Screenshots | Download | Documentation


JVSdicom Compressor is a free, command line-based image compression application capable of converting multiple image formats (e.g., BMP, PPM, and BigTIFF) into the DICOM-compatible, JPIP-linked JPEG2000 virtual slide/whole-slide image (WSI) format. JVSdicom Compressor is based on the JVScomp application. Please refer to JVScomp documentation for additional details.

In addition to the output JPEG2000 file, JVSdicom Compressor can produce an accompanying DICOM file, which uses the General Microscopy modality, Visible Light Microscopic Image IOD (with minimal set of attributes), and the JPIP Referenced Transfer Syntax. The DICOM file contains a URL reference to a JPIP server, from which the JPEG2000 can be accessed. Please see the Documentation for details.

JVSdicom Compressor is written in C++ with Microsoft Visual Studio 2005. The application can be run on a Windows 95/98/NT4/2000/XP/Vista environments with 32-bit or 64-bit architecture. In addition, the application uses three external libraries, which are included in the source package. The software depends on the following libraries:


  • Optimised parameterisation for virtual microscopy
  • Efficient rate control policy for virtual microscopy
  • Support for dual-processor environments
  • Support for the following input file formats: PPM, BMP, JPEG, JPEG2000, ECW, and TIFF (with BigTIFF support)
  • Can produce DICOM-tagged JPEG2000 images with GM modality and JPIP Referenced Transfer Syntax



This software is provided 'as-is', without any express or implied warranty. In no event will the authors be held liable for any damages arising from the use of this software. You can use it freely for non-commercial purposes. See the LICENSE.txt accompanied with the program for more details.

Download JVSdicom Compressor (version 1.0, 12.12.2008)

By clicking Download, you accept the accompanying EULA agreement.

Note: Please download and install the Visual Studio 2005 (SP1) Redistributable package prior to running JVSdicom Compressor.

View version history...


Supported input formats

  • BMP – uncompressed, 24-bit
  • ECW – all variants
  • JPEG – 24-bit
  • JPEG2000 – all variants
  • PPM – binary encoded, 24-bit
  • TIFF – non-tiled, 24-bit RGB with either PackBits, LZW, or no compression (BifTIFF support included)

Supported output formats

  • ECW – lossy, proprietary format, see ER Mapper for more details
  • JPEG2000 – lossless or lossy, untiled, RPCL progression order, plenty of DWT levels, 1 quality layer, relatively small precincts, end of packet header (EPH) markers enabled
  • DICOM – used in addition to JPEG2000 output file; uses the GM modality w/ Visible Light Microscopic Image IOD and JPIP Referenced Transfer Syntax


JVSdicom Compressor is used from command line by using the following syntax:

JVSdicom_Compressor.exe ...
-i Input file
-o Output file
-c (n) Target compression ratio, range 1-100

Additional options:
-dicom <url> in addition to the output JPEG2000 file, generate a JPIP
referenced DICOM file with specified JPIP server URL
-d Delete the input file after
successful compression
-v Display version information

Note: when using JPEG2000 as the output format, setting the compression ratio to 1:1 will yield a lossless compression. The actual compression ratio will be in the range from 2:1 to 2.5:1.