git.cweiske.de
/
paste
/
411.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(initial)
(no commit message)
master
author
Christian Weiske
<cweiske@cweiske.de>
Thu, 19 Jan 2017 12:26:36 +0000
(13:26 +0100)
committer
www-cweiske
<www-cweiske@localhost.localdomain>
Thu, 19 Jan 2017 12:26:36 +0000
(13:26 +0100)
phork0.php
[new file with mode: 0644]
patch
|
blob
diff --git a/phork0.php
b/phork0.php
new file mode 100644
(file)
index 0000000..
43a1095
--- /dev/null
+++ b/
phork0.php
@@ -0,0
+1,10
@@
+<?php
\r
+require 'vendor/autoload.php';
\r
+$imagine = new Imagine\Gd\Imagine();
\r
+$imagine->open('/home/cweiske/Bilder/testbilder/der_hufnagel.jpg')
\r
+ ->thumbnail(
\r
+ new Imagine\Image\Box(520, 269),
\r
+ Imagine\Image\ImageInterface::THUMBNAIL_OUTBOUND
\r
+ )
\r
+ ->save('./test-newslarge.png');
\r
+?>
\ No newline at end of file