PHP Classes

Jaguar: Draw graphics and manipulate images

Recommend this page to a friend!
  Info   Screenshots   View files Files   Install with Composer Install with Composer   Download Download   Reputation   Support forum   Blog    
Last Updated Ratings Unique User Downloads Download Rankings
2025-05-08 (8 days ago) RSS 2.0 feedStarStarStar 53%Total: 251 All time: 7,916 This week: 35Up
Version License PHP version Categories
jaguar 1.3.15MIT/X Consortium ...5.3PHP 5, Graphics
Description 

Author

This package can be used to draw graphics and manipulate images.

It can perform several types of manipulation of images in the formats JPEG, PNG, GIF and GD2, like posterize, grey scale, overlay, edge detection, blur, antique, bevel, etc..

It can also perform several types of graphic drawing operations on images like drawing text, borders, pixels, gradients, and polygons using brushes of many styles.

Picture of Hyyan Abo Fakher
Name: Hyyan Abo Fakher <contact>
Classes: 1 package by
Country: Germany Germany

 

Details

# Jaguar [![Build Status](https://travis-ci.org/hyyan/jaguar.png?branch=master)](https://travis-ci.org/hyyan/jaguar) [![Latest Stable Version](https://poser.pugx.org/hyyan/jaguar/v/stable.png)](https://packagist.org/packages/hyyan/jaguar) PHP 5.3 Graphic Library For Super Fast Image Manipulation And Drawing Using The Gd Library ## Requirements The Jaguar library has the following requirements: - PHP 5.3+ - Gd2 Bundled Version (2.0.28 or later) with freetype support ## Features - Supports for famous formats (JPEG,PNG,GIF,GD2) and new formats can be added easily [see example](http://jaguar.readthedocs.org/en/latest/usage/Canvas.html#adding-new-foramts) - 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 ```json { "require-dev": { "hyyan/jaguar": "1.*" } } ``` ## Sample Usage ```php 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 - [Hosted by Read The Docs](http://jaguar.readthedocs.org/) ## License Jaguar is open-sourced package licensed under the MIT License. ## Contributions ## Your contributions are more than welcome ! 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](http://www.github.com/hyyan/jaguar-docs)

Screenshots (12)  
  • colorslice.jpg
  • antique.jpg
  • bevel.jpg
  • BlackAndWhite.jpg
  • boost.jpg
  • monopin.jpg
  • OutlinedText.jpg
  • posterize.jpg
  • PrewittNegate.jpg
  • selection.jpg
  • sketchy.jpg
  • watermark.jpg
Videos (1)  
  Files folder image Files (255)  
File Role Description
Files folder imagesrc (1 directory)
Files folder imagetests (1 file, 1 directory)
Accessible without login Plain text file .travis.yml Data Auxiliary data
Accessible without login Plain text file CHANGELOG.md Data Auxiliary data
Accessible without login Plain text file composer.json Data Auxiliary data
Accessible without login Plain text file LICENSE Data Auxiliary data
Accessible without login Plain text file phpunit.xml.dist Data Auxiliary data
Accessible without login Plain text file README.md Data Auxiliary data

The PHP Classes site has supported package installation using the Composer tool since 2013, as you may verify by reading this instructions page.
Install with Composer Install with Composer
 Version Control Unique User Downloads Download Rankings  
 95%
Total:251
This week:0
All time:7,916
This week:35Up
 User Ratings  
 
 All time
Utility:83%StarStarStarStarStar
Consistency:58%StarStarStar
Documentation:-
Examples:-
Tests:58%StarStarStar
Videos:-
Overall:53%StarStarStar
Rank:2247