<html><body><div style="color:#000; background-color:#fff; font-family:times new roman, new york, times, serif;font-size:10pt">If OSGeo4Win does mostly what you want, you can try GraphicsMagick to convert images to various formats...<br><br>Also Open Source, but command line based...<br><br>it can't get much easier than "gm convert image.png image.jpg" and there are lots of options to play with if necessary...<br><div><span><br></span></div><div>http://www.graphicsmagick.org/convert.html</div><div><br></div><div style="color: rgb(0, 0, 0); font-size: 13.3333px; font-family: times new roman,new york,times,serif; background-color: transparent; font-style: normal;">or the less stable but perhaps more adventurous ImageMagick...</div><div style="color: rgb(0, 0, 0); font-size: 13.3333px; font-family: times new roman,new york,times,serif; background-color: transparent; font-style: normal;"><br></div><div style="color: rgb(0, 0, 0); font-size: 13.3333px;
 font-family: times new roman,new york,times,serif; background-color: transparent; font-style: normal;"><br></div><div style="color: rgb(0, 0, 0); font-size: 13.3333px; font-family: times new roman,new york,times,serif; background-color: transparent; font-style: normal;"><br></div>  <div style="font-family: times new roman, new york, times, serif; font-size: 10pt;"> <div style="font-family: times new roman, new york, times, serif; font-size: 12pt;"> <div dir="ltr"> <hr size="1">  <font face="Arial" size="2"> <b><span style="font-weight:bold;">From:</span></b> Geoff Hay <geoffrey.hay@otago.ac.nz><br> <b><span style="font-weight: bold;">To:</span></b> "qgis-user@lists.osgeo.org" <qgis-user@lists.osgeo.org> <br> <b><span style="font-weight: bold;">Sent:</span></b> Saturday, April 5, 2014 3:11 PM<br> <b><span style="font-weight: bold;">Subject:</span></b> [Qgis-user] aerial photo issues<br> </font> </div> <div class="y_msg_container"><br><div
 id="yiv2008115807">

 
 
<style>#yiv2008115807 P {
MARGIN-TOP:0px;MARGIN-BOTTOM:0px;}
</style>

<div>
<div style="direction:ltr;font-family:Verdana;color:#000000;font-size:8pt;">
<div>Hi</div>
<div>I'm new to QGIS<a href="" rel="nofollow"></a><a href="" rel="nofollow"></a><a href="" rel="nofollow"></a>. I am working with aerial photos and overlaying polygons and labelling. QGIS<a href="" rel="nofollow"></a><a href="" rel="nofollow"></a><a href="" rel="nofollow"></a> works nicely for these tasks. I want to print these maps at a high resolution but have encountered a number of problems.
 I'd like some advice.</div>
<div> </div>
<div>The original georeferenced<a href="" rel="nofollow"></a><a href="" rel="nofollow"></a><a href="" rel="nofollow"></a> JPG files are 72 dpi and quite large (for example 9000 x 8000 pixels and 57Mb<a href="" rel="nofollow"></a><a href="" rel="nofollow"></a><a href="" rel="nofollow"></a>). The objective is to export as JPG at 300 dpi so that the vector layers and labelling are high quality and
 the original image quality is maintained when printed at full size. This seems to be no problem in ArcMap<a href="" rel="nofollow"></a><a href="" rel="nofollow"></a><a href="" rel="nofollow"></a> but I have so far been unable to achieve it in QGIS<a href="" rel="nofollow"></a><a href="" rel="nofollow"></a><a href="" rel="nofollow"></a>. Is this possible in QGIS<a href="" rel="nofollow"></a><a href="" rel="nofollow"></a><a href="" rel="nofollow"></a>?</div>
<div> </div>
<div>The default JPG exporter in Composer has a size limitation so it is unable to export the required size and resolution when I calculate and set a custom (large) paper size. When I scale the image the default producer also seems to be compressing the output
 (from 57Mb<a href="" rel="nofollow"></a><a href="" rel="nofollow"></a><a href="" rel="nofollow"></a> down to around 8Mb<a href="" rel="nofollow"></a><a href="" rel="nofollow"></a><a href="" rel="nofollow"></a>) which is ruining the print quality . I've read that  GDAL<a href="" rel="nofollow"></a><a href="" rel="nofollow"></a><a href="" rel="nofollow"></a> has a JPEG2000<a href="" rel="nofollow"></a><a href="" rel="nofollow"></a><a href="" rel="nofollow"></a> driver which could possibly do the job but I have not been able to figure
 out how to make composer use this for exporting images.</div>
<div> </div>
<div>I've tried exporting to PNG in composer and this seems to work without issues however the requirement is for JPG images - I wonder if it is reasonable practice to do a conversion later to get a JPG file?</div>
<div> </div>
<div>I've tried the OSGeo4W<a href="" rel="nofollow"></a><a href="" rel="nofollow"></a><a href="" rel="nofollow"></a> command line snapshot tool which seems to produce high res images but is limited to PNG output - is there any way to change this to JPG?
</div>
<div> </div>
<div>I've tried exporting to TIFF however this didn't work and resulted in an 8Kb<a href="" rel="nofollow"></a><a href="" rel="nofollow"></a><a href="" rel="nofollow"></a> file. Perhaps the original image needs to be converted to a TIFF file first?</div>
<div> </div>
<div> </div>
<div> </div>
<div>Other comments:</div>
<div>In composer, it would be nice to be able to set the extent of the composition to the actual extent of the base image rather than the QGIS<a href="" rel="nofollow"></a><a href="" rel="nofollow"></a><a href="" rel="nofollow"></a> canvas extent - I have to manually input<a href="" rel="nofollow"></a> the image extents. Actually it would be nice to
 have some mechanism that sets up the extents and paper size based on supplied dpi and the original image dimensions. perhaps this is not a common use case.</div>
<div> </div>
<div>TIA</div>
<div><a href="" rel="nofollow">geoff</a><a href="" rel="nofollow"></a></div>
</div>
</div>
</div><br>_______________________________________________<br>Qgis-user mailing list<br><a ymailto="mailto:Qgis-user@lists.osgeo.org" href="mailto:Qgis-user@lists.osgeo.org">Qgis-user@lists.osgeo.org</a><br><a href="http://lists.osgeo.org/mailman/listinfo/qgis-user" target="_blank">http://lists.osgeo.org/mailman/listinfo/qgis-user</a><br><br></div> </div> </div>  </div></body></html>