Download the PHP package ride/lib-image without Composer

On this page you can find all versions of the php package ride/lib-image. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.

FAQ

After the download, you have to make one include require_once('vendor/autoload.php');. After that you have to import the classes with use statements.

Example:
If you use only one package a project is not needed. But if you use more then one package, without a project it is not possible to import the classes with use statements.

In general, it is recommended to use always a project to download your libraries. In an application normally there is more than one library needed.
Some PHP packages are not free to download and because of that hosted in private repositories. In this case some credentials are needed to access such packages. Please use the auth.json textarea to insert credentials, if a package is coming from a private repository. You can look here for more information.

  • Some hosting areas are not accessible by a terminal or SSH. Then it is not possible to use Composer.
  • To use Composer is sometimes complicated. Especially for beginners.
  • Composer needs much resources. Sometimes they are not available on a simple webspace.
  • If you are using private repositories you don't need to share your credentials. You can set up everything on our site and then you provide a simple download link to your team member.
  • Simplify your Composer build process. Use our own command line tool to download the vendor folder as binary. This makes your build process faster and you don't need to expose your credentials for private repositories.
Please rate this library. Is it a good library?

Informations about the package lib-image

Ride: Image Library

Image processing library of the PHP Ride framework.

You need GD or Imagick on your server to use this library.

What's In This Library

Image

The Image interface is the base of this library.

Through this interface, you can:

The DrawImage interface extends from Image and adds methods to draw points, lines, ... on the image.

Implementations are available for GD and Imagick.

ImageFactory

The ImageFactory interface offers a generic way to create the instances needed to work with images.

A generic implementation is provided through GenericImageFactory.

Point

The Point interface is to define a coordinate on an X-Y axis. It's used for image manipulations. A point can go positive or negative on an axis.

A generic implementation is provided through GenericPoint.

Dimansion

The Dimension interface defines a dimension of an image or manipulation.

A generic implementation is provided through GenericDimension.

Transformation

The Transformation interface offers a way to apply batch image manipulations.

There are implementations available for crop, resize, flip, blur, grayscale, watermark and chain manipulations.

Blur

Blurs your image.

This transformation has following options:

Crop

Crops your image by resizing it first to an optimal dimension.

This transformation requires the following options:

Flip

Flips your image over the X-axis and/or the Y-axis.

This transformation requires the following options:

Grayscale

Converts your image to a grayscaled image.

This transformations has no options.

Resize

Resizes your image to fit a maximum width and/or height.

This transformation requires one of the following options:

Watermark

Adds a watermark to your image.

This transformation has the following options:

Optimizer

The Optimizer interface can be used to implement optimalizations on image files. It's intented to optimize the file sizes but can be used for other purposes as well.

A generic implementation is provided through GenericOptimizer.

GenericOptimizer

The generic image optimizer uses the following binaries on your system:

Note: Unexistant binaries are ignored.

NullOptimizer

No optimization is performed by this optimizer.

Color

The Color interface offers an easy way to work with colors.

The interface is currently implemented for the RGB and the HSL color model.

ColorScheme

The ColorScheme interface is to generate a number of colors for a specified base color.

The interface is currently implemented for monochomatic and complementary schemes.

Code Sample

Check this code sample to see the possibilities of this library:

Implementations

For more examples, you can check the following implementation of this library:

Installation

You can use Composer to install this library.


All versions of lib-image with dependencies

PHP Build Version
Package Version
Requires ride/lib-system Version ^1.0.0
Composer command for our command line client (download client) This client runs in each environment. You don't need a specific PHP version etc. The first 20 API calls are free. Standard composer command

The package ride/lib-image contains the following files

Loading the files please wait ....