[gdal-dev] Convert GEOTIFF to JPG using GDAL

Mike Flannigan mikeflan at att.net
Sun Apr 14 04:42:33 PDT 2019


Most browsers will open a JPG file.
In the browser, go to File - Open and open
the file.



Mike


On 4/13/2019 2:00 PM, gdal-dev-request at lists.osgeo.org wrote:
> Date: Fri, 12 Apr 2019 23:05:06 +0300
> From: עוז אלהרר<mirror.zbeng at gmail.com>
> To:gdal-dev at lists.osgeo.org
> Subject: [gdal-dev] Convert GEOTIFF to JPG using GDAL
> Message-ID:
> 	<CAEgCAnMYw+9KQRwYHWMGNy02zVCKBQUc8OLfqtwr0iUtGYHs8A at mail.gmail.com>
> Content-Type: text/plain; charset="utf-8"
>
> I have a rgb.tif file in the configuration of GeoTiff.
>
> I want to view it in a browser (the GeoTiff does not interest me)
>
> I convert the file to JPG as follows:
>
> gdal_translate -of JPEG C:\z\RGB.tif C:\z\new.jpg -co WORLDFILE=NO
>
> The problem is that the new file is only shown in a program like ArcMap but
> not in the browser.
>
> Can someone explain to me why this is happening and does it have a solution
> ? Thanks



More information about the gdal-dev mailing list