Auto generate images for fanspage
OS X & Linux:
git clone https://github.com/BlackHoleSecurity/simpleimage.git
cd simpleimage
composer install
Windows:
git clone https://github.com/BlackHoleSecurity/simpleimage.git
cd simpleimage
composer install
Edit and config your api key at src/Unsplash.php or use default background instead src/assets
require __DIR__.'/vendor/autoload.php';
use Bhsec\SimpleImage\Gambar;
use Bhsec\SimpleImage\Unsplash;
$draw = Gambar('Hello world', 'Dark', 'FSXE300.ttf'); // text, unsplash, font
$draw->getResult('result.png', image/png', 100); // outname, mime, quality
Cvar1984 – @E13371984 – gedzsarjuncomuniti@gmail.com
Distributed under the MIT license. See LICENSE
for more information.
https://github.com/BlackHoleSecurity/simpleimage
- Fork it (https://github.com/BlackHoleSecurity/simpleimage/)
- Add your changes (
git add foo/bar
) - Commit your changes (
git commit -m 'Add some fooBar'
) - Push to the branch (
git push comunity master
) - Create a new Pull Request