NekoGD

Results 1 to 2 of 2
  1. #1
    Novice LePox is offline
    MemberRank
    Mar 2014 Join Date
    3Posts

    NekoGD

    NekoGD is a Library for easier implementation of the PHPGD feature.
    Features
    • Background
      - Transparent
      - Image
      - Color
    • Watermark
    • Text
    • Arc
    • Rotate
    • Gradient

    Example
    PHP Code:
    <?php
      
    require_once('nekogd_library.php');

      try {

          
    $gd = new NekoGD();

          
    $gd->config('png''120''120''Test Image');
        
    $gd->text('assets/Yahoo Font.ttf''b55050''15');

        
    $gd->bgc('efefef')->write('Image!''0,30');
        
    $gd->watermark('assets/watermark.png');

        echo 
    $gd->output();

      } catch (
    Exception $e) {
          echo 
    $e->getMessage();
      }
     
    ?>
    Download: Here
    GitHub: Here
    Last edited by LePox; 25-03-14 at 09:09 AM.


  2. #2
    Phoenix InMemory is offline
    MemberRank
    Apr 2010 Join Date
    EnglandLocation
    491Posts

    Re: NekoGD

    Any chance of text centering? Last I checked it was a pain in the ass to do ^_^



Advertisement