Imagine is a OOP library for image manipulation built in PHP 5.3 using the latest best practices and thoughtful design that should allow for decoupled and unit-testable code. ImagineInterface (Imagine\Image\ImagineInterface) and its implementations is the main entry point into Imagine. You may think of it as a factory for Imagine\Image\ImageInterface as it is responsible for creating and opening instances of it and also for instantiating Imagine\Image\FontInterface object. The main piece of image processing functionality is concentrated in the ImageInterface implementations (one per driver - e.g. Imagick\Image). The main idea of Imagine is to avoid driver specific methods spill outside of this class and couple of other internal interfaces (Draw\DrawerInterface), so that the filters and any other image manipulations can operate on ImageInterface through its public API.

Features

  • To open an existing image, all you need is to instantiate an image factory
  • Resize an image is very easy
  • You can also specify the filter you want as second argument
  • Imagine also lets you create new, empty images
  • Images are saved given a path and optionally options
  • You can optionally specify the fill color for the new image

Project Samples

Project Activity

See All Activity >

Follow Imagine

Imagine Web Site

Other Useful Business Software
Our Free Plans just got better! | Auth0 Icon
Our Free Plans just got better! | Auth0

With up to 25k MAUs and unlimited Okta connections, our Free Plan lets you focus on what you do best—building great apps.

You asked, we delivered! Auth0 is excited to expand our Free and Paid plans to include more options so you can focus on building, deploying, and scaling applications without having to worry about your security. Auth0 now, thank yourself later.
Try free now
Rate This Project
Login To Rate This Project

User Reviews

Be the first to post a review of Imagine!

Additional Project Details

Programming Language

PHP

Related Categories

PHP Object Oriented Software, PHP Image Processing Software, PHP Image Processing Libraries

Registered

2022-01-10