Section A.14. Images

A.14. Images

A.14.1. FreeImage

Repository: - License: PHP -

FreeImage extension

A.14.1.1 Description

This extension is a wrapper for the FreeImage ( library that allows PHP to support popular graphics image fromats like PNG, BMP, JPEG, TIFF and others as needed by today's multimedia application.

A.14.2. Image_Barcode

Repository: - License: PHP License -

Barcode generation

A.14.2.1 Description

With PEAR::Image_Barcode class you can create a barcode representation of a given string.

This class uses GD function because this the generated graphic can be any of GD supported supported image types.

A.14.3. Image_Color

Repository: PEAR - License: PHP License - By Jason Lotito (lead) - Ulf Wendel (developer)

Manage and handles color data and conversions.

A.14.4. Image_GIS

Repository: PEAR - License: PHP License - By Sebastian Bergmann (lead) - Jan Kneschke (lead)

Visualization of GIS data.

A.14.4.1 Description

Generating maps on demand can be a hard job as most often you don't have the maps you need in digital form.

But you can generate your own maps based on raw, digital data files which are available for free on the net.

This package provides a parser for the most common format for geographical data, the Arcinfo/E00 format as well as renderers to produce images using GD or Scalable Vector Graphics (SVG).

A.14.5. Image_Graph

Repository: PEAR - License: PHP License - By Stefan Neufeind (lead)

Drawing graphs out of numerical data (traffic, money, ...)

A.14.5.1 Description


  • drawing graphs in various formats (line, bar, points marked by squares/diamonds/triangles/...)

  • multiple graphs in one diagram

  • up to 2 Y-axes

  • flexible Y-value-output-customisation

  • variable ticks for the Y-axes

  • flexible fill-elements

  • grid-support

  • alpha-channel-support

  • ...

A.14.6. Image_GraphViz

Repository: PEAR - License: PHP License - By Sebastian Bergmann (lead)

Interface to AT&T's GraphViz tools

A.14.6.1 Description

The GraphViz class allows for the creation of and the work with directed and undirected graphs and their visualization with AT&T's GraphViz tools.

A.14.7. Image_IPTC

Repository: PEAR - License: PHP License - By Patrick O'Lone (lead)

Extract, modify, and save IPTC data

A.14.7.1 Description

This package provides a mechanism for modifying IPTC header information. The class abstracts the functionality of iptcembed() and iptcparse() in addition to providing methods that properly handle replacing IPTC header fields back into image files.

A.14.8. Image_Remote

Repository: PEAR - License: PHP - By Mika Tuupola (lead)

Retrieve information on remote image files.

A.14.8.1 Description

This class can be used for retrieving size information of remote image files via http without downloading the whole image.

A.14.9. Image_Text

Repository: PEAR - License: PHP License - By Tobias Schlitt (lead)

Image_Text - Advanced text maipulations in images.

A.14.9.1 Description

Image_Text provides a comfortable interface to text manipulations in GD images. Beside common Freetype2 functionality it offers to handle texts in a graphic- or office-tool like way. For example it allows alignment of texts inside a text box, rotation (around the top left corner of a text box or it's center point) and the automatic measurizement of the optimal font size for a given text box.

A.14.10. Image_Tools

Repository: PEAR - License: PHP License - By Tobias Schlitt (lead)

Tool collection for images.

A.14.10.1 Description

A collection of common image manipulations.

A.14.11. Image_Transform

Repository: PEAR - License: PHP License - By Peter Bowyer (lead) - Pierre-Alain Joye (lead)

Provides a standard interface to manipulate images using different libraries

A.14.11.1 Description

This package was written to provide a simpler and cross-library interface to doing image transformations and manipulations.

It provides :

  • support for GD, ImageMagick, Imagick and NetPBM

  • files related functions

  • addText

  • Scale (by length, percentage, maximum X/Y)

  • Resize

  • Rotate (custom angle)

  • Add border (soon)

  • Add shadow (soon)

A.14.12. imagick

Repository: PECL - License: PHP License - By Michael C. Montero (lead) - Christian Stocker (lead)

Provides a wrapper to the ImageMagick/GraphicsMagick library.

A.14.12.1 Description

It's a native php-extension. See the examples in the examples/ directory for some hints on how to use it. A compiled windows extension is available at You need the ImageMagick libraries from to get it running.

    PHP 5 Power Programming
    PHP 5 Power Programming
    ISBN: 013147149X
    EAN: 2147483647
    Year: 2003
    Pages: 240

    Similar book on Amazon © 2008-2017.
    If you may any questions please contact us: