Driver short name


Build dependencies

CharLS library


This driver is considered for removal in GDAL 3.5. You are invited to convert any dataset in that format to another more common one. If you need this driver in future GDAL versions, create a ticket at (look first for an existing one first) to explain how critical it is for you (but the GDAL project may still remove it). To enable use of the deprecated driver the GDAL_ENABLE_DEPRECATED_DRIVER_JPEGLS configuration option / environment variable must be set to YES.

This driver is an implementation of a JPEG-LS reader/writer based on the Open Source CharLS library (BSD style license).

The driver can read and write lossless or near-lossless images. Note that it is not aimed at dealing with too big images (unless enough virtual memory is available), since the whole image must be compressed/decompressed in a single operation.

Driver capabilities

Supports CreateCopy()

This driver supports the GDALDriver::CreateCopy() operation

Supports VirtualIO

This driver supports virtual I/O operations (/vsimem/, etc.)

Creation Options

  • INTERLEAVE=PIXEL/LINE/BAND : Data interleaving in compressed stream. Default to BAND.

  • LOSS_FACTOR=error_threshold : 0 (the default) means loss-less compression. Any higher value will be the maximum bound for the error.

See Also: