2017 © Pedro Peláez
 

library jaguar

PHP 5.3 Graphic Library For Super Fast Image Manipulation And Drawing Using The Gd Library.

image

hyyan/jaguar

PHP 5.3 Graphic Library For Super Fast Image Manipulation And Drawing Using The Gd Library.

  • Monday, June 11, 2018
  • by hyyan
  • Repository
  • 1 Watchers
  • 10 Stars
  • 1,271 Installations
  • PHP
  • 0 Dependents
  • 0 Suggesters
  • 4 Forks
  • 2 Open issues
  • 6 Versions
  • 1 % Grown

The README.md

Jaguar

Build Status Latest Stable Version, (*1)

PHP 5.3 Graphic Library For Super Fast Image Manipulation And Drawing Using The Gd Library, (*2)

Requirements

The Jaguar library has the following requirements: - PHP 5.3+ - Gd2 Bundled Version (2.0.28 or later) with freetype support, (*3)

Features

  • Supports for famous formats (JPEG,PNG,GIF,GD2) and new formats can be added easily see example
  • Full Drawing API for drawing all kind of shapes from pixels to polygons
    • Brushes(Styles) supports for drawing complex and creative shapes (Brush,DashlineStyle,FillStyle,ThicklineStyle,...)
    • Advanced Texts drawers (Shadow,Outlined,...)
    • Advanced Borders drawers (in,out,fit,...)
  • Gradients Generator (Radial,Linear,Rectangle,Diamnond,...)
  • Actions (filters) framework with about 100 non pixel based actions which are superfast (no for loop) including advanced filters like:
    • Posterize
    • BlackAndWhite
    • Overlay
    • More than (30) Edge Detection filter including (Soble,Prewitt,Emboss,Gradient,laplacian,...)
    • PartialBlur
    • Antique
    • Multiply
    • Bevel
    • Screen
    • Wavy
    • ....... (And list goes on) ....

Installation

Installation via composer, (*4)

{
   "require-dev": {
        "hyyan/jaguar": "1.*"
   }
}

Sample Usage

use Jaguar\Canvas,
    Jaguar\Transformation,
    Jaguar\Dimension,
    Jaguar\Action\Posterize;

$transformation = new Transformation(new Canvas('/path/to/image'));
$transformation->resize(new Dimension(300,300))
               ->apply(new Posterize(40))
               ->watermark(new Canvas('/path/to/watermark'))
               ->getCanvas()
               ->save('/save/somewhere')
               ->show(); // send the result to the browser

Documentation

License

Jaguar is open-sourced package licensed under the MIT License., (*5)

Contributions

Your contributions are more than welcome !, (*6)

Start by forking Jaguar repository, write your feature, fix bugs, and send a pull request. If you modify Jaguar API, please update the API documentation in the Jaguar Docs repository, (*7)

The Versions

11/06 2018

dev-master

9999999-dev http://jaguar.readthedocs.org/

PHP 5.3 Graphic Library For Super Fast Image Manipulation And Drawing Using The Gd Library.

  Sources   Download

MIT

The Requires

  • php >=5.3.2
  • ext-gd *

 

gd image manipulation graphics image processing drawing gd2 image filters charts drawing web2.0 image filters

08/02 2014

v1.3.0

1.3.0.0 http://jaguar.readthedocs.org/

PHP 5.3 Graphic Library For Super Fast Image Manipulation And Drawing Using The Gd Library.

  Sources   Download

MIT

The Requires

  • php >=5.3.2
  • ext-gd *

 

gd image manipulation graphics image processing drawing gd2 image filters charts drawing web2.0 image filters

23/01 2014

v1.2.1

1.2.1.0 http://jaguar.readthedocs.org/

PHP 5.3 Graphic Library For Super Fast Image Manipulation And Drawing Using The Gd Library.

  Sources   Download

MIT

The Requires

  • php >=5.3.2
  • ext-gd *

 

gd image manipulation graphics image processing drawing gd2 image filters charts drawing web2.0 image filters

02/01 2014

v1.2.0

1.2.0.0

PHP 5.3 Graphic Library For Image Manipulation And Drawing.

  Sources   Download

MIT

The Requires

  • php >=5.3.2
  • ext-gd *

 

31/12 2013

v1.1.0

1.1.0.0

PHP 5.3 Graphic Library For Image Manipulation And Drawing.

  Sources   Download

MIT

The Requires

  • php >=5.3.2
  • ext-gd *

 

29/12 2013

v1.0.0

1.0.0.0

PHP 5.3 Graphic Library For Image Manipulation And Drawing.

  Sources   Download

MIT

The Requires

  • php >=5.3.2
  • ext-gd *