convert: unrecognized option `-morphology'

Questions and postings pertaining to the usage of ImageMagick regardless of the interface. This includes the command-line utilities, as well as the C and C++ APIs. Usage questions are like "How do I use ImageMagick to create drop shadows?".
Post Reply
agriz
Posts: 237
Joined: 2011-10-01T02:21:30-07:00
Authentication code: 8675308

convert: unrecognized option `-morphology'

Post by agriz »

Is there any relative option available on ImageMagick 6.5.4-7 2012-05-07 Q16 for `-morphology'
my yum repo does not have update for newer version of imagemagick.
User avatar
GreenKoopa
Posts: 457
Joined: 2010-11-04T17:24:08-07:00
Authentication code: 8675308

Re: convert: unrecognized option `-morphology'

Post by GreenKoopa »

The changelog says that version is over four years old.
agriz
Posts: 237
Joined: 2011-10-01T02:21:30-07:00
Authentication code: 8675308

Re: convert: unrecognized option `-morphology'

Post by agriz »

if i remove the yum version of imagemagick, how do i install Imagemagick with all dependencies in the same path?
my convert path is /usr/bin/convert
User avatar
fmw42
Posts: 25562
Joined: 2007-07-02T17:14:51-07:00
Authentication code: 1152
Location: Sunnyvale, California, USA

Re: convert: unrecognized option `-morphology'

Post by fmw42 »

agriz wrote:Is there any relative option available on ImageMagick 6.5.4-7 2012-05-07 Q16 for `-morphology'
my yum repo does not have update for newer version of imagemagick.
IM 6.5.4.7 only had limited -morphology functions. search the changelog for morphology. see http://www.imagemagick.org/script/changelog.php
User avatar
fmw42
Posts: 25562
Joined: 2007-07-02T17:14:51-07:00
Authentication code: 1152
Location: Sunnyvale, California, USA

Re: convert: unrecognized option `-morphology'

Post by fmw42 »

agriz wrote:if i remove the yum version of imagemagick, how do i install Imagemagick with all dependencies in the same path?
my convert path is /usr/bin/convert
Without a RPM, that is a hard task. You have to install each delegate library and be sure that it installed, since many delegates need dependencies that have to be installed first. Once you have all delegates installed, then you can install IM from source. See

http://www.imagemagick.org/script/binary-releases.php
http://www.imagemagick.org/script/insta ... e.php#unix
http://www.imagemagick.org/script/advan ... lation.php
agriz
Posts: 237
Joined: 2011-10-01T02:21:30-07:00
Authentication code: 8675308

Re: convert: unrecognized option `-morphology'

Post by agriz »

fmw42 wrote:
agriz wrote:if i remove the yum version of imagemagick, how do i install Imagemagick with all dependencies in the same path?
my convert path is /usr/bin/convert
Without a RPM, that is a hard task. You have to install each delegate library and be sure that it installed, since many delegates need dependencies that have to be installed first. Once you have all delegates installed, then you can install IM from source. See

http://www.imagemagick.org/script/binary-releases.php
http://www.imagemagick.org/script/insta ... e.php#unix
http://www.imagemagick.org/script/advan ... lation.php
Can you name the dependencies? Or have you written any tutorial on your site about installing ImageMagick?
agriz
Posts: 237
Joined: 2011-10-01T02:21:30-07:00
Authentication code: 8675308

Re: convert: unrecognized option `-morphology'

Post by agriz »

Code: Select all

rpmbuild --rebuild --target x86_64 (http://www.imagemagick.org/download/linux/CentOS/x86_64/)ImageMagick-6.8.6-9.x86_64.rpm

Code: Select all

rpm -ivh ImageMagick-6.8.6-9.x86_64.rpm
will it work?
User avatar
fmw42
Posts: 25562
Joined: 2007-07-02T17:14:51-07:00
Authentication code: 1152
Location: Sunnyvale, California, USA

Re: convert: unrecognized option `-morphology'

Post by fmw42 »

I use a Mac and install all the delegates I need using MacPorts, then install IM from source. So I do not know much about Linux.
User avatar
anthony
Posts: 8883
Joined: 2004-05-31T19:27:03-07:00
Authentication code: 8675308
Location: Brisbane, Australia

Re: convert: unrecognized option `-morphology'

Post by anthony »

I found the easiest way is to install the normal ImageMagick-develop RPM, then remove it.
That will get you most if the dependancys you need to build your own RPM.

See Build RPM notes in
http://www.imagemagick.org/Usage/api/#rpms
Anthony Thyssen -- Webmaster for ImageMagick Example Pages
https://imagemagick.org/Usage/
Post Reply