Is MagickCore accessible?

Questions and postings pertaining to the development of ImageMagick, feature enhancements, and ImageMagick internals. ImageMagick source code and algorithms are discussed here. Usage questions which are too arcane for the normal user list should also be posted here.
Post Reply
Iland

Is MagickCore accessible?

Post by Iland »

Hello!
Is there MagickCore API available in distributed sources or packages? I've get linkage problems when I tried to compile MagickCore example code from http://www.imagemagick.org/script/magick-core.php...
User avatar
magick
Site Admin
Posts: 11064
Joined: 2003-05-31T11:32:55-07:00

Re: Is MagickCore accessible?

Post by magick »

What sort of linkage problems are you getting?
Iland

Re: Is MagickCore accessible?

Post by Iland »

magick wrote:What sort of linkage problems are you getting?
undefined reference to `MagickCoreGenesis'
undefined reference to `MagickCoreTerminus'
User avatar
magick
Site Admin
Posts: 11064
Joined: 2003-05-31T11:32:55-07:00

Re: Is MagickCore accessible?

Post by magick »

You have an older version of ImageMagick, try InitializeMagick() and DestroyMagick() instead of MagickCoreGenesis() and MagickCoreTerminus() respectively.
Iland

Re: Is MagickCore accessible?

Post by Iland »

6.3.3 is so old? So... Is any other obsolete and replaced functions described in current documentation?
User avatar
magick
Site Admin
Posts: 11064
Joined: 2003-05-31T11:32:55-07:00

Re: Is MagickCore accessible?

Post by magick »

InitializeMagick() and DestroyMagick() are not obsolete, they work as they always have. The web site always reflects the current version of ImageMagick which prefers MagickCoreGenesis() and MagickCoreTerminus().
F_S
Posts: 3
Joined: 2011-04-19T12:09:45-07:00
Authentication code: 8675308

Re: Is MagickCore accessible?

Post by F_S »

And how to update to "normal version" of ImageMagick?
(CentOS)
"yum update ImageMagick devel" tells that no updates available. =\
User avatar
anthony
Posts: 8883
Joined: 2004-05-31T19:27:03-07:00
Authentication code: 8675308
Location: Brisbane, Australia

Re: Is MagickCore accessible?

Post by anthony »

The CentOS (like RHEL) version 5, uses a VERY old version of imagemagick.

You may need to installed a personal version, or create a new RPM from sources.

RPM creation...
http://www.imagemagick.org/Usage/api/#building

Personal Version...
http://www.imagemagick.org/Usage/api/#personal
Anthony Thyssen -- Webmaster for ImageMagick Example Pages
https://imagemagick.org/Usage/
Post Reply