Getting it on one page


The result

My recipes consist of an image and the instructions to prepare it beneath that. For the sake of ".pdf" printing, I try to fit it all in a sindle page. That means I must keep the image small.

In practical terms, I take a picture with my cell phone. Then I open that up with the shotwell viewer and I crop the part I want from it.

Then whatever I end up with, I shrink to about 1000 pixels wide.

shrink command

convert original.jpg -resize 1000x pagefit.jpg

snippet that includes the image in the RST source

|

.. image:: ../images/pagefit.jpg
    :class: img-responsive
    :scale: 30%
    :alt: The result

I have included such an image above as illustration.

Published by Pierre Bernatchez in «pelican». Key Words: pelican, git, image, size