Share » Learn » eZ Publish » Image Manipulation with eZ Components

Image Manipulation with eZ Components

Monday 16 January 2006 8:02:00 am

  • Currently 3 out of 5 Stars.
  • 1
  • 2
  • 3
  • 4
  • 5

The eZ Components is designed to simplify building applications with PHP 5.1. For example, they can make a developer's life easier when it comes to image manipulation. With eZ Components, you can analyse and scale images, also apply visual effects and other manipulations to them. The examples are based on the eZ Components rc1 release.

The sample code of this article is available for download.

About the eZ Components

The Image components we take a look at are a unified and consistent interface to functions available in PHP through external programs. Currently, two backend classes ship with eZ Components, which enable you to use the image manipulation programs ImageMagick (the external binary, not ext/imagick of PECL) or the GD extension bundled with PHP. This includes that the code you write with the eZ Components will work with either image library, thus you can switch them transparently without breaking your application. The components are also capable of selecting the most feasible backend for an action, if multiple are available.

Development Environment

In this article we assume that you have your environment already configured for running the eZ Components. Please read the introduction article for installation instructions. Notice that eZ Components need PHP 5.1 to work properly.

36 542 Users on board!

Tutorial menu

Printable

Printer Friendly version of the full article on one page with plain styles

Author(s)