This site is an attempt to provide a working example of every function in the Imagick extension library. The examples are split into the categories:

  • Imagick - covers all the methods of the Imagick class which how to modify pixel based images.
  • ImagickDraw - covers the ImagickDraw class which allows drawing vector based images.
  • ImagickPixel - the ImagickPixel class represents colors, and this category shows how colors are represented in Imagick.
  • ImagickPixelOperator - allows accessing and modifying the pixels directly from PHP.
  • ImagickKernel - used by morphology and filter functions.
  • Tutorial - a set of more advanced examples that show how some complex effects can be achieved with Imagick.

All of the source code for this site is available on Github, with most of the examples split by category Imagick , ImagickDraw, ImagickPixel, ImagickPixelIterator and tutorials. The code for the more complicated examples has it's source in the controller

If you find any issues with this site, or if you find any example missing, or think something needs covering in more detail, please raise it as an issue on Github.

2nd Jan 2019 - phpimagick has been moved to a new containerised hosting environment. If you see any issues, they are probably related to that, so please let me know by opening an issue.

7th Jan 2019 - phpimagick is now being deployed by CI tools.

This site is an attempt to provide a working example of every function in the Imagick extension library. The examples are split into the categories:

  • Imagick - covers all the methods of the Imagick class which how to modify pixel based images.
  • ImagickDraw - covers the ImagickDraw class which allows drawing vector based images.
  • ImagickPixel - the ImagickPixel class represents colors, and this category shows how colors are represented in Imagick.
  • ImagickPixelOperator - allows accessing and modifying the pixels directly from PHP.
  • ImagickKernel - used by morphology and filter functions.
  • Tutorial - a set of more advanced examples that show how some complex effects can be achieved with Imagick.

All of the source code for this site is available on Github, with most of the examples split by category Imagick , ImagickDraw, ImagickPixel, ImagickPixelIterator and tutorials. The code for the more complicated examples has it's source in the controller

If you find any issues with this site, or if you find any example missing, or think something needs covering in more detail, please raise it as an issue on Github.

2nd Jan 2019 - phpimagick has been moved to a new containerised hosting environment. If you see any issues, they are probably related to that, so please let me know by opening an issue.

7th Jan 2019 - phpimagick is now being deployed by CI tools.