Is there any way to use morphology with PHP? I see no reference to it at php.net.
See:
http://www.imagemagick.org/Usage/morphology/
http://www.fmwconcepts.com/imagemagick/ ... /index.php
Morpology with PHP?
Morpology with PHP?
DJ Mike's Tutorials: PHP
ImageMagick Functions
http://eclecticdjs.com/mike/tutorials/p ... /index.php
ImageMagick Functions
http://eclecticdjs.com/mike/tutorials/p ... /index.php
- anthony
- Posts: 8883
- Joined: 2004-05-31T19:27:03-07:00
- Authentication code: 8675308
- Location: Brisbane, Australia
Re: Morpology with PHP?
The imagick API is unfortunately old, and until someone takes ownership and decided to update it it will probably remain that way. Most people are using exec() calls to run IM commands to do the image processing instead.
ASIDE...
In IMv7 I am planing to implement imagemagick co-processing. That is running a background IM process using proc_open(), and then sending that co-process image processing requests to read/write/process images under the control of the PHP script (avoiding any need for temporari files and multiple commands). This method should allow much better image control handling in the future, from both PHP, shell, or other languages, without needing a special API library developed for each language.
See http://www.imagemagick.org/Usage/bugs/I ... ipting.txt for the proposed programming for this.
IMv7 however is in alpha level development and many take some time to complete.
ASIDE...
In IMv7 I am planing to implement imagemagick co-processing. That is running a background IM process using proc_open(), and then sending that co-process image processing requests to read/write/process images under the control of the PHP script (avoiding any need for temporari files and multiple commands). This method should allow much better image control handling in the future, from both PHP, shell, or other languages, without needing a special API library developed for each language.
See http://www.imagemagick.org/Usage/bugs/I ... ipting.txt for the proposed programming for this.
IMv7 however is in alpha level development and many take some time to complete.
Anthony Thyssen -- Webmaster for ImageMagick Example Pages
https://imagemagick.org/Usage/
https://imagemagick.org/Usage/