PHP code example of mike42 / gfx-php

1. Go to this page and download the library: Download mike42/gfx-php library. Choose the download type require.

2. Extract the ZIP file and open the index.php.

3. Add this code to the index.php.
    
        
<?php
require_once('vendor/autoload.php');

/* Start to develop here. Best regards https://php-download.com/ */

    

mike42 / gfx-php example snippets



use Mike42\GfxPhp\Image;
$img = Image::fromFile("colorwheel256.png");
$img -> write("test.gif");
bash
composer install mike42/gfx-php