From 0e5afb71c4f9ad296d0157d5ecdca0f7665d81f6 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Asbj=C3=B8rn=20Sloth=20T=C3=B8nnesen?= Date: Sun, 22 Apr 2012 11:32:02 +0000 Subject: add extra examples --- python/dkuugvideobig.py | 16 ++++++++++++++++ python/dkuugvideosmall.py | 26 ++++++++++++++++++++++++++ 2 files changed, 42 insertions(+) create mode 100644 python/dkuugvideobig.py create mode 100644 python/dkuugvideosmall.py (limited to 'python') diff --git a/python/dkuugvideobig.py b/python/dkuugvideobig.py new file mode 100644 index 0000000..050876e --- /dev/null +++ b/python/dkuugvideobig.py @@ -0,0 +1,16 @@ +from label import label + +l = label(2500, width=720, landscape=True) +l.set_fontsize(600) +l.text((7, 10), "DKUUG") +l.save('dkuugvideobig_dkuug.png') + +l = label(2200, width=720, landscape=True) +l.set_fontsize(600) +l.text((7, 10), "VIDEO") +l.save('dkuugvideobig_video.png') + +l = label(1800, width=720, landscape=True) +l.set_fontsize(600) +l.text((7, 10), "KIT 1") +l.save('dkuugvideobig_kit1.png') diff --git a/python/dkuugvideosmall.py b/python/dkuugvideosmall.py new file mode 100644 index 0000000..fdd20b6 --- /dev/null +++ b/python/dkuugvideosmall.py @@ -0,0 +1,26 @@ +from label import label + +l = label(1250, landscape=True) +l.set_fontsize(300) +l.text((7, 10), "DKUUG") +l.save('dkuugvideosmall_dkuug.png') + +l = label(1100, landscape=True) +l.set_fontsize(300) +l.text((7, 10), "VIDEO") +l.save('dkuugvideosmall_video.png') + +l = label(1000, landscape=True) +l.set_fontsize(300) +l.text((7, 10), "KIT 1") +l.save('dkuugvideosmall_kit1.png') + +l = label(1000, landscape=True) +l.set_fontsize(300) +l.text((7, 10), "KIT 2") +l.save('dkuugvideosmall_kit2.png') + +l = label(950, landscape=True) +l.set_fontsize(300) +l.text((7, 10), "KIT 3") +l.save('dkuugvideosmall_kit3.png') -- cgit v1.2.1