• Unfortunately, we have experienced significant hard drive damage that requires urgent maintenance and rebuilding. The forum will be a state of read only until we install our new drives and rebuild all the configurations needed. Please follow our Facebook page for updates, we will be back up shortly! (The forum could go offline at any given time due to the nature of the failed drives whilst awaiting the upgrades.) When you see an Incapsula error, you know we are in the process of migration.

NekoGD

Initiate Mage
Joined
Mar 22, 2014
Messages
3
Reaction score
1
NekoGD is a Library for easier implementation of the PHPGD feature.
Features
  • Background
    - Transparent
    - Image
    - Color
  • Watermark
  • Text
  • Arc
  • Rotate
  • Gradient
Example
PHP:
<?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:
GitHub:
 
Last edited:
Back
Top