From b83690ebd873abc29a3f365b0cc69125eb6021a1 Mon Sep 17 00:00:00 2001 From: tcitworld Date: Mon, 4 Aug 2014 21:34:44 +0200 Subject: removing examples for mpdf --- .../libraries/mpdf/examples/example04_images.php | 207 --------------------- 1 file changed, 207 deletions(-) delete mode 100644 inc/3rdparty/libraries/mpdf/examples/example04_images.php (limited to 'inc/3rdparty/libraries/mpdf/examples/example04_images.php') diff --git a/inc/3rdparty/libraries/mpdf/examples/example04_images.php b/inc/3rdparty/libraries/mpdf/examples/example04_images.php deleted file mode 100644 index b9877634..00000000 --- a/inc/3rdparty/libraries/mpdf/examples/example04_images.php +++ /dev/null @@ -1,207 +0,0 @@ - -table { border-collapse: collapse; margin-top: 0; text-align: center; } -td { padding: 0.5em; } -h1 { margin-bottom: 0; }z - -

mPDF Images

- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
GIFJPGJPG (CMYK)PNGBMPWMFSVG

Opacity 50%

- -

Alpha channel

- - - - - - - - - -
PNG
-

Transparency

- - - - - - - - - - - - - - - - - - - - - - - - -
PNG
GIF
WMF
SVG
- - -Images returned from tiger.php -
-GIF -JPG -PNG -WMF -SVG -
- - - - -

Image Alignment

-
From mPDF version 4.2 onwards, in-line images can be individually aligned (vertically). Most of the values for "vertical-align" are supported: top, bottom, middle, baseline, text-top, and text-bottom. The default value for vertical alignment has been changed to baseline, and the default padding to 0, consistent with most browsers. -
-
- -
-These images -are -top -aligned -
-
- -
-These images -are -text-top -aligned -
-
- -
-These images -are -bottom -aligned -
-
- -
-These images -are -text-bottom -aligned -
-
- -
-These images -are -baseline -aligned -
-
- -
-These images -are -middle -aligned -
-
- -

Mixed alignment

-
-baseline: -text-bottom: -middle: -bottom: -text-top: -top: -
- -

Image Border and padding

-From mPDF v4.2, Image padding is supported as well as border and margin. - - -

Rotated Images

- - - - -
- - - - -
-       -       -       - -
-  -  -  - -
- -'; -//============================================================== -//============================================================== -//============================================================== -include("../mpdf.php"); - -$mpdf=new mPDF('c'); - -$mpdf->WriteHTML($html); - -$mpdf->Output(); -exit; -//============================================================== -//============================================================== -//============================================================== -//============================================================== -//============================================================== - - -?> \ No newline at end of file -- cgit v1.2.3