[Geoserver-users] Jpeg (set transparent color)

Hi,

Not possible, jpeg format does not support transparent colors. Even converting to tiff does not help totally because jpeg is a lossy compression method and areas which had same pixel values originally are not the same after compress-decompress cycle. There is a GDAL tool “nearblack” for handling this http://www.gdal.org/nearblack.html

You can use tiffs with some lossless compression method (LZW, deflate) and save some disk space.

-Jukka Rahkonen-

···

marco casella wrote:

Hello,

I have uploaded a jpeg format into my server as worldimage, trying to set the “impost transparent color” but I can’t figure out how to do it.

Do you have any tips? when I upload a tiff format I don’t have this kind of issue.

regards.

Marco