定制 hyyan/jaguar 二次开发

按需修改功能、优化性能、对接业务系统,提供一站式技术支持

邮箱:yvsm@zunyunkeji.com | QQ:316430983 | 微信:yvsm316

hyyan/jaguar

最新稳定版本:v1.3.0

Composer 安装命令:

composer require hyyan/jaguar

包简介

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

README 文档

README

Build Status Latest Stable Version

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
  • 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

{
   "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.

##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

统计信息

  • 总下载量: 2.12k
  • 月度下载量: 0
  • 日度下载量: 0
  • 收藏数: 11
  • 点击次数: 4
  • 依赖项目数: 0
  • 推荐数: 0

GitHub 信息

  • Stars: 11
  • Watchers: 1
  • Forks: 5
  • 开发语言: PHP

其他信息

  • 授权协议: MIT
  • 更新时间: 2013-12-29

承接程序开发

PHP开发

VUE

Vue开发

前端开发

小程序开发

公众号开发

系统定制

数据库设计

云部署

网站建设

安全加固