init without trunk

This commit is contained in:
Kevin Adametz 2020-07-09 12:49:32 +02:00
parent ed24ac4994
commit bb809e7233
14652 changed files with 177862 additions and 94817 deletions

View file

@ -0,0 +1,18 @@
<?php
require_once '../autoload.php';
use Gregwar\Image\Image;
/*
* Use the cache with a from-scratch image
*/
echo
Image::create(300, 350)
->fill('rgb(255, 150, 150)')
->circle(150, 150, 200, 'red', true)
->write('./fonts/CaviarDreams.ttf', 'Hello world!', 150, 150, 20, 0, 'white', 'center')
->jpeg();
echo "\n";