Open giacomomarchioro opened 2 years ago
@giacomomarchioro https://gdal.org/en/latest/drivers/raster/jp2openjpeg.html GDAL's JP2OpenJPEG Driver can handle multispectral image compression.
@lidq92 hanks a lot, I have to investigate further! it seems based on OpenJPEG library v2 I don't understand how it can create multi-band images while OpenJPEG can't. I have to try, did you manage to create a multiband image could you share your procedure?
Source code: https://github.com/OSGeo/gdal/tree/master/frmts/openjpeg
Given a q
, run
gdal_translate -of JP2OpenJPEG -co QUALITY=q tif_path jp2_path
if lossless mode, further add -co REVERSIBLE=YES
You can have a look at the doc for more create options.
@lidq92 thanks a lot for sharing I'll have a look
Dear all, thanks for this library, I am using it in a no-profit project for multi-spectral digitalization of manuscripts.
In literature I have found different implementations of JPEG2000 applied to multi-spectral encoding of data, I could not find a way to use openjpeg to achieve this goal I was wondering if this feature is already implemented or is planned to be?
Best regards, Giacomo