Forgot to add files..

This commit is contained in:
Kasper Rynning-Tønnesen
2015-11-25 21:10:16 +01:00
parent 05ac3f8c1c
commit 5b50178639

14
php/imageblob.php Normal file
View File

@@ -0,0 +1,14 @@
<?php
$url = file_get_contents("https://img.youtube.com/vi/" . $_POST['id'] . "/mqdefault.jpg");
$image = new Imagick();
$image->readImageBlob($url);
$image->blurImage(30,50);
$output = $image->getimageblob();
echo base64_encode($output);
?>