A simple patch for wand/magick-image.h

The MagickWand interface is a new high-level C API interface to ImageMagick core methods. We discourage the use of the core methods and encourage the use of this API instead. Post MagickWand questions, bug reports, and suggestions to this forum.
Post Reply
mkoppanen
Posts: 309
Joined: 2007-06-09T07:06:32-07:00

A simple patch for wand/magick-image.h

Post by mkoppanen »

Fixes "warning: implicit declaration of function 'MagickLiquidRescaleImage'" when compiling against ImageMagick:

Code: Select all

--- magick-image.h      2008-03-05 01:21:49.000000000 +0000
+++ magick-image.h.modified     2008-04-16 19:54:48.000000000 +0100
@@ -170,6 +170,8 @@
   MagickLevelImageChannel(MagickWand *,const ChannelType,const double,
     const double,const double),
   MagickLinearStretchImage(MagickWand *,const double,const double),
+  MagickLiquidRescaleImage(MagickWand *wand, const unsigned long columns,
+    const unsigned long rows,const double delta_x, const double rigidity),
   MagickMagnifyImage(MagickWand *),
   MagickMapImage(MagickWand *,const MagickWand *,const MagickBooleanType),
   MagickMedianFilterImage(MagickWand *,const double),
Mikko Koppanen
My blog: http://valokuva.org
User avatar
magick
Site Admin
Posts: 11064
Joined: 2003-05-31T11:32:55-07:00

Re: A simple patch for wand/magick-image.h

Post by magick »

We applied your patch to ImageMagick 6.4.0-8 Beta available sometime tomorrow. Thanks.
Post Reply