diff options
author | tcit <tcit@tcit.fr> | 2014-07-24 15:49:36 +0200 |
---|---|---|
committer | tcit <tcit@tcit.fr> | 2014-07-24 15:49:36 +0200 |
commit | 4188f38ad56d7ba2ea46e94403f305243514f80c (patch) | |
tree | f357ddbd0d846ebae0ecf5d2ab00d6b7dd6eb8d5 /inc/3rdparty/libraries/mpdf/examples/example40_MPDFI_thumbnails.php | |
parent | 2b58426b2d4a7f1585d5d7667c0a4fbea4cd29dd (diff) | |
download | wallabag-4188f38ad56d7ba2ea46e94403f305243514f80c.tar.gz wallabag-4188f38ad56d7ba2ea46e94403f305243514f80c.tar.zst wallabag-4188f38ad56d7ba2ea46e94403f305243514f80c.zip |
add pdf and mobi libraries
Diffstat (limited to 'inc/3rdparty/libraries/mpdf/examples/example40_MPDFI_thumbnails.php')
-rw-r--r-- | inc/3rdparty/libraries/mpdf/examples/example40_MPDFI_thumbnails.php | 20 |
1 files changed, 20 insertions, 0 deletions
diff --git a/inc/3rdparty/libraries/mpdf/examples/example40_MPDFI_thumbnails.php b/inc/3rdparty/libraries/mpdf/examples/example40_MPDFI_thumbnails.php new file mode 100644 index 00000000..709ea8d1 --- /dev/null +++ b/inc/3rdparty/libraries/mpdf/examples/example40_MPDFI_thumbnails.php | |||
@@ -0,0 +1,20 @@ | |||
1 | <?php | ||
2 | |||
3 | include("../mpdf.php"); | ||
4 | |||
5 | $mpdf=new mPDF(); | ||
6 | $mpdf->SetImportUse(); | ||
7 | |||
8 | $mpdf->Thumbnail('sample_orientation2.pdf', 4, 5); // number per row // spacing in mm | ||
9 | |||
10 | $mpdf->WriteHTML('<pagebreak /><div>Now with rotated pages</div>'); | ||
11 | |||
12 | $mpdf->Thumbnail('sample_orientation3.pdf', 4); // number per row // spacing in mm | ||
13 | |||
14 | |||
15 | $mpdf->Output(); | ||
16 | |||
17 | exit; | ||
18 | |||
19 | |||
20 | ?> \ No newline at end of file | ||