summaryrefslogtreecommitdiff
path: root/api/test1.php
diff options
context:
space:
mode:
authorMinteck <contact@minteck.org>2022-11-11 23:47:49 +0100
committerMinteck <contact@minteck.org>2022-11-11 23:47:49 +0100
commit209356b8ade1920b50d1d3a1a5e121c6623d167b (patch)
tree5301396987d1510f715a0b1c24754873af19e1dc /api/test1.php
parent2c4ae43e688a9873e86211ea0e7aeb9ba770dd77 (diff)
downloadpluralconnect-209356b8ade1920b50d1d3a1a5e121c6623d167b.tar.gz
pluralconnect-209356b8ade1920b50d1d3a1a5e121c6623d167b.tar.bz2
pluralconnect-209356b8ade1920b50d1d3a1a5e121c6623d167b.zip
Update
Diffstat (limited to 'api/test1.php')
-rw-r--r--api/test1.php8
1 files changed, 8 insertions, 0 deletions
diff --git a/api/test1.php b/api/test1.php
new file mode 100644
index 0000000..6d25f85
--- /dev/null
+++ b/api/test1.php
@@ -0,0 +1,8 @@
+<?php
+
+$img = imagecreate(2048, 1024);
+$color = imagecolorallocate($img, 255, 0, 0);
+
+header("Content-type: image/jpeg");
+imagejpeg($img);
+imagedestroy($img); \ No newline at end of file