| 1 |
==================== |
| 2 |
Test image inclusion |
| 3 |
==================== |
| 4 |
|
| 5 |
Tests with both width and height |
| 6 |
-------------------------------- |
| 7 |
|
| 8 |
.. an image with big dimensions, ratio H/W = 1/5 |
| 9 |
.. image:: img.png |
| 10 |
:height: 200 |
| 11 |
:width: 1000 |
| 12 |
|
| 13 |
.. topic:: Oversized images |
| 14 |
|
| 15 |
.. an image with big dimensions, ratio H/W = 5/1 |
| 16 |
.. image:: img.png |
| 17 |
:height: 1000 |
| 18 |
:width: 200 |
| 19 |
|
| 20 |
.. height too big even if width reduced to linewidth, ratio H/W = 3/1 |
| 21 |
.. image:: img.png |
| 22 |
:width: 1000 |
| 23 |
:height: 3000 |
| 24 |
|
| 25 |
Tests with only width or height |
| 26 |
------------------------------- |
| 27 |
|
| 28 |
.. topic:: Oversized images |
| 29 |
|
| 30 |
.. tall image which does not fit in textheight even if width rescaled |
| 31 |
.. image:: tall.png |
| 32 |
:width: 1000 |
| 33 |
|
| 34 |
.. wide image which does not fit in linewidth even after height diminished |
| 35 |
.. image:: sphinx.png |
| 36 |
:height: 1000 |
| 37 |
|