summaryrefslogtreecommitdiff
path: root/tests/typ
diff options
context:
space:
mode:
authorLaurenz <laurmaedje@gmail.com>2020-11-28 00:04:40 +0100
committerLaurenz <laurmaedje@gmail.com>2020-11-28 00:04:40 +0100
commit21857064db8ca1bdf61b6e5ee37dff1a15083189 (patch)
treed25041fb9c8086da0159f3aff90049ffa8d72f25 /tests/typ
parent982e7671a6c89ab189881b7b5c73aa18fee85a5f (diff)
Export alpha channel into PDF 🧊
Diffstat (limited to 'tests/typ')
-rw-r--r--tests/typ/image.typ11
1 files changed, 6 insertions, 5 deletions
diff --git a/tests/typ/image.typ b/tests/typ/image.typ
index ee82024f..0dd22950 100644
--- a/tests/typ/image.typ
+++ b/tests/typ/image.typ
@@ -1,14 +1,15 @@
-[page: width=10cm, height=10cm, margins=1cm]
+[page: width=5cm, height=5cm, margins=0.25cm]
[image: "res/tiger.jpg"]
[pagebreak]
# Tiger
-[image: "res/tiger.jpg", width=3cm]
-[image: "res/tiger.jpg", height=3cm]
+[image: "res/tiger.jpg", width=2cm]
+[image: "res/tiger-alpha.png", width=1cm]
+[image: "res/tiger-alpha.png", height=2cm]
[pagebreak]
-[align: center]
-[image: "res/tiger.jpg", width=6cm, height=6cm]
+[align: center, bottom]
+[image: "res/tiger.jpg", width=2cm, height=3.5cm]