Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
This repository was archived by the owner on Aug 26, 2024. It is now read-only.
/WatimagePublic archive

🖼️ PHP image manipulation class

License

NotificationsYou must be signed in to change notification settings

elboletaire/Watimage

Repository files navigation

Build statusCode coverageLicenseLatest Stable VersionTotal DownloadsCode Climate

Watimage is a group of PHP classes to help you resize, rotate, apply filters,watermarks and a lot more of things to your images using the PHP's GD library.

It was initially a CakePHP component, later became a simple Vendor class and nowis a powerful set of classes to alter images.

And it maintains the transparencies in every scenario.

Requirements

You need php > 5.4 and thephp GDpackage installed.

With aptitude:

sudo apt-get install php5-gd

With yum:

sudo yum install php-gd

Installing

With composer:

composer require elboletaire/watimage:~2.0.0

Check out the Watimage pages formore information about installation.

Usage

See all the information you need to knowat the Watimage pages

API

Check outthe APIat the Watimage pages.

Examples

There are lot of examples at theexamples folder, plus a lot more of examplesand tutorialsin the Watimage pages.

Before running the given examples, you need tocomposer install fromWatimage root folder in order to get composer's autoloader downloaded intovendor folder.

composer installcd examplesphp Image.phpphp Watermark.phpphp Watimage.php

You can also put theWatimage folder in your local webhost webroot dir andpoint there your browser.

Testing

Please, see the information about testing inthe Watimage pages.

Patches & Features

  • Fork
  • Mod, fix
  • Test - this is important, so it's not unintentionally broken
  • Commit - do not mess with license, todo, version, etc. (if you do change any, bump them into commits oftheir own that I can ignore when I pull)
  • Pull request - bonus point for topic branches

Bugs & Feedback

See theissues section.

Changelog

Check out thereleases on github.They have different order than expected because I've created tags recently tonot loose them and to have the whole changelog there.

LICENSE

SeeLICENSE.md.


[8]ページ先頭

©2009-2025 Movatter.jp