- Help with saving images using lossless jpeg compression
Re: Help with saving images using lossless jpeg compression
toggle quoted messageShow quoted text
Lossless JPEG compression is only possible with the JPEG2000 format drivers. It's not an option for GeoTIFF.
On Wed, Sep 8, 2021 at 6:47 AM Varisht Ghedia <varisht@...> wrote:
While saving transformed and cut geotiff files to local filesystem, I wanted to save them in a lossless format. Currently, I use the "GTiff" driver to save the rasters in a tif format. While this does preserve the data, the file size is quite large (60MB~100MB). On saving them in a compressed format using JPEG a lot of quality is lost and the images lack the original details. Is there a provision to save these rasters in a different lossless format which is lighter and offers good compression? I explored lossless jpeg compression and wanted to use it. What is the right way to implement this?
Thanks and regards,
Join firstname.lastname@example.org to automatically receive all group messages.