<div dir="ltr">Kalev,<div>Just set the output file format to -f  JPEG format   ( .jpg) or  -f JP2OpenJPEG (.jp2)</div><div><br></div><div>The JPEG format will be lossey by default.  Is that what you want?</div><div>See:</div><div> <a href="https://medium.com/planet-stories/a-gentle-introduction-to-gdal-part-1-a3253eb96082">https://medium.com/planet-stories/a-gentle-introduction-to-gdal-part-1-a3253eb96082</a></div><div><br></div><div><a href="https://medium.com/planet-stories/a-gentle-introduction-to-gdal-part-2-map-projections-gdalwarp-e05173bd710a">https://medium.com/planet-stories/a-gentle-introduction-to-gdal-part-2-map-projections-gdalwarp-e05173bd710a</a><br></div><div><br></div><div>Doug</div></div><br><div class="gmail_quote"><div dir="ltr">On Thu, Jun 21, 2018 at 10:00 AM kalevj <<a href="mailto:kalev.julge@reach-u.com">kalev.julge@reach-u.com</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Hello,<br>
<br>
I used gdalwarp to transform a VRT+JPEG pair from one EPSG projection to<br>
another. Everything worked well. This conversion changed the VRT file so<br>
that reprojection takes place when the images are loaded. However, I would<br>
need to reproject the JPEG so that there would not be a need to reproject<br>
every time the images are loaded. Is it possible somehow?<br>
<br>
I used the command:<br>
"gdalwarp -s_srs EPSG:2006 -t_srs EPSG:3857 -of VRT -r near old.vrt new.vrt"<br>
<br>
Thanks!<br>
<br>
Kalev<br>
<br>
<br>
<br>
--<br>
Sent from: <a href="http://osgeo-org.1560.x6.nabble.com/GDAL-Dev-f3742093.html" rel="noreferrer" target="_blank">http://osgeo-org.1560.x6.nabble.com/GDAL-Dev-f3742093.html</a><br>
_______________________________________________<br>
gdal-dev mailing list<br>
<a href="mailto:gdal-dev@lists.osgeo.org" target="_blank">gdal-dev@lists.osgeo.org</a><br>
<a href="https://lists.osgeo.org/mailman/listinfo/gdal-dev" rel="noreferrer" target="_blank">https://lists.osgeo.org/mailman/listinfo/gdal-dev</a></blockquote></div><br clear="all"><div><br></div>-- <br><div dir="ltr" class="gmail_signature" data-smartmail="gmail_signature"><div dir="ltr"><div><div dir="ltr"><div dir="ltr"><div><div>Doug Newcomb</div><div>USFWS</div><div>551F Pylon Dr</div><div>Raleigh, NC</div><div>919-856-4520 ext. 14 <a href="mailto:doug_newcomb@fws.gov" target="_blank">doug_newcomb@fws.gov</a></div><div>---------------------------------------------------------------------------------------------------------</div><div><br></div></div><div><b style="font-size:12.8px"><i><font color="#0000ff">NOTE: This email correspondence and any attachments to and from this sender is subject to the Freedom of Information Act (FOIA) and may be disclosed to third parties.</font></i></b><span style="color:rgb(0,0,255);font-family:"courier new",monospace;font-size:12.8px">​</span><br></div></div></div></div></div></div>