<div dir="ltr">Hello all,<div><br></div><div>I have been doing some tests myself. Without width constraints (in the rst file or max size allowed), the images are created at 72 pixels per inch (PPI). This is ok for web, but very low for printing in a A4. And that's why re-sizing via rst file makes it look better in PDF.</div>
<div><br></div><div>I believe that this also affects the small icons like the "check icon" I mentioned before, that are being printed at 72dpi. They look too big and a bit unsharpened in the PDF.<br></div><div><br>
</div><div>In the following <a href="https://dl.dropboxusercontent.com/u/110618644/Image%20dpi%20tests.pdf">PDF</a> you can see the same image (measure line) at different ppi. The first one is at 90ppi, the second is at 108ppi, the third is at 135ppi, and the last one is at 180ppi. If you can, please print it. I tend to prefer the 135ppi version. It's small enough to reduce the blur effect, but the fonts are still readable.</div>
<div><br></div>
<div>The question is, is there a way to reduce all original images during pdf creation? To get preferable ppi value?</div><div><br></div><div>I have read <a href="http://rst2pdf.googlecode.com/svn/trunk/doc/manual.txt" target="_blank">here</a> this: "<span style="white-space:pre-wrap">The rst2pdf default is 300DPI, but you can change it using the --default-dpi option</span></div>

<div><span style="white-space:pre-wrap">or the default_dpi setting in the config file.</span>". If I'm correct, we do not use rst2pdf, but maybe this can be configured in texi2pdf also. If someone point me to the configuration files, I won't mind doing some tests.</div>
<div><br></div><div>Best regards,</div><div><br></div><div>Alexandre Neto</div></div><div class="gmail_extra"><br><br><div class="gmail_quote">On Mon, Oct 28, 2013 at 12:59 PM, Alexandre Neto <span dir="ltr"><<a href="mailto:senhor.neto@gmail.com" target="_blank">senhor.neto@gmail.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr">One more thing,<div><br></div><div>How can we do something about the "check icon" (<img alt="checkbox" src="http://www.qgis.org/en/_images/checkbox.png" style="border:0px;max-width:100%;min-height:auto;vertical-align:middle;color:rgb(51,51,51);font-family:'Open Sans','Helvetica Neue',Ubuntu,Arial,sans-serif;font-size:14px;line-height:22.390625px">) in  the PDF output, it looks huge!</div>

<div><br></div><div>Thanks!</div><span class="HOEnZb"><font color="#888888"><div><br></div><div>Alexandre</div></font></span></div><div class="HOEnZb"><div class="h5"><div class="gmail_extra"><br><br><div class="gmail_quote">
On Mon, Oct 28, 2013 at 12:20 PM, Alexandre Neto <span dir="ltr"><<a href="mailto:senhor.neto@gmail.com" target="_blank">senhor.neto@gmail.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr">Hello,<br><div class="gmail_extra"><br><div class="gmail_quote"><div>On Mon, Oct 28, 2013 at 11:24 AM, Richard Duivenvoorde <span dir="ltr"><<a href="mailto:richard@duif.net" target="_blank">richard@duif.net</a>></span> wrote:<br>


<blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex"><div><br></div>
not sure about the pdf's, but I mentioned earlier that all images in the<br>
website have a size of 30em (or 40em). Then when you click on them they<br>
open in the same window, and resize to their 'natural/native' size. You<br>
have to go back to come into the docs again.<br></blockquote><div><br></div></div><div>I know nothing about website creation and even less about bootstrap itself, but could we eliminate the "go back to the docs again" step by opening the image in some kind of frame without existing the current page? </div>

<div>
<div><br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex">
So my bed would be: make it look good in pdf first (without special size<br>
constraints in the rst). If the images are not too big, they will then<br>
show up at their native image size in the html anyway. (or resized to<br>
100% of the data column by bootstrap), AND still clickable to see them<br>
in the native size anyway.<br>
<br>
</blockquote></div><div>Can we keep the <span style="font-family:arial,sans-serif;font-size:13px"> "</span><span style="font-family:arial,sans-serif;font-size:13px">:width: %%em" constraints in the rst files for pdf creation sake and just ignore them in the Website creation? (using original size or resizing to 100% of the data column). For what I can see, not having a width constraint in rst, create unsharped\ugly images in the pdf output </span><span style="font-family:arial,sans-serif;font-size:13px">(and will waste lots of paper :-P)</span><span style="font-family:arial,sans-serif;font-size:13px">. I guess all the images need a bit size reducing to look well. </span></div>

<div>
<div> </div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex">But: you can also claim that all the (smaller) images of 30em make the<br>



html and pdf look good and neat, because all images are the same size.<br>
<br>
Regards,<br>
<br>
Richard<br>
<br>
<br>
</blockquote></div></div>Best Regards,</div><div class="gmail_extra"><br></div><div class="gmail_extra">Alexandre</div></div>
</blockquote></div><br></div>
</div></div></blockquote></div><br></div>