Skip to content

Navigation Menu

Sign in
Appearance settings

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
Appearance settings

An easy to use image manipulation library for PHP that can create and edit many formats including animated GIFs, PSDs, PDFs and more.

Notifications You must be signed in to change notification settings

Pamblam/EasyImage

Folders and files

NameName
Last commit message
Last commit date

Latest commit

History

19 Commits

Repository files navigation

EasyImage v2.8 Logo

By: Robert Parham | License: wtfpl.net WTFPL | Version: 2.8

EasyImage is an easy to use image manipulation library written entirely in PHP and implemented in a single PHP class.

This library is written for a tool that is hosted on a legacy system. Ideally, you should use a tool that implements ImageMagick.

It's Easy!

The focus is on ease of use.

  • You need only include a single class file.
  • You don't need ImageMagick. This means EasyImage is going to be slightly slower than an ImageMagick solution, but will be more portable.
  • No clean up! Temporary resources are destroyed automagically.
  • Uses a single constructor for all image types, EasyImage::Create($file), so you don't have to remember a bunch of different function names.
  • All editing methods are chainable, so you can achieve most image editing functionality in a single line. $img = EasyImage::Create($file)->scale(100)->borderRadius();.
  • Output is a breeze too. To send the image to the browser simply echo the class instance, EasyImage will take care of headers and everything. echo EasyImage::Create($file)->greyScale();. There are also options to save the image locally or force it as a download.
  • Works on ancient versions of PHP.

It can do anything!

(Almost...)

  • Reads and writes Animated gifs.
  • Reads Photoshop project files (PSD).
  • Writes to PDF format.
  • Resize, skew, layer, distort, replace colors, add watermarks, create text, create gradients, and a ton more.
  • Get information about the image such as size, mime type, a list of colors in the image, et cetera.
  • (削除) Call and wish you a happy birthday. (削除ここまで) Feature still in beta.

Be sure to check out the docs here to see the complete list of features and functionality.

About

An easy to use image manipulation library for PHP that can create and edit many formats including animated GIFs, PSDs, PDFs and more.

Topics

Resources

Stars

Watchers

Forks

Packages

No packages published

Languages

AltStyle によって変換されたページ (->オリジナル) /