OSGeo / gdal

GDAL is an open source MIT licensed translator library for raster and vector geospatial data formats.
https://gdal.org
Other
4.8k stars 2.51k forks source link

Feature Request for Gdal2Tiles: Support JPEG format #6703

Closed asafMasa closed 5 months ago

asafMasa commented 1 year ago

Expected behavior and actual behavior.

Use gdal2tiles to create tiles in jpg format 👍 (tenth of the PNG size ) gdal2tiles currently supports only PNG or WEBP 😢 https://gdal.org/programs/gdal2tiles.html#cmdoption-gdal2tiles-tiledriver

rouault commented 1 year ago

Do you want to contribute that ? That shouldn't be too hard. You can take inspiration from d3dbf6155c3fa9363549c85b268bafc766a15fa9 that added WEBP support

asafMasa commented 1 year ago

Let me consider it for a few days

jratike80 commented 1 year ago

As a reminder, pure JPEG tiles make some issues with the border tiles, but of course something like geosolutionsgroup.com/blog/geoserver-smart-transparency/ can be implemented later or just to leave it for more feature rich tiling systems .

asafMasa commented 1 year ago

As a reminder, pure JPEG tiles make some issues with the border tiles, but of course something like geosolutionsgroup.com/blog/geoserver-smart-transparency/ can be implemented later or just to leave it for more feature rich tiling systems .

My use-case is for world wide layer [-90,-180,90,180] so the border is not of a concern

asafMasa commented 6 months ago

@zdila @rouault is there any progress with this issue?