]> granicus.if.org Git - imagemagick/commitdiff
(no commit message)
authorcristy <urban-warrior@git.imagemagick.org>
Sat, 29 May 2010 23:14:26 +0000 (23:14 +0000)
committercristy <urban-warrior@git.imagemagick.org>
Sat, 29 May 2010 23:14:26 +0000 (23:14 +0000)
26 files changed:
Magick++/lib/Drawable.cpp
Magick++/lib/Geometry.cpp
Magick++/lib/Image.cpp
Magick++/lib/Magick++/BlobRef.h
Magick++/lib/Magick++/Color.h
Magick++/lib/Magick++/Drawable.h
Magick++/lib/Magick++/Geometry.h
Magick++/lib/Magick++/Image.h
Magick++/lib/Magick++/ImageRef.h
Magick++/lib/Magick++/Pixels.h
Magick++/lib/Magick++/STL.h
Magick++/lib/Pixels.cpp
Magick++/lib/STL.cpp
Magick++/lib/Thread.cpp
magick/effect.c
magick/feature.c
magick/montage.c
magick/paint.c
magick/quantize.c
magick/resource.c
magick/threshold.c
www/Magick++/Image.fig
www/Magick++/Image.html
www/Magick++/Pixels.html
www/Magick++/STL.html
www/Magick++/index.html

index 3c244e6f6f31e0e7c3466e8ee1bb8fb9356177f6..229e520adb27e27df1f94b92097615f42390172c 100644 (file)
 
 using namespace std;
 
-MagickDLLDecl int Magick::operator == ( const Magick::Coordinate& left_,
+MagickDLLDecl ssize_t Magick::operator == ( const Magick::Coordinate& left_,
                                         const Magick::Coordinate& right_ )
 {
   return ( ( left_.x() == right_.x() ) && ( left_.y() == right_.y() ) );
 }
-MagickDLLDecl int Magick::operator != ( const Magick::Coordinate& left_,
+MagickDLLDecl ssize_t Magick::operator != ( const Magick::Coordinate& left_,
                                         const Magick::Coordinate& right_ )
 {
   return ( ! (left_ == right_) );
 }
-MagickDLLDecl int Magick::operator >  ( const Magick::Coordinate& left_,
+MagickDLLDecl ssize_t Magick::operator >  ( const Magick::Coordinate& left_,
                                         const Magick::Coordinate& right_ )
 {
   return ( !( left_ < right_ ) && ( left_ != right_ ) );
 }
-MagickDLLDecl int Magick::operator <  ( const Magick::Coordinate& left_,
+MagickDLLDecl ssize_t Magick::operator <  ( const Magick::Coordinate& left_,
                                         const Magick::Coordinate& right_ )
 {
   // Based on distance from origin
   return  ( (sqrt(left_.x()*left_.x() + left_.y()*left_.y())) <
             (sqrt(right_.x()*right_.x() + right_.y()*right_.y())) );
 }
-MagickDLLDecl int Magick::operator >= ( const Magick::Coordinate& left_,
+MagickDLLDecl ssize_t Magick::operator >= ( const Magick::Coordinate& left_,
                                         const Magick::Coordinate& right_ )
 {
   return ( ( left_ > right_ ) || ( left_ == right_ ) );
 }
-MagickDLLDecl int Magick::operator <= ( const Magick::Coordinate& left_,
+MagickDLLDecl ssize_t Magick::operator <= ( const Magick::Coordinate& left_,
                                         const Magick::Coordinate& right_ )
 {
   return ( ( left_ < right_ ) || ( left_ == right_ ) );
@@ -100,32 +100,32 @@ void Magick::Drawable::operator()( MagickCore::DrawingWand * context_ ) const
     dp->operator()( context_ );
 }
 
-MagickDLLDecl int Magick::operator == ( const Magick::Drawable& /*left_*/,
+MagickDLLDecl ssize_t Magick::operator == ( const Magick::Drawable& /*left_*/,
                                         const Magick::Drawable& /*right_*/ )
 {
   return ( 1 );
 }
-MagickDLLDecl int Magick::operator != ( const Magick::Drawable& /*left_*/,
+MagickDLLDecl ssize_t Magick::operator != ( const Magick::Drawable& /*left_*/,
                                         const Magick::Drawable& /*right_*/ )
 {
   return ( 0 );
 }
-MagickDLLDecl int Magick::operator > ( const Magick::Drawable& /*left_*/,
+MagickDLLDecl ssize_t Magick::operator > ( const Magick::Drawable& /*left_*/,
                                        const Magick::Drawable& /*right_*/ )
 {
   return ( 0 );
 }
-MagickDLLDecl int Magick::operator <  ( const Magick::Drawable& /*left_*/,
+MagickDLLDecl ssize_t Magick::operator <  ( const Magick::Drawable& /*left_*/,
                                         const Magick::Drawable& /*right_*/ )
 {
   return  ( 0 );
 }
-MagickDLLDecl int Magick::operator >= ( const Magick::Drawable& left_,
+MagickDLLDecl ssize_t Magick::operator >= ( const Magick::Drawable& left_,
                                         const Magick::Drawable& right_ )
 {
   return ( ( left_ > right_ ) || ( left_ == right_ ) );
 }
-MagickDLLDecl int Magick::operator <= ( const Magick::Drawable& left_,
+MagickDLLDecl ssize_t Magick::operator <= ( const Magick::Drawable& left_,
                                         const Magick::Drawable& right_ )
 {
   return ( ( left_ < right_ ) || ( left_ == right_ ) );
@@ -180,32 +180,32 @@ void Magick::VPath::operator()( MagickCore::DrawingWand * context_ ) const
     dp->operator()( context_ );
 }
 
-MagickDLLDecl int Magick::operator == ( const Magick::VPath& /*left_*/,
+MagickDLLDecl ssize_t Magick::operator == ( const Magick::VPath& /*left_*/,
                                         const Magick::VPath& /*right_*/ )
 {
   return ( 1 );
 }
-MagickDLLDecl int Magick::operator != ( const Magick::VPath& /*left_*/,
+MagickDLLDecl ssize_t Magick::operator != ( const Magick::VPath& /*left_*/,
                                         const Magick::VPath& /*right_*/ )
 {
   return ( 0 );
 }
-MagickDLLDecl int Magick::operator > ( const Magick::VPath& /*left_*/,
+MagickDLLDecl ssize_t Magick::operator > ( const Magick::VPath& /*left_*/,
                                        const Magick::VPath& /*right_*/ )
 {
   return ( 0 );
 }
-MagickDLLDecl int Magick::operator <  ( const Magick::VPath& /*left_*/,
+MagickDLLDecl ssize_t Magick::operator <  ( const Magick::VPath& /*left_*/,
                                         const Magick::VPath& /*right_*/ )
 {
   return  ( 0 );
 }
-MagickDLLDecl int Magick::operator >= ( const Magick::VPath& left_,
+MagickDLLDecl ssize_t Magick::operator >= ( const Magick::VPath& left_,
                                         const Magick::VPath& right_ )
 {
   return ( ( left_ > right_ ) || ( left_ == right_ ) );
 }
-MagickDLLDecl int Magick::operator <= ( const Magick::VPath& left_,
+MagickDLLDecl ssize_t Magick::operator <= ( const Magick::VPath& left_,
                                         const Magick::VPath& right_ )
 {
   return ( ( left_ < right_ ) || ( left_ == right_ ) );
@@ -1402,32 +1402,32 @@ Magick::DrawableBase* Magick::DrawableViewbox::copy() const
 //
 // PathArcArgs
 //
-MagickDLLDecl int Magick::operator == ( const Magick::PathArcArgs& /*left_*/,
+MagickDLLDecl ssize_t Magick::operator == ( const Magick::PathArcArgs& /*left_*/,
                                         const Magick::PathArcArgs& /*right_*/ )
 {
   return ( 1 );
 }
-MagickDLLDecl int Magick::operator != ( const Magick::PathArcArgs& /*left_*/,
+MagickDLLDecl ssize_t Magick::operator != ( const Magick::PathArcArgs& /*left_*/,
                                         const Magick::PathArcArgs& /*right_*/ )
 {
   return ( 0 );
 }
-MagickDLLDecl int Magick::operator > ( const Magick::PathArcArgs& /*left_*/,
+MagickDLLDecl ssize_t Magick::operator > ( const Magick::PathArcArgs& /*left_*/,
                                        const Magick::PathArcArgs& /*right_*/ )
 {
   return ( 0 );
 }
-MagickDLLDecl int Magick::operator <  ( const Magick::PathArcArgs& /*left_*/,
+MagickDLLDecl ssize_t Magick::operator <  ( const Magick::PathArcArgs& /*left_*/,
                                         const Magick::PathArcArgs& /*right_*/ )
 {
   return  ( false );
 }
-MagickDLLDecl int Magick::operator >= ( const Magick::PathArcArgs& left_,
+MagickDLLDecl ssize_t Magick::operator >= ( const Magick::PathArcArgs& left_,
                                         const Magick::PathArcArgs& right_ )
 {
   return ( ( left_ > right_ ) || ( left_ == right_ ) );
 }
-MagickDLLDecl int Magick::operator <= ( const Magick::PathArcArgs& left_,
+MagickDLLDecl ssize_t Magick::operator <= ( const Magick::PathArcArgs& left_,
                                         const Magick::PathArcArgs& right_ )
 {
   return ( ( left_ < right_ ) || ( left_ == right_ ) );
@@ -1553,32 +1553,32 @@ Magick::VPathBase* Magick::PathClosePath::copy() const
 //
 // Path Curveto (Cubic Bezier)
 //
-MagickDLLDecl int Magick::operator == ( const Magick::PathCurvetoArgs& /*left_*/,
+MagickDLLDecl ssize_t Magick::operator == ( const Magick::PathCurvetoArgs& /*left_*/,
                                         const Magick::PathCurvetoArgs& /*right_*/ )
 {
   return ( 1 );
 }
-MagickDLLDecl int Magick::operator != ( const Magick::PathCurvetoArgs& /*left_*/,
+MagickDLLDecl ssize_t Magick::operator != ( const Magick::PathCurvetoArgs& /*left_*/,
                                         const Magick::PathCurvetoArgs& /*right_*/ )
 {
   return ( 0 );
 }
-MagickDLLDecl int Magick::operator > ( const Magick::PathCurvetoArgs& /*left_*/,
+MagickDLLDecl ssize_t Magick::operator > ( const Magick::PathCurvetoArgs& /*left_*/,
                                        const Magick::PathCurvetoArgs& /*right_*/ )
 {
   return ( 0 );
 }
-MagickDLLDecl int Magick::operator <  ( const Magick::PathCurvetoArgs& /*left_*/,
+MagickDLLDecl ssize_t Magick::operator <  ( const Magick::PathCurvetoArgs& /*left_*/,
                                         const Magick::PathCurvetoArgs& /*right_*/ )
 {
   return  ( false );
 }
-MagickDLLDecl int Magick::operator >= ( const Magick::PathCurvetoArgs& left_,
+MagickDLLDecl ssize_t Magick::operator >= ( const Magick::PathCurvetoArgs& left_,
                                         const Magick::PathCurvetoArgs& right_ )
 {
   return ( ( left_ > right_ ) || ( left_ == right_ ) );
 }
-MagickDLLDecl int Magick::operator <= ( const Magick::PathCurvetoArgs& left_,
+MagickDLLDecl ssize_t Magick::operator <= ( const Magick::PathCurvetoArgs& left_,
                                         const Magick::PathCurvetoArgs& right_ )
 {
   return ( ( left_ < right_ ) || ( left_ == right_ ) );
@@ -1758,37 +1758,37 @@ Magick::VPathBase* Magick::PathSmoothCurvetoRel::copy() const
 //
 // Quadratic Curveto (Quadratic Bezier)
 //
-MagickDLLDecl int Magick::operator ==
+MagickDLLDecl ssize_t Magick::operator ==
 ( const Magick::PathQuadraticCurvetoArgs& /*left_*/,
   const Magick::PathQuadraticCurvetoArgs& /*right_*/ )
 {
   return ( 1 );
 }
-MagickDLLDecl int Magick::operator !=
+MagickDLLDecl ssize_t Magick::operator !=
 ( const Magick::PathQuadraticCurvetoArgs& /*left_*/,
   const Magick::PathQuadraticCurvetoArgs& /*right_*/ )
 {
   return ( 0 );
 }
-MagickDLLDecl int Magick::operator >
+MagickDLLDecl ssize_t Magick::operator >
 ( const Magick::PathQuadraticCurvetoArgs& /*left_*/,
   const Magick::PathQuadraticCurvetoArgs& /*right_*/ )
 {
   return ( 0 );
 }
-MagickDLLDecl int Magick::operator < 
+MagickDLLDecl ssize_t Magick::operator < 
 ( const Magick::PathQuadraticCurvetoArgs& /*left_*/,
   const Magick::PathQuadraticCurvetoArgs& /*right_*/ )
 {
   return  ( 0 );
 }
-MagickDLLDecl int Magick::operator >=
+MagickDLLDecl ssize_t Magick::operator >=
 ( const Magick::PathQuadraticCurvetoArgs& left_,
   const Magick::PathQuadraticCurvetoArgs& right_ )
 {
   return ( ( left_ > right_ ) || ( left_ == right_ ) );
 }
-MagickDLLDecl int Magick::operator <=
+MagickDLLDecl ssize_t Magick::operator <=
 ( const Magick::PathQuadraticCurvetoArgs& left_,
   const Magick::PathQuadraticCurvetoArgs& right_ )
 {
index 82c98e3bf5fd09296da874d8a982c2ea991496ba..62fe799f10d4361100ef1a83670633e4811512f3 100644 (file)
@@ -210,7 +210,7 @@ Magick::Geometry::operator = ( const std::string &geometry_ )
   ssize_t y = 0;
   size_t width_val = 0;
   size_t height_val = 0;
-  int flags = GetGeometry (geom, &x, &y, &width_val, &height_val );
+  ssize_t flags = GetGeometry (geom, &x, &y, &width_val, &height_val );
 
   if (flags == NoValue)
     {
index 34f10a6a36822791325901958521cf012e7e19aa..0474604bfe5977400540eead2889bd84d9ad4886 100644 (file)
@@ -44,7 +44,7 @@ static bool magick_initialized=false;
 // Friend functions to compare Image objects
 //
 
-MagickDLLDecl int Magick::operator == ( const Magick::Image& left_,
+MagickDLLDecl ssize_t Magick::operator == ( const Magick::Image& left_,
                                         const Magick::Image& right_ )
 {
   // If image pixels and signature are the same, then the image is identical
@@ -53,17 +53,17 @@ MagickDLLDecl int Magick::operator == ( const Magick::Image& left_,
           ( left_.signature() == right_.signature() )
           );
 }
-MagickDLLDecl int Magick::operator != ( const Magick::Image& left_,
+MagickDLLDecl ssize_t Magick::operator != ( const Magick::Image& left_,
                                         const Magick::Image& right_ )
 {
   return ( ! (left_ == right_) );
 }
-MagickDLLDecl int Magick::operator >  ( const Magick::Image& left_,
+MagickDLLDecl ssize_t Magick::operator >  ( const Magick::Image& left_,
                                         const Magick::Image& right_ )
 {
   return ( !( left_ < right_ ) && ( left_ != right_ ) );
 }
-MagickDLLDecl int Magick::operator <  ( const Magick::Image& left_,
+MagickDLLDecl ssize_t Magick::operator <  ( const Magick::Image& left_,
                                         const Magick::Image& right_ )
 {
   // If image pixels are less, then image is smaller
@@ -71,12 +71,12 @@ MagickDLLDecl int Magick::operator <  ( const Magick::Image& left_,
           ( right_.rows() * right_.columns() )
           );
 }
-MagickDLLDecl int Magick::operator >= ( const Magick::Image& left_,
+MagickDLLDecl ssize_t Magick::operator >= ( const Magick::Image& left_,
                                         const Magick::Image& right_ )
 {
   return ( ( left_ > right_ ) || ( left_ == right_ ) );
 }
-MagickDLLDecl int Magick::operator <= ( const Magick::Image& left_,
+MagickDLLDecl ssize_t Magick::operator <= ( const Magick::Image& left_,
                                         const Magick::Image& right_ )
 {
   return ( ( left_ < right_ ) || ( left_ == right_ ) );
@@ -646,8 +646,8 @@ bool Magick::Image::compare ( const Image &reference_ )
 
 // Composite two images
 void Magick::Image::composite ( const Image &compositeImage_,
-                               const int xOffset_,
-                               const int yOffset_,
+                               const ssize_t xOffset_,
+                               const ssize_t yOffset_,
                                const CompositeOperator compose_ )
 {
   // Image supplied as compositeImage is composited with current image and
@@ -740,7 +740,7 @@ void Magick::Image::crop ( const Geometry &geometry_ )
 }
 
 // Cycle Color Map
-void Magick::Image::cycleColormap ( const int amount_ )
+void Magick::Image::cycleColormap ( const ssize_t amount_ )
 {
   modifyImage();
   CycleColormapImage( image(), amount_ );
@@ -1114,7 +1114,7 @@ void Magick::Image::frame ( const Geometry &geometry_ )
 }
 void Magick::Image::frame ( const size_t width_,
                             const size_t height_,
-                           const int outerBevel_, const int innerBevel_ )
+                           const ssize_t outerBevel_, const ssize_t innerBevel_ )
 {
   FrameInfo info;
   info.x           = static_cast<ssize_t>(width_);
@@ -1319,7 +1319,7 @@ void Magick::Image::map ( const Image &mapImage_ , const bool dither_ )
 // Floodfill designated area with replacement opacity value
 void Magick::Image::matteFloodfill ( const Color &target_ ,
                                     const size_t opacity_,
-                                    const int x_, const int y_,
+                                    const ssize_t x_, const ssize_t y_,
                                     const Magick::PaintMethod method_ )
 {
   modifyImage();
@@ -1495,7 +1495,7 @@ void Magick::Image::ping ( const Blob& blob_ )
 // that accepted by a C 'main' routine. An exception is thrown if the
 // requested process module doesn't exist, fails to load, or fails during
 // execution.
-void Magick::Image::process( std::string name_, const int argc, const char **argv )
+void Magick::Image::process( std::string name_, const ssize_t argc, const char **argv )
 {
   modifyImage();
 
@@ -1535,7 +1535,7 @@ void Magick::Image::quantumOperator ( const ChannelType channel_,
   (void) DestroyExceptionInfo( &exceptionInfo );
 }
 
-void Magick::Image::quantumOperator ( const int x_,const int y_,
+void Magick::Image::quantumOperator ( const ssize_t x_,const ssize_t y_,
                                       const size_t columns_,
                                       const size_t rows_,
                                       const ChannelType channel_,
@@ -2260,8 +2260,8 @@ void Magick::Image::write ( Blob *blob_,
 // Write image to an array of pixels with storage type specified
 // by user (ExportImagePixels), e.g.
 // image.write( 0, 0, 640, 1, "RGB", 0, pixels );
-void Magick::Image::write ( const int x_,
-                            const int y_,
+void Magick::Image::write ( const ssize_t x_,
+                            const ssize_t y_,
                             const size_t columns_,
                             const size_t rows_,
                             const std::string &map_,
@@ -3461,7 +3461,7 @@ void Magick::Image::profile( const std::string name_,
                              const Magick::Blob &profile_ )
 {
   modifyImage();
-  int result = ProfileImage( image(), name_.c_str(),
+  ssize_t result = ProfileImage( image(), name_.c_str(),
                              (unsigned char *)profile_.data(),
                              profile_.length(), MagickTrue);
 
@@ -4013,7 +4013,7 @@ Magick::Image& Magick::Image::operator=( const Magick::Image &image_ )
 // Transfers read-only pixels from the image to the pixel cache as
 // defined by the specified region
 const Magick::PixelPacket* Magick::Image::getConstPixels
-  ( const int x_, const int y_,
+  ( const ssize_t x_, const ssize_t y_,
     const size_t columns_,
     const size_t rows_ ) const
 {
@@ -4053,7 +4053,7 @@ Magick::IndexPacket* Magick::Image::getIndexes ( void )
 // Transfers pixels from the image to the pixel cache as defined
 // by the specified region. Modified pixels may be subsequently
 // transferred back to the image via syncPixels.
-Magick::PixelPacket* Magick::Image::getPixels ( const int x_, const int y_,
+Magick::PixelPacket* Magick::Image::getPixels ( const ssize_t x_, const ssize_t y_,
                                                const size_t columns_,
                                                const size_t rows_ )
 {
@@ -4072,7 +4072,7 @@ Magick::PixelPacket* Magick::Image::getPixels ( const int x_, const int y_,
 // Allocates a pixel cache region to store image pixels as defined
 // by the region rectangle.  This area is subsequently transferred
 // from the pixel cache to the image via syncPixels.
-Magick::PixelPacket* Magick::Image::setPixels ( const int x_, const int y_,
+Magick::PixelPacket* Magick::Image::setPixels ( const ssize_t x_, const ssize_t y_,
                                                const size_t columns_,
                                                const size_t rows_ )
 {
index c0a92fc1e1e1df3ae4ca2c5bf653a9e3f5e4e611..f39d850a05b00bbccc6b1eb10a06d0d6d3ef23bf 100644 (file)
@@ -37,7 +37,7 @@ namespace Magick
     void *          _data;      // Blob data
     size_t          _length;    // Blob length
     Blob::Allocator _allocator; // Memory allocation system in use
-    int             _refCount;  // Reference count
+    ssize_t             _refCount;  // Reference count
     MutexLock       _mutexLock; // Mutex lock
   };
 
index ccf39aa4f4a043a34c2b62d8bedb67515e124d76..5adb2a5849152e7cbd054c8d6a65bf9873f8f7af 100644 (file)
@@ -16,12 +16,12 @@ namespace Magick
   class MagickDLLDecl Color;
 
   // Compare two Color objects regardless of LHS/RHS
-  int MagickDLLDecl operator == ( const Magick::Color& left_, const Magick::Color& right_ );
-  int MagickDLLDecl operator != ( const Magick::Color& left_, const Magick::Color& right_ );
-  int MagickDLLDecl operator >  ( const Magick::Color& left_, const Magick::Color& right_ );
-  int MagickDLLDecl operator <  ( const Magick::Color& left_, const Magick::Color& right_ );
-  int MagickDLLDecl operator >= ( const Magick::Color& left_, const Magick::Color& right_ );
-  int MagickDLLDecl operator <= ( const Magick::Color& left_, const Magick::Color& right_ );
+  ssize_t MagickDLLDecl operator == ( const Magick::Color& left_, const Magick::Color& right_ );
+  ssize_t MagickDLLDecl operator != ( const Magick::Color& left_, const Magick::Color& right_ );
+  ssize_t MagickDLLDecl operator >  ( const Magick::Color& left_, const Magick::Color& right_ );
+  ssize_t MagickDLLDecl operator <  ( const Magick::Color& left_, const Magick::Color& right_ );
+  ssize_t MagickDLLDecl operator >= ( const Magick::Color& left_, const Magick::Color& right_ );
+  ssize_t MagickDLLDecl operator <= ( const Magick::Color& left_, const Magick::Color& right_ );
 
   // Base color class stores RGB components scaled to fit Quantum
   class MagickDLLDecl Color
index 18ff66ec5d8fa1eeb7acdeaad109f7debfe5238c..05f4a34a48ac18ebe2fd17dc11dfbb43a43b4c1c 100644 (file)
@@ -93,17 +93,17 @@ namespace Magick
 #endif // MagickDLLBuild
 
   // Compare two Coordinate objects regardless of LHS/RHS
-  MagickDLLDeclExtern int operator == ( const Coordinate& left_,
+  MagickDLLDeclExtern ssize_t operator == ( const Coordinate& left_,
                                         const Coordinate& right_ );
-  MagickDLLDeclExtern int operator != ( const Coordinate& left_,
+  MagickDLLDeclExtern ssize_t operator != ( const Coordinate& left_,
                                         const Coordinate& right_ );
-  MagickDLLDeclExtern int operator >  ( const Coordinate& left_,
+  MagickDLLDeclExtern ssize_t operator >  ( const Coordinate& left_,
                                         const Coordinate& right_ );
-  MagickDLLDeclExtern int operator <  ( const Coordinate& left_,
+  MagickDLLDeclExtern ssize_t operator <  ( const Coordinate& left_,
                                         const Coordinate& right_ );
-  MagickDLLDeclExtern int operator >= ( const Coordinate& left_,
+  MagickDLLDeclExtern ssize_t operator >= ( const Coordinate& left_,
                                         const Coordinate& right_ );
-  MagickDLLDeclExtern int operator <= ( const Coordinate& left_,
+  MagickDLLDeclExtern ssize_t operator <= ( const Coordinate& left_,
                                         const Coordinate& right_ );
 
   //
@@ -161,17 +161,17 @@ namespace Magick
   };
 
   // Compare two Drawable objects regardless of LHS/RHS
-  MagickDLLDeclExtern int operator == ( const Drawable& left_,
+  MagickDLLDeclExtern ssize_t operator == ( const Drawable& left_,
                                         const Drawable& right_ );
-  MagickDLLDeclExtern int operator != ( const Drawable& left_,
+  MagickDLLDeclExtern ssize_t operator != ( const Drawable& left_,
                                         const Drawable& right_ );
-  MagickDLLDeclExtern int operator >  ( const Drawable& left_,
+  MagickDLLDeclExtern ssize_t operator >  ( const Drawable& left_,
                                         const Drawable& right_ );
-  MagickDLLDeclExtern int operator <  ( const Drawable& left_,
+  MagickDLLDeclExtern ssize_t operator <  ( const Drawable& left_,
                                         const Drawable& right_ );
-  MagickDLLDeclExtern int operator >= ( const Drawable& left_,
+  MagickDLLDeclExtern ssize_t operator >= ( const Drawable& left_,
                                         const Drawable& right_ );
-  MagickDLLDeclExtern int operator <= ( const Drawable& left_,
+  MagickDLLDeclExtern ssize_t operator <= ( const Drawable& left_,
                                         const Drawable& right_ );
 
   typedef std::list<Magick::Drawable> DrawableList;
@@ -241,17 +241,17 @@ private:
 };
 
 // Compare two VPath objects regardless of LHS/RHS
-MagickDLLDeclExtern int operator == ( const VPath& left_,
+MagickDLLDeclExtern ssize_t operator == ( const VPath& left_,
                                       const VPath& right_ );
-MagickDLLDeclExtern int operator != ( const VPath& left_,
+MagickDLLDeclExtern ssize_t operator != ( const VPath& left_,
                                       const VPath& right_ );
-MagickDLLDeclExtern int operator >  ( const VPath& left_,
+MagickDLLDeclExtern ssize_t operator >  ( const VPath& left_,
                                       const VPath& right_ );
-MagickDLLDeclExtern int operator <  ( const VPath& left_,
+MagickDLLDeclExtern ssize_t operator <  ( const VPath& left_,
                                       const VPath& right_ );
-MagickDLLDeclExtern int operator >= ( const VPath& left_,
+MagickDLLDeclExtern ssize_t operator >= ( const VPath& left_,
                                       const VPath& right_ );
-MagickDLLDeclExtern int operator <= ( const VPath& left_,
+MagickDLLDeclExtern ssize_t operator <= ( const VPath& left_,
                                       const VPath& right_ );
 
 typedef std::list<Magick::VPath> VPathList;
@@ -475,7 +475,7 @@ public:
   /*virtual*/ DrawableBase* copy() const;
 
 private:
-  int   _dummy;
+  ssize_t   _dummy;
 };
 
 // Push (create) Clip path definition
@@ -1255,7 +1255,7 @@ public:
   /*virtual*/ DrawableBase* copy() const;
 
 private:
-  int   _dummy;
+  ssize_t   _dummy;
 };
 
 // Push Graphic Context
@@ -1276,7 +1276,7 @@ public:
   /*virtual*/ DrawableBase* copy() const;
 
 private:
-  int   _dummy;
+  ssize_t   _dummy;
 };
 
 // Pop (terminate) Pattern definition
@@ -1297,7 +1297,7 @@ public:
   /*virtual*/ DrawableBase* copy() const;
 
 private:
-  int   _dummy;
+  ssize_t   _dummy;
 };
 
 // Push (create) Pattern definition
@@ -2204,17 +2204,17 @@ private:
 };
 
 // Compare two PathArcArgs objects regardless of LHS/RHS
-MagickDLLDeclExtern int operator == ( const PathArcArgs& left_,
+MagickDLLDeclExtern ssize_t operator == ( const PathArcArgs& left_,
                                       const PathArcArgs& right_ );
-MagickDLLDeclExtern int operator != ( const PathArcArgs& left_,
+MagickDLLDeclExtern ssize_t operator != ( const PathArcArgs& left_,
                                       const PathArcArgs& right_ );
-MagickDLLDeclExtern int operator >  ( const PathArcArgs& left_,
+MagickDLLDeclExtern ssize_t operator >  ( const PathArcArgs& left_,
                                       const PathArcArgs& right_ );
-MagickDLLDeclExtern int operator <  ( const PathArcArgs& left_,
+MagickDLLDeclExtern ssize_t operator <  ( const PathArcArgs& left_,
                                       const PathArcArgs& right_ );
-MagickDLLDeclExtern int operator >= ( const PathArcArgs& left_,
+MagickDLLDeclExtern ssize_t operator >= ( const PathArcArgs& left_,
                                       const PathArcArgs& right_ );
-MagickDLLDeclExtern int operator <= ( const PathArcArgs& left_,
+MagickDLLDeclExtern ssize_t operator <= ( const PathArcArgs& left_,
                                       const PathArcArgs& right_ );
 
 typedef std::list<Magick::PathArcArgs> PathArcArgsList;
@@ -2295,7 +2295,7 @@ public:
   /*virtual*/ VPathBase* copy() const;
 
 private:
-  int   _dummy;
+  ssize_t   _dummy;
 };
 
 //
@@ -2378,17 +2378,17 @@ double _y;
 };
 
 // Compare two PathCurvetoArgs objects regardless of LHS/RHS
-MagickDLLDeclExtern int operator == ( const PathCurvetoArgs& left_,
+MagickDLLDeclExtern ssize_t operator == ( const PathCurvetoArgs& left_,
                                       const PathCurvetoArgs& right_ );
-MagickDLLDeclExtern int operator != ( const PathCurvetoArgs& left_,
+MagickDLLDeclExtern ssize_t operator != ( const PathCurvetoArgs& left_,
                                       const PathCurvetoArgs& right_ );
-MagickDLLDeclExtern int operator >  ( const PathCurvetoArgs& left_,
+MagickDLLDeclExtern ssize_t operator >  ( const PathCurvetoArgs& left_,
                                       const PathCurvetoArgs& right_ );
-MagickDLLDeclExtern int operator <  ( const PathCurvetoArgs& left_,
+MagickDLLDeclExtern ssize_t operator <  ( const PathCurvetoArgs& left_,
                                       const PathCurvetoArgs& right_ );
-MagickDLLDeclExtern int operator >= ( const PathCurvetoArgs& left_,
+MagickDLLDeclExtern ssize_t operator >= ( const PathCurvetoArgs& left_,
                                       const PathCurvetoArgs& right_ );
-MagickDLLDeclExtern int operator <= ( const PathCurvetoArgs& left_,
+MagickDLLDeclExtern ssize_t operator <= ( const PathCurvetoArgs& left_,
                                       const PathCurvetoArgs& right_ );
 
 typedef std::list<Magick::PathCurvetoArgs> PathCurveToArgsList;
@@ -2559,17 +2559,17 @@ private:
 };
 
 // Compare two PathQuadraticCurvetoArgs objects regardless of LHS/RHS
-MagickDLLDeclExtern int operator == ( const PathQuadraticCurvetoArgs& left_,
+MagickDLLDeclExtern ssize_t operator == ( const PathQuadraticCurvetoArgs& left_,
                                       const PathQuadraticCurvetoArgs& right_ );
-MagickDLLDeclExtern int operator != ( const PathQuadraticCurvetoArgs& left_,
+MagickDLLDeclExtern ssize_t operator != ( const PathQuadraticCurvetoArgs& left_,
                                       const PathQuadraticCurvetoArgs& right_);
-MagickDLLDeclExtern int operator >  ( const PathQuadraticCurvetoArgs& left_,
+MagickDLLDeclExtern ssize_t operator >  ( const PathQuadraticCurvetoArgs& left_,
                                       const PathQuadraticCurvetoArgs& right_);
-MagickDLLDeclExtern int operator <  ( const PathQuadraticCurvetoArgs& left_,
+MagickDLLDeclExtern ssize_t operator <  ( const PathQuadraticCurvetoArgs& left_,
                                       const PathQuadraticCurvetoArgs& right_);
-MagickDLLDeclExtern int operator >= ( const PathQuadraticCurvetoArgs& left_,
+MagickDLLDeclExtern ssize_t operator >= ( const PathQuadraticCurvetoArgs& left_,
                                       const PathQuadraticCurvetoArgs& right_ );
-MagickDLLDeclExtern int operator <= ( const PathQuadraticCurvetoArgs& left_,
+MagickDLLDeclExtern ssize_t operator <= ( const PathQuadraticCurvetoArgs& left_,
                                       const PathQuadraticCurvetoArgs& right_ );
 
 typedef std::list<Magick::PathQuadraticCurvetoArgs> PathQuadraticCurvetoArgsList;
index 0ba744fc371dae9dc96e513fcddda13f8b96d929..62e61df181406b4f9e6bdb22b5c5a6e0211e6a57 100644 (file)
@@ -19,12 +19,12 @@ namespace Magick
   class MagickDLLDecl Geometry;
 
   // Compare two Geometry objects regardless of LHS/RHS
-  int MagickDLLDecl operator == ( const Magick::Geometry& left_, const Magick::Geometry& right_ );
-  int MagickDLLDecl operator != ( const Magick::Geometry& left_, const Magick::Geometry& right_ );
-  int MagickDLLDecl operator >  ( const Magick::Geometry& left_, const Magick::Geometry& right_ );
-  int MagickDLLDecl operator <  ( const Magick::Geometry& left_, const Magick::Geometry& right_ );
-  int MagickDLLDecl operator >= ( const Magick::Geometry& left_, const Magick::Geometry& right_ );
-  int MagickDLLDecl operator <= ( const Magick::Geometry& left_, const Magick::Geometry& right_ );
+  ssize_t MagickDLLDecl operator == ( const Magick::Geometry& left_, const Magick::Geometry& right_ );
+  ssize_t MagickDLLDecl operator != ( const Magick::Geometry& left_, const Magick::Geometry& right_ );
+  ssize_t MagickDLLDecl operator >  ( const Magick::Geometry& left_, const Magick::Geometry& right_ );
+  ssize_t MagickDLLDecl operator <  ( const Magick::Geometry& left_, const Magick::Geometry& right_ );
+  ssize_t MagickDLLDecl operator >= ( const Magick::Geometry& left_, const Magick::Geometry& right_ );
+  ssize_t MagickDLLDecl operator <= ( const Magick::Geometry& left_, const Magick::Geometry& right_ );
 
   class MagickDLLDecl Geometry
   {
@@ -32,8 +32,8 @@ namespace Magick
     
     Geometry ( size_t width_,
               size_t height_,
-              size_t xOff_ = 0,
-              size_t yOff_ = 0,
+              ssize_t xOff_ = 0,
+              ssize_t yOff_ = 0,
               bool xNegative_ = false,
               bool yNegative_ = false );
     Geometry ( const std::string &geometry_ );
@@ -51,12 +51,12 @@ namespace Magick
     size_t  height ( void ) const;
     
     // X offset from origin
-    void          xOff ( size_t xOff_ );
-    size_t  xOff ( void ) const;
+    void          xOff ( ssize_t xOff_ );
+    ssize_t  xOff ( void ) const;
     
     // Y offset from origin
-    void          yOff ( size_t yOff_ );
-    size_t  yOff ( void ) const;
+    void          yOff ( ssize_t yOff_ );
+    ssize_t  yOff ( void ) const;
     
     // Sign of X offset negative? (X origin at right)
     void          xNegative ( bool xNegative_ );
@@ -109,8 +109,8 @@ namespace Magick
   private:
     size_t  _width;
     size_t  _height;
-    size_t  _xOff;
-    size_t  _yOff;
+    ssize_t  _xOff;
+    ssize_t  _yOff;
     bool          _xNegative;
     bool          _yNegative;
     bool          _isValid;
@@ -158,21 +158,21 @@ inline size_t Magick::Geometry::height ( void ) const
 }
 
 // X offset from origin
-inline void Magick::Geometry::xOff ( size_t xOff_ )
+inline void Magick::Geometry::xOff ( ssize_t xOff_ )
 {
   _xOff = xOff_;
 }
-inline size_t Magick::Geometry::xOff ( void ) const
+inline ssize_t Magick::Geometry::xOff ( void ) const
 {
   return _xOff;
 }
 
 // Y offset from origin
-inline void Magick::Geometry::yOff ( size_t yOff_ )
+inline void Magick::Geometry::yOff ( ssize_t yOff_ )
 {
   _yOff = yOff_;
 }
-inline size_t Magick::Geometry::yOff ( void ) const
+inline ssize_t Magick::Geometry::yOff ( void ) const
 {
   return _yOff;
 }
index 0d5001ecdf68b7cc7db8f50ff72ecc479f2ada39..2d6f19cd128bfcf4ff2df44961b33470d4b1ed1f 100644 (file)
@@ -30,17 +30,17 @@ namespace Magick
 
   // Compare two Image objects regardless of LHS/RHS
   // Image sizes and signatures are used as basis of comparison
-  int MagickDLLDecl operator == ( const Magick::Image& left_,
+  ssize_t MagickDLLDecl operator == ( const Magick::Image& left_,
                                   const Magick::Image& right_ );
-  int MagickDLLDecl operator != ( const Magick::Image& left_,
+  ssize_t MagickDLLDecl operator != ( const Magick::Image& left_,
                                   const Magick::Image& right_ );
-  int MagickDLLDecl operator >  ( const Magick::Image& left_,
+  ssize_t MagickDLLDecl operator >  ( const Magick::Image& left_,
                                   const Magick::Image& right_ );
-  int MagickDLLDecl operator <  ( const Magick::Image& left_,
+  ssize_t MagickDLLDecl operator <  ( const Magick::Image& left_,
                                   const Magick::Image& right_ );
-  int MagickDLLDecl operator >= ( const Magick::Image& left_,
+  ssize_t MagickDLLDecl operator >= ( const Magick::Image& left_,
                                   const Magick::Image& right_ );
-  int MagickDLLDecl operator <= ( const Magick::Image& left_,
+  ssize_t MagickDLLDecl operator <= ( const Magick::Image& left_,
                                   const Magick::Image& right_ );
 
   // C library initialization routine
@@ -234,8 +234,8 @@ namespace Magick
     // Compose an image onto another at specified offset and using
     // specified algorithm
     void            composite ( const Image &compositeImage_,
-        const int xOffset_,
-        const int yOffset_,
+        const ssize_t xOffset_,
+        const ssize_t yOffset_,
         const CompositeOperator compose_
                                 = InCompositeOp );
     void            composite ( const Image &compositeImage_,
@@ -260,7 +260,7 @@ namespace Magick
     void            crop ( const Geometry &geometry_ );
     
     // Cycle image colormap
-    void            cycleColormap ( const int amount_ );
+    void            cycleColormap ( const ssize_t amount_ );
     
     // Despeckle image (reduce speckle noise)
     void            despeckle ( void );
@@ -370,8 +370,8 @@ namespace Magick
     void            frame ( const Geometry &geometry_ = frameGeometryDefault );
     void            frame ( const size_t width_,
                             const size_t height_,
-                            const int innerBevel_ = 6,
-                            const int outerBevel_ = 6 );
+                            const ssize_t innerBevel_ = 6,
+                            const ssize_t outerBevel_ = 6 );
 
     // Applies a mathematical expression to the image.
     void            fx ( const std::string expression );
@@ -450,7 +450,7 @@ namespace Magick
     // Floodfill designated area with replacement opacity value
     void            matteFloodfill ( const Color &target_ ,
              const size_t opacity_,
-             const int x_, const int y_,
+             const ssize_t x_, const ssize_t y_,
              const PaintMethod method_ );
 
     // Filter image by replacing each pixel component with the median
@@ -518,7 +518,7 @@ namespace Magick
                                       const MagickEvaluateOperator operator_,
                                       double rvalue_);
 
-    void            quantumOperator ( const int x_,const int y_,
+    void            quantumOperator ( const ssize_t x_,const ssize_t y_,
                                       const size_t columns_,
                                       const size_t rows_,
                                       const ChannelType channel_,
@@ -530,7 +530,7 @@ namespace Magick
     // requested process module doesn't exist, fails to load, or fails during
     // execution.
     void            process ( std::string name_,
-                              const int argc_,
+                              const ssize_t argc_,
                               const char **argv_ );
 
     // Raise image (lighten or darken the edges of an image to give a
@@ -747,8 +747,8 @@ namespace Magick
     // Write single image frame to an array of pixels with storage
     // type specified by user (DispatchImage), e.g.
     //   image.write( 0, 0, 640, 1, "RGB", 0, pixels );
-    void            write ( const int x_,
-                            const int y_,
+    void            write ( const ssize_t x_,
+                            const ssize_t y_,
                             const size_t columns_,
                             const size_t rows_,
                             const std::string& map_,
@@ -1278,7 +1278,7 @@ typedef struct _ImageStatistics
 
     // Transfers read-only pixels from the image to the pixel cache as
     // defined by the specified region
-    const PixelPacket* getConstPixels ( const int x_, const int y_,
+    const PixelPacket* getConstPixels ( const ssize_t x_, const ssize_t y_,
                                         const size_t columns_,
                                         const size_t rows_ ) const;
 
@@ -1292,14 +1292,14 @@ typedef struct _ImageStatistics
     // by the specified region. Modified pixels may be subsequently
     // transferred back to the image via syncPixels.  This method is
     // valid for DirectClass images.
-    PixelPacket* getPixels ( const int x_, const int y_,
+    PixelPacket* getPixels ( const ssize_t x_, const ssize_t y_,
            const size_t columns_,
                              const size_t rows_ );
 
     // Allocates a pixel cache region to store image pixels as defined
     // by the region rectangle.  This area is subsequently transferred
     // from the pixel cache to the image via syncPixels.
-    PixelPacket* setPixels ( const int x_, const int y_,
+    PixelPacket* setPixels ( const ssize_t x_, const ssize_t y_,
            const size_t columns_,
                              const size_t rows_ );
 
index 14350b019eb59e92e2bfa452076c358df6d5e61d..0ba0746160a1f3fe40551beb4a8561fe22719a3c 100644 (file)
@@ -49,7 +49,7 @@ namespace Magick
     MagickCore::Image *   _image;    // ImageMagick Image
     Options *            _options;  // User-specified options
     ssize_t                 _id;       // Registry ID (-1 if not registered)
-    int                  _refCount; // Reference count
+    ssize_t                  _refCount; // Reference count
     MutexLock            _mutexLock;// Mutex lock
   };
 
index 372bcb6fbd405b67e23313e07896a7916613455c..27e0f36ae9c06f25421a8916cb4f9a13fe613cf4 100644 (file)
@@ -27,12 +27,12 @@ namespace Magick
     // Transfer pixels from the image to the pixel view as defined by
     // the specified region. Modified pixels may be subsequently
     // transferred back to the image via sync.
-    PixelPacket* get ( const int x_, const int y_,
+    PixelPacket* get ( const ssize_t x_, const ssize_t y_,
                       const size_t columns_,const  size_t rows_ );
 
     // Transfer read-only pixels from the image to the pixel view as
     // defined by the specified region.
-    const PixelPacket* getConst ( const int x_, const int y_,
+    const PixelPacket* getConst ( const ssize_t x_, const ssize_t y_,
                                   const size_t columns_,
                                   const size_t rows_ );
     
@@ -42,17 +42,17 @@ namespace Magick
     // Allocate a pixel view region to store image pixels as defined
     // by the region rectangle.  This area is subsequently transferred
     // from the pixel view to the image via sync.
-    PixelPacket* set ( const int x_, const int y_,
+    PixelPacket* set ( const ssize_t x_, const ssize_t y_,
                       const size_t columns_, const size_t rows_ );
 
     // Return pixel colormap index array
     IndexPacket* indexes ( void );
 
     // Left ordinate of view
-    int x ( void ) const;
+    ssize_t x ( void ) const;
 
     // Top ordinate of view
-    int y ( void ) const;
+    ssize_t y ( void ) const;
 
     // Width of view
     size_t columns ( void ) const;
@@ -86,8 +86,8 @@ namespace Magick
 
     Magick::Image          _image;   // Image reference
     MagickCore::CacheView*   _view;    // Image view handle
-    int                    _x;       // Left ordinate of view
-    int                    _y;       // Top ordinate of view
+    ssize_t                    _x;       // Left ordinate of view
+    ssize_t                    _y;       // Top ordinate of view
     size_t           _columns; // Width of view
     size_t           _rows;    // Height of view
     MagickCore:: ExceptionInfo _exception; // Any thrown exception
@@ -101,13 +101,13 @@ namespace Magick
 //
 
 // Left ordinate of view
-inline int Magick::Pixels::x ( void ) const
+inline ssize_t Magick::Pixels::x ( void ) const
 {
   return _x;
 }
 
 // Top ordinate of view
-inline int Magick::Pixels::y ( void ) const
+inline ssize_t Magick::Pixels::y ( void ) const
 {
   return _y;
 }
index 7f86f82cf733a21b17a5d054c0b7d695b08bfaa1..fd206fa1750d42ca30581a97d8444c491b8cabbf 100644 (file)
@@ -279,8 +279,8 @@ namespace Magick
   {
   public:
     compositeImage( const Image &compositeImage_,
-        int xOffset_,
-        int yOffset_,
+        ssize_t xOffset_,
+        ssize_t yOffset_,
         CompositeOperator compose_ = InCompositeOp );
 
     compositeImage( const Image &compositeImage_,
@@ -291,8 +291,8 @@ namespace Magick
 
   private:
     Image             _compositeImage;
-    int               _xOffset;
-    int               _yOffset;
+    ssize_t               _xOffset;
+    ssize_t               _yOffset;
     CompositeOperator _compose;
   };
 
@@ -324,12 +324,12 @@ namespace Magick
   class MagickDLLDecl cycleColormapImage : public std::unary_function<Image&,void>
   {
   public:
-    cycleColormapImage( const int amount_ );
+    cycleColormapImage( const ssize_t amount_ );
 
     void operator()( Image &image_ ) const;
 
   private:
-    int _amount;
+    ssize_t _amount;
   };
 
   // Despeckle image (reduce speckle noise)
@@ -544,15 +544,15 @@ namespace Magick
     frameImage( const Geometry &geometry_ = frameGeometryDefault );
 
     frameImage( const size_t width_, const size_t height_,
-    const int innerBevel_ = 6, const int outerBevel_ = 6 );
+    const ssize_t innerBevel_ = 6, const ssize_t outerBevel_ = 6 );
 
     void operator()( Image &image_ ) const;
 
   private:
     size_t _width;
     size_t _height;
-    int          _outerBevel;
-    int          _innerBevel;
+    ssize_t          _outerBevel;
+    ssize_t          _innerBevel;
   };
 
   // Gamma correct image
@@ -717,7 +717,7 @@ namespace Magick
   public:
     matteFloodfillImage( const Color &target_ ,
        const size_t matte_,
-       const int x_, const int y_,
+       const ssize_t x_, const ssize_t y_,
        const PaintMethod method_ );
 
     void operator()( Image &image_ ) const;
@@ -725,8 +725,8 @@ namespace Magick
   private:
     Color         _target;
     size_t  _matte;
-    int           _x;
-    int           _y;
+    ssize_t           _x;
+    ssize_t           _y;
     PaintMethod   _method;
   };
 
@@ -899,13 +899,13 @@ namespace Magick
   public:
     rollImage( const Geometry &roll_ );
 
-    rollImage( const int columns_, const int rows_ );
+    rollImage( const ssize_t columns_, const ssize_t rows_ );
 
     void operator()( Image &image_ ) const;
 
   private:
-    int _columns;
-    int _rows;
+    ssize_t _columns;
+    ssize_t _rows;
   };
 
   // Rotate image counter-clockwise by specified number of degrees.
@@ -1846,7 +1846,7 @@ namespace Magick
        InputIterator last_ ) {
 
     MagickCore::Image* previous = 0;
-    int scene = 0;
+    ssize_t scene = 0;
     for ( InputIterator iter = first_; iter != last_; ++iter )
       {
   // Unless we reduce the reference count to one, the same image
@@ -2025,7 +2025,7 @@ namespace Magick
     // Clear out container
     container_->clear();
 
-    for ( int i=0; i < (ssize_t) number_formats; i++)
+    for ( ssize_t i=0; i < (ssize_t) number_formats; i++)
       {
         const MagickCore::MagickInfo *magick_info =
           MagickCore::GetMagickInfo( coder_list[i], &exceptionInfo );
@@ -2438,7 +2438,7 @@ namespace Magick
     MagickCore::GetExceptionInfo( &exceptionInfo );
 
     linkImages( first_, last_ );
-    int errorStat = MagickCore::WriteImages( first_->constImageInfo(),
+    ssize_t errorStat = MagickCore::WriteImages( first_->constImageInfo(),
                                             first_->image(),
                                             imageSpec_.c_str(),
                                             &exceptionInfo );
index 4007670178909558622464fe38fd3be7da1aeea0..16e96378d5fa84253398ed5131f9dfdcb2d8b8fb 100644 (file)
@@ -47,8 +47,8 @@ Magick::Pixels::~Pixels( void )
 // Transfer pixels from the image to the pixel view as defined by
 // the specified region. Modified pixels may be subsequently
 // transferred back to the image via sync.
-Magick::PixelPacket* Magick::Pixels::get ( const int x_,
-                                          const int y_,
+Magick::PixelPacket* Magick::Pixels::get ( const ssize_t x_,
+                                          const ssize_t y_,
                                           const size_t columns_,
                                           const size_t rows_ )
 {
@@ -67,7 +67,7 @@ Magick::PixelPacket* Magick::Pixels::get ( const int x_,
 
 // Transfer read-only pixels from the image to the pixel view as
 // defined by the specified region.
-const Magick::PixelPacket* Magick::Pixels::getConst ( const int x_, const int y_,
+const Magick::PixelPacket* Magick::Pixels::getConst ( const ssize_t x_, const ssize_t y_,
                                                       const size_t columns_,
                                                       const size_t rows_ )
 {
@@ -95,8 +95,8 @@ void Magick::Pixels::sync ( void )
 // Allocate a pixel view region to store image pixels as defined
 // by the region rectangle.  This area is subsequently transferred
 // from the pixel view to the image via 'sync'.
-Magick::PixelPacket* Magick::Pixels::set ( const int x_,
-                                          const int y_,
+Magick::PixelPacket* Magick::Pixels::set ( const ssize_t x_,
+                                          const ssize_t y_,
                                           const size_t columns_,
                                           const size_t rows_ )
 {
index 684c702ed252af3857f12b9dd32b17eae8b5107b..01b723c289b7547317a9e8da71585c6749d25d59 100644 (file)
@@ -229,8 +229,8 @@ void Magick::commentImage::operator()( Magick::Image &image_ ) const
 // Compose an image onto another at specified offset and using
 // specified algorithm
 Magick::compositeImage::compositeImage( const Magick::Image &compositeImage_,
-                                        int xOffset_,
-                                        int yOffset_,
+                                        ssize_t xOffset_,
+                                        ssize_t yOffset_,
                                         Magick::CompositeOperator compose_  )
   : _compositeImage( compositeImage_ ),
     _xOffset ( xOffset_ ),
@@ -273,7 +273,7 @@ void Magick::cropImage::operator()( Magick::Image &image_ ) const
 }
 
 // Cycle image colormap
-Magick::cycleColormapImage::cycleColormapImage( const int amount_ )
+Magick::cycleColormapImage::cycleColormapImage( const ssize_t amount_ )
   : _amount( amount_ )
 {
 }
@@ -526,7 +526,7 @@ Magick::frameImage::frameImage( const Magick::Geometry &geometry_ )
 {
 }
 Magick::frameImage::frameImage( const size_t width_, const size_t height_,
-                                const int innerBevel_, const int outerBevel_ )
+                                const ssize_t innerBevel_, const ssize_t outerBevel_ )
   : _width( width_ ),
     _height( height_ ),
     _outerBevel( outerBevel_ ),
@@ -679,7 +679,7 @@ void Magick::mapImage::operator()( Magick::Image &image_ ) const
 // Floodfill designated area with a matte value
 Magick::matteFloodfillImage::matteFloodfillImage( const Color &target_ ,
                                                   const size_t matte_,
-                                                  const int x_, const int y_,
+                                                  const ssize_t x_, const ssize_t y_,
                                                   const PaintMethod method_ )
   : _target( target_ ),
     _matte( matte_ ),
@@ -829,8 +829,8 @@ Magick::rollImage::rollImage( const Magick::Geometry &roll_ )
     _rows( roll_.height() )
 {
 }
-Magick::rollImage::rollImage( const int columns_,
-                              const int rows_ )
+Magick::rollImage::rollImage( const ssize_t columns_,
+                              const ssize_t rows_ )
   : _columns( columns_ ),
     _rows( rows_ )
 {
index 55a4d8fb66c8e704f420c996020ab9300b9be010..aef226066ee3e9b0ec6c2a04ec573cb37928a410 100644 (file)
@@ -20,7 +20,7 @@ Magick::MutexLock::MutexLock(void)
   : _mutex()
 {
   ::pthread_mutexattr_t attr;
-  int sysError;
+  ssize_t sysError;
   if ( (sysError = ::pthread_mutexattr_init( &attr )) == 0 )
     if ( (sysError = ::pthread_mutex_init( &_mutex, &attr )) == 0 )
       {
@@ -59,7 +59,7 @@ Magick::MutexLock::MutexLock(void)
 Magick::MutexLock::~MutexLock(void)
 {
 #if defined(MAGICKCORE_HAVE_PTHREAD)
-  int sysError;
+  ssize_t sysError;
   if ( (sysError = ::pthread_mutex_destroy( &_mutex )) == 0 )
     return;
   throwExceptionExplicit( OptionError, "mutex destruction failed",
@@ -76,7 +76,7 @@ Magick::MutexLock::~MutexLock(void)
 void Magick::MutexLock::lock(void)
 {
 #if defined(MAGICKCORE_HAVE_PTHREAD)
-  int sysError;
+  ssize_t sysError;
   if ( (sysError = ::pthread_mutex_lock( &_mutex )) == 0)
     return;
   throwExceptionExplicit( OptionError, "mutex lock failed",
@@ -93,7 +93,7 @@ void Magick::MutexLock::lock(void)
 void Magick::MutexLock::unlock(void)
 {
 #if defined(MAGICKCORE_HAVE_PTHREAD)
-  int sysError;
+  ssize_t sysError;
   if ( (sysError = ::pthread_mutex_unlock( &_mutex )) == 0)
     return;
   throwExceptionExplicit( OptionError, "mutex unlock failed",
index 77b89a78a931d3ae77a3ed3d13265e23f8501bfd..67a8b90cc63b19b09be1710a5a899ccceaff14ba 100644 (file)
@@ -4625,7 +4625,7 @@ MagickExport Image *SelectiveBlurImageChannel(const Image *image,
                   k++;
                 }
             }
-            j+=image->columns+width;
+            j+=(ssize_t) (image->columns+width);
           }
           if (gamma != 0.0)
             {
index 58e1d866c0de5fc9440c54c29db0d58e5f1d505e..9205ebefcba2f8089da56c75e7fa27977c1b9e1c 100644 (file)
@@ -458,7 +458,7 @@ MagickExport ChannelFeatures *GetImageChannelFeatures(const Image *image,
             /*
               Right diagonal adjacency.
             */
-            offset=(ssize_t) (image->columns+2*distance)-distance;
+            offset=(ssize_t) ((image->columns+2*distance)-distance);
             break;
           }
           case 3:
@@ -466,7 +466,7 @@ MagickExport ChannelFeatures *GetImageChannelFeatures(const Image *image,
             /*
               Left diagonal adjacency.
             */
-            offset=(ssize_t) (image->columns+2*distance)+distance;
+            offset=(ssize_t) ((image->columns+2*distance)+distance);
             break;
           }
         }
index 8d5d91476f5f53944a069bfcc84db968a047b7c5..93c5d5526d312d7f6d2c7130020275e76df3b52e 100644 (file)
@@ -609,7 +609,7 @@ MagickExport Image *MontageImageList(const ImageInfo *image_info,
           if (image_list[tile]->rows > max_height)
             max_height=image_list[tile]->rows;
         }
-      x_offset+=width+(extract_info.x+(ssize_t) border_width)*2;
+      x_offset+=(ssize_t) (width+2*(extract_info.x+border_width));
       if (x_offset > (ssize_t) bounds.width)
         bounds.width=(size_t) x_offset;
       if (((tile+1) == (ssize_t) tiles_per_page) ||
@@ -620,7 +620,7 @@ MagickExport Image *MontageImageList(const ImageInfo *image_info,
             GetMontageGeometry(montage_info->tile,number_images,&x_offset,&y,
               &sans,&sans);
           height=concatenate != MagickFalse ? max_height : extract_info.height;
-          y_offset+=(size_t) (height+(extract_info.y+(ssize_t) border_width)*2+
+          y_offset+=(ssize_t) (height+(extract_info.y+(ssize_t) border_width)*2+
             (metrics.ascent-metrics.descent+4)*number_lines+
             (montage_info->shadow != MagickFalse ? 4 : 0));
           if (y_offset > (ssize_t) bounds.height)
@@ -846,12 +846,12 @@ MagickExport Image *MontageImageList(const ImageInfo *image_info,
               (void) AnnotateImage(montage,draw_info);
             }
         }
-      x_offset+=width+(extract_info.x+(ssize_t) border_width)*2;
+      x_offset+=(ssize_t) (width+2*(extract_info.x+border_width));
       if (((tile+1) == (ssize_t) tiles_per_page) ||
           (((tile+1) % tiles_per_row) == 0))
         {
           x_offset=extract_info.x;
-          y_offset+=(size_t) (height+(extract_info.y+(ssize_t) border_width)*2+
+          y_offset+=(ssize_t) (height+(extract_info.y+border_width)*2+
             (metrics.ascent-metrics.descent+4)*number_lines+
             (montage_info->shadow != MagickFalse ? 4 : 0));
           max_height=0;
index dc4a1e4d4ab68e37263489ba67de4718f18c5892..461830ae992bbdaf4a702e2f778e0ca913959a0e 100644 (file)
@@ -672,7 +672,7 @@ MagickExport Image *OilPaintImage(const Image *image,const double radius,
               count=histogram[k];
             }
         }
-        i+=image->columns+width;
+        i+=(ssize_t) (image->columns+width);
       }
       *q=(*(p+j));
       if (image->colorspace == CMYKColorspace)
index 45c7ab15968e5907ea085d3aaad9bdef3ec3b331..cbdeb923c28687bfa2ea43e4d492b679cef1e30e 100644 (file)
@@ -2180,7 +2180,6 @@ MagickExport MagickBooleanType PosterizeImage(Image *image,
     j,
     k,
     l,
-    length,
     n;
 
   MagickBooleanType
@@ -2195,6 +2194,9 @@ MagickExport MagickBooleanType PosterizeImage(Image *image,
   register PixelPacket
     *restrict q;
 
+  size_t
+    length;
+
   /*
     Posterize image.
   */
@@ -2206,7 +2208,7 @@ MagickExport MagickBooleanType PosterizeImage(Image *image,
   if (posterize_image == (Image *) NULL)
     return(MagickFalse);
   l=1;
-  length=levels*levels*levels;
+  length=(size_t) (levels*levels*levels);
   while ((l*l*l) < (ssize_t) MagickMin((ssize_t) length,MaxColormapSize+1))
     l++;
   status=SetImageExtent(posterize_image,(size_t) (l*l*l),1);
index 4adba02222ecad2e01d34070cb3723a19539a9d6..cb3a10d70dc74a5ef234fa6bac95e1d51e336f66 100644 (file)
@@ -993,7 +993,7 @@ MagickExport MagickBooleanType ResourceComponentGenesis(void)
     limit=GetPolicyValue("thread");
   if (limit != (char *) NULL)
     {
-      SetOpenMPMaximumThreads(StringToUnsignedLong(limit));
+      SetOpenMPMaximumThreads((int) StringToUnsignedLong(limit));
       (void) SetMagickResourceLimit(ThreadResource,StringToSizeType(limit,
         100.0));
       limit=DestroyString(limit);
@@ -1100,7 +1100,7 @@ MagickExport MagickBooleanType SetMagickResourceLimit(const ResourceType type,
     }
     case ThreadResource:
     {
-      SetOpenMPMaximumThreads((size_t) limit);
+      SetOpenMPMaximumThreads((int) limit);
       resource_info.thread_limit=GetOpenMPMaximumThreads();
       break;
     }
index 934499c92135c4980fa20aacf7e289d2fac75c03..ab8d62227420bf16e3a5e10577ff76a545714ece 100644 (file)
@@ -220,8 +220,8 @@ MagickExport Image *AdaptiveThresholdImage(const Image *image,
 
     if (status == MagickFalse)
       continue;
-    p=GetCacheViewVirtualPixels(image_view,-((ssize_t) width/2L),y-height/2L,
-      image->columns+width,height,exception);
+    p=GetCacheViewVirtualPixels(image_view,-((ssize_t) width/2L),y-(ssize_t)
+      height/2L,image->columns+width,height,exception);
     q=GetCacheViewAuthenticPixels(threshold_view,0,y,threshold_image->columns,1,
       exception);
     if ((p == (const PixelPacket *) NULL) || (q == (PixelPacket *) NULL))
index 10d0e2ce07ae3ff76b8f96d381e97a8f37a0efaa..96ffd9be753c74c31eb5843c3f4866cf787fb2db 100644 (file)
@@ -11,9 +11,9 @@ Single
 2 2 0 1 0 6 5 0 32 0.000 0 0 7 0 0 5
         5325 4350 7425 4350 7425 5175 5325 5175 5325 4350
 4 1 0 0 0 0 10 0.0000 4 135 810 6450 4275 class Options\001
-4 2 0 0 0 0 8 0.0000 4 135 1785 7350 4575 MagickLib::ImageInfo* _imageInfo\001
-4 2 0 0 0 0 8 0.0000 4 135 2040 7350 4800 MagickLib::QuantizeInfo* _quantizeInfo\001
-4 2 0 0 0 0 8 0.0000 4 135 1875 7350 5025 MagickLib::QuantizeInfo* _drawInfo\001
+4 2 0 0 0 0 8 0.0000 4 135 1785 7350 4575 MagickCore::ImageInfo* _imageInfo\001
+4 2 0 0 0 0 8 0.0000 4 135 2040 7350 4800 MagickCore::QuantizeInfo* _quantizeInfo\001
+4 2 0 0 0 0 8 0.0000 4 135 1875 7350 5025 MagickCore::QuantizeInfo* _drawInfo\001
 -6
 6 600 4800 2400 5625
 2 2 0 1 0 6 5 0 32 0.000 0 0 7 0 0 5
@@ -79,19 +79,19 @@ Single
 4 1 0 0 0 18 14 0.0000 4 210 3300 5250 900 Magick++ Image Data Structures\001
 4 1 0 0 0 0 10 0.0000 4 135 690 1575 1425 class Image\001
 4 1 0 0 0 0 10 0.0000 4 135 690 1500 2625 class Image\001
-4 1 0 0 0 0 10 0.0000 4 135 1725 8700 3525 struct MagickLib::ImageInfo\001
-4 1 0 0 0 0 10 0.0000 4 135 1890 8700 4425 struct MagickLib::QuantizeInfo\001
+4 1 0 0 0 0 10 0.0000 4 135 1725 8700 3525 struct MagickCore::ImageInfo\001
+4 1 0 0 0 0 10 0.0000 4 135 1890 8700 4425 struct MagickCore::QuantizeInfo\001
 4 2 0 0 0 0 8 0.0000 4 135 1395 2325 1875 class ImageRef* _imageRef\001
 4 2 0 0 0 0 8 0.0000 4 135 1395 2325 3075 class ImageRef* _imageRef\001
-4 2 0 0 0 0 8 0.0000 4 135 1665 4725 2475 struct MagickLib::Image* _image\001
-4 1 0 0 0 0 10 0.0000 4 135 1680 8700 5325 struct MagickLib::DrawInfo\001
+4 2 0 0 0 0 8 0.0000 4 135 1665 4725 2475 struct MagickCore::Image* _image\001
+4 1 0 0 0 0 10 0.0000 4 135 1680 8700 5325 struct MagickCore::DrawInfo\001
 4 2 0 0 0 0 8 0.0000 4 135 1485 4725 3750 class MutexLock _mutexLock\001
 4 2 0 0 0 0 8 0.0000 4 135 1140 4725 2850 class Options* _options\001
 4 2 0 0 0 0 8 0.0000 4 135 390 4725 3150 long _id\001
-4 2 0 0 0 0 8 0.0000 4 135 645 4725 3450 int _refCount\001
+4 2 0 0 0 0 8 0.0000 4 135 645 4725 3450 ssize_t _refCount\001
 4 1 0 0 0 0 10 0.0000 4 135 675 8708 2295 Image Data\001
 4 1 0 0 0 0 10 0.0000 4 135 1005 8700 2902 Image Attributes\001
-4 1 0 0 0 0 10 0.0000 4 135 1485 6450 2025 struct MagickLib::Image\001
+4 1 0 0 0 0 10 0.0000 4 135 1485 6450 2025 struct MagickCore::Image\001
 4 1 0 0 0 0 10 0.0000 4 135 900 3975 1950 class ImageRef\001
 4 1 0 0 0 0 10 0.0000 4 105 150 2625 2925 ref\001
 4 1 0 0 0 0 10 0.0000 4 105 150 2625 1875 ref\001
index bd1c2bd82c6843d483b430bda9577f2f06a0d858..2e89a4dc1bb3714c60b30b0114a127b1219ed081 100644 (file)
@@ -8,9 +8,10 @@
   <meta name="Author" content="Bob Friesenhahn">
   <meta name="Description" content="Description of Magick::Image Class">
   <title>Magick::Image Class</title>
+<link rel=stylesheet type=text/css href="magick.css">
 </head>
-<body text="#000000" bgcolor="#ffffff" link="#0000ee" vlink="#551a8b"
alink="#ff0000">
+<body alink="#ff0000" bgcolor="#ffffff" link="#0000ee" text="#000000"
vlink="#551a8b">
 <center>
 <h1> Magick::Image Class</h1>
 </center>
@@ -25,39 +26,43 @@ Methods</a> </li>
 Access</a> </li>
 </ul>
 <hr width="100%">Image is the primary object in Magick++ and represents
-a single image frame (see <a href="ImageDesign.html">design</a> ). The <a
- href="STL.html">STL interface</a> <b>must</b> be used to operate on
-image sequences or images (e.g. of  format  GIF, TIFF, MIFF, Postscript,
-&amp; MNG) which are comprized of multiple  image  frames. Individual
+a single image frame (see <a href="ImageDesign.html">design</a> ). The
+<a href="STL.html">STL interface</a> <b>must</b> be used to operate on
+image sequences or images (e.g. of format GIF, TIFF, MIFF, Postscript,
+&amp; MNG) which are comprized of multiple image frames. Individual
 frames of a multi-frame image may be requested by adding array-style
 notation to the end of the file name (e.g. "animation.gif[3]" retrieves
 the fourth frame of a GIF animation.&nbsp; Various image manipulation
 operations may be applied to the image. Attributes may be set on the
 image to influence the operation of the manipulation operations. The <a
- href="Pixels.html"> Pixels</a> class provides low-level access to image
+ href="Pixels.html"> Pixels</a> class provides low-level access to
+image
 pixels. As a convenience, including <tt><font color="#663366">&lt;Magick++.h&gt;</font></tt>
-is sufficient in  order to use the complete Magick++ API. The Magick++
+is sufficient in order to use the complete Magick++ API. The Magick++
 API is enclosed within the <i>Magick</i> namespace so you must either
-add the prefix "<tt> Magick::</tt> " to each class/enumeration name or add
-the statement "<tt> using namespace  Magick;</tt>" after including the <tt>Magick++.h</tt>
+add the prefix "<tt> Magick::</tt> " to each class/enumeration name or
+add
+the statement "<tt> using namespace Magick;</tt>" after including the <tt>Magick++.h</tt>
 header.
 <p>The preferred way to allocate Image objects is via automatic
 allocation (on the stack). There is no concern that allocating Image
-objects on the   stack will excessively enlarge the stack since Magick++
-allocates all large   data objects (such as the actual image data) from
-the heap. Use of automatic   allocation is preferred over explicit
-allocation (via <i>new</i>) since it  is much less error prone and
-allows use of C++ scoping rules to avoid memory  leaks. Use of automatic
-allocation allows Magick++ objects to be assigned  and copied just like
-the C++ intrinsic data types (e.g. '<i>int</i> '), leading  to clear and
+objects on the stack will excessively enlarge the stack since Magick++
+allocates all large data objects (such as the actual image data) from
+the heap. Use of automatic allocation is preferred over explicit
+allocation (via <i>new</i>) since it is much less error prone and
+allows use of C++ scoping rules to avoid memory leaks. Use of automatic
+allocation allows Magick++ objects to be assigned and copied just like
+the C++ intrinsic data types (e.g. '<i>int</i> '), leading to clear and
 easy to read code. Use of automatic allocation leads to naturally
 exception-safe code since if an exception is thrown, the object is
-automatically deallocated once the stack unwinds past the scope of the
+automagically deallocated once the stack unwinds past the scope of the
 allocation (not the case for objects allocated via <i>new</i> ). </p>
 <p>Image is very easy to use. For example, here is a the source to a
-program which reads an image, crops it, and writes it to a new file (the
+program which reads an image, crops it, and writes it to a new file
+(the
 exception handling is optional but strongly recommended): </p>
-<blockquote><tt><font color="#000066">#include &lt;Magick++.h&gt;</font></tt> <br>
+<blockquote><tt><font color="#000066">#include &lt;Magick++.h&gt;</font></tt>
+  <br>
   <tt><font color="#000066">#include &lt;iostream&gt;</font></tt> <br>
   <tt><font color="#000066">using namespace std;</font></tt> <br>
   <tt><font color="#000066">using namespace Magick;</font></tt> <br>
@@ -74,29 +79,34 @@ useless.</font></tt> <br>
   <p><tt><font color="#000066">&nbsp; try {</font></tt> <br>
   <tt><font color="#000066">&nbsp;&nbsp;&nbsp; // Read a file into
 image object</font></tt> <br>
-  <tt><font color="#000066">&nbsp;&nbsp;&nbsp; image.read( "girl.gif" );</font></tt> </p>
+  <tt><font color="#000066">&nbsp;&nbsp;&nbsp; image.read( "girl.gif" );</font></tt>
+  </p>
   <p><tt><font color="#000066">&nbsp;&nbsp;&nbsp; // Crop the image to
 specified size</font></tt> (width, height, xOffset, yOffset)<br>
   <tt><font color="#000066">&nbsp;&nbsp;&nbsp; image.crop(
 Geometry(100,100, 100, 100) );</font></tt> </p>
   <p><tt><font color="#000066">&nbsp;&nbsp;&nbsp; // Write the image to
 a file</font></tt> <br>
-  <tt><font color="#000066">&nbsp;&nbsp;&nbsp; image.write( "x.gif" );</font></tt> <br>
+  <tt><font color="#000066">&nbsp;&nbsp;&nbsp; image.write( "x.gif" );</font></tt>
+  <br>
   <tt><font color="#000066">&nbsp; }</font></tt> <br>
-  <tt><font color="#000066">&nbsp; catch( Exception &amp;error_ )</font></tt> <br>
+  <tt><font color="#000066">&nbsp; catch( Exception &amp;error_ )</font></tt>
+  <br>
   <tt><font color="#000066">&nbsp;&nbsp;&nbsp; {</font></tt> <br>
   <tt><font color="#000066">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; cout
-&lt;&lt; "Caught exception: " &lt;&lt; error_.what() &lt;&lt; endl;</font></tt> <br>
-  <tt><font color="#000066">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; return 1;</font></tt> <br>
+&lt;&lt; "Caught exception: " &lt;&lt; error_.what() &lt;&lt; endl;</font></tt>
+  <br>
+  <tt><font color="#000066">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; return 1;</font></tt>
+  <br>
   <tt><font color="#000066">&nbsp;&nbsp;&nbsp; }</font></tt> <br>
   <tt><font color="#000066">&nbsp; return 0;</font></tt> <br>
   <tt><font color="#000066">}</font></tt></p>
 </blockquote>
 The following is the source to a program which illustrates the use of
 Magick++'s efficient reference-counted assignment and copy-constructor
-operations which  minimize use of memory and eliminate unncessary copy
-operations (allowing   Image objects to be efficiently assigned, and
-copied into containers).&nbsp;    The program accomplishes the
+operations which minimize use of memory and eliminate unncessary copy
+operations (allowing Image objects to be efficiently assigned, and
+copied into containers).&nbsp; The program accomplishes the
 following:
 <ol>
   <li> Read master image.</li>
@@ -107,7 +117,8 @@ following:
   <li> Write the second image to a file.</li>
   <li> Write the third image to a file.</li>
 </ol>
-<blockquote><tt><font color="#000066">#include &lt;Magick++.h&gt;</font></tt> <br>
+<blockquote><tt><font color="#000066">#include &lt;Magick++.h&gt;</font></tt>
+  <br>
   <tt><font color="#000066">#include &lt;iostream&gt;</font></tt> <br>
   <tt><font color="#000066">using namespace std;</font></tt> <br>
   <tt><font color="#000066">using namespace Magick;</font></tt> <br>
@@ -115,10 +126,14 @@ following:
   <tt><font color="#000066">{</font></tt> <br>
   <tt><font color="#000066">&nbsp;&nbsp;&nbsp; Image
 master("horse.jpg");</font></tt> <br>
-  <tt><font color="#000066">&nbsp;&nbsp;&nbsp; Image second = master;</font></tt> <br>
-  <tt><font color="#000066">&nbsp;&nbsp;&nbsp; second.zoom("640x480");</font></tt> <br>
-  <tt><font color="#000066">&nbsp;&nbsp;&nbsp; Image third = master;</font></tt> <br>
-  <tt><font color="#000066">&nbsp;&nbsp;&nbsp; third.zoom("800x600");</font></tt> <br>
+  <tt><font color="#000066">&nbsp;&nbsp;&nbsp; Image second = master;</font></tt>
+  <br>
+  <tt><font color="#000066">&nbsp;&nbsp;&nbsp; second.zoom("640x480");</font></tt>
+  <br>
+  <tt><font color="#000066">&nbsp;&nbsp;&nbsp; Image third = master;</font></tt>
+  <br>
+  <tt><font color="#000066">&nbsp;&nbsp;&nbsp; third.zoom("800x600");</font></tt>
+  <br>
   <tt><font color="#000066">&nbsp;&nbsp;&nbsp;
 second.write("horse640x480.jpg");</font></tt> <br>
   <tt><font color="#000066">&nbsp;&nbsp;&nbsp;
@@ -128,9 +143,10 @@ third.write("horse800x600.jpg");</font></tt> <br>
 During the entire operation, a maximum of three images exist in memory
 and the image data is never copied.
 <p>The following is the source for another simple program which creates
- a 100 by 100 pixel white image with a red pixel in the center and
+a 100 by 100 pixel white image with a red pixel in the center and
 writes it to a file: </p>
-<blockquote><tt><font color="#000066">#include &lt;Magick++.h&gt;</font></tt> <br>
+<blockquote><tt><font color="#000066">#include &lt;Magick++.h&gt;</font></tt>
+  <br>
   <tt><font color="#000066">using namespace std;</font></tt> <br>
   <tt><font color="#000066">using namespace Magick;</font></tt> <br>
   <tt><font color="#000066">int main(int argc,char **argv)</font></tt> <br>
@@ -149,7 +165,8 @@ lines:
 image.quantizeColorSpace( GRAYColorspace );</font></tt> <br>
 <tt><font color="#000066">&nbsp;&nbsp;&nbsp; image.quantizeColors( 256
 );</font></tt> <br>
-<tt><font color="#000066">&nbsp;&nbsp;&nbsp; image.quantize( );</font></tt> </p>
+<tt><font color="#000066">&nbsp;&nbsp;&nbsp; image.quantize( );</font></tt>
+</p>
 <p>or, more simply: </p>
 <p><tt><font color="#000066">&nbsp;&nbsp;&nbsp; image.type(
 GrayscaleType );</font></tt> </p>
@@ -158,11 +175,12 @@ GrayscaleType );</font></tt> </p>
 <h3> <a name="BLOBs"></a> BLOBs</h3>
 </center>
 While encoded images (e.g. JPEG) are most often written-to and
-read-from a disk file, encoded images may also reside in memory. Encoded
-images in   memory are known as BLOBs (Binary Large OBjects) and may be
-represented using  the <a href="Blob.html">Blob</a> class. The encoded
-image may be initially placed in memory by reading it  directly from a
-file, reading the image from a database, memory-mapped  from  a disk
+read-from a disk file, encoded images may also reside in memory.
+Encoded
+images in memory are known as BLOBs (Binary Large OBjects) and may be
+represented using the <a href="Blob.html">Blob</a> class. The encoded
+image may be initially placed in memory by reading it directly from a
+file, reading the image from a database, memory-mapped from a disk
 file, or could be written to memory by Magick++. Once the encoded image
 has been placed within a Blob, it may be read into a Magick++ Image via
 a <a href="#constructor_blob">constructor</a> or <a href="#read">read()</a>
@@ -170,12 +188,13 @@ a <a href="#constructor_blob">constructor</a> or <a href="#read">read()</a>
  href="#write"> write()</a> .
 <p>An example of using Image to write to a Blob follows: <br>
 &nbsp; </p>
-<blockquote><tt><font color="#000066">#include &lt;Magick++.h&gt;</font></tt> <br>
+<blockquote><tt><font color="#000066">#include &lt;Magick++.h&gt;</font></tt>
+  <br>
   <tt><font color="#000066">using namespace std;</font></tt> <br>
   <tt><font color="#000066">using namespace Magick;</font></tt> <br>
   <tt><font color="#000066">int main(int argc,char **argv)</font></tt> <br>
   <tt><font color="#000066">{</font></tt> <br>
-  <tt><font color="#000066">&nbsp;&nbsp;&nbsp; // Read GIF file  from
+  <tt><font color="#000066">&nbsp;&nbsp;&nbsp; // Read GIF file from
 disk</font></tt> <br>
   <tt><font color="#000066">&nbsp;&nbsp;&nbsp; Image image(
 "giraffe.gif" );</font></tt>
@@ -184,10 +203,12 @@ JPEG format</font></tt> <br>
   <tt><font color="#000066">&nbsp;&nbsp;&nbsp; Blob blob;</font></tt> <br>
   <tt><font color="#000066">&nbsp;&nbsp;&nbsp; image.magick( "JPEG" )
 // Set JPEG output format</font></tt> <br>
-  <tt><font color="#000066">&nbsp;&nbsp;&nbsp; image.write( &amp;blob );</font></tt> </p>
+  <tt><font color="#000066">&nbsp;&nbsp;&nbsp; image.write( &amp;blob );</font></tt>
+  </p>
   <p><tt><font color="#000066">&nbsp;&nbsp;&nbsp; [ Use BLOB data (in
 JPEG format) here ]</font></tt> </p>
-  <p><tt><font color="#000066">&nbsp;&nbsp;&nbsp; return 0;</font></tt> <br>
+  <p><tt><font color="#000066">&nbsp;&nbsp;&nbsp; return 0;</font></tt>
+  <br>
   <tt><font color="#000066">}</font></tt></p>
 </blockquote>
 <p><br>
@@ -196,15 +217,18 @@ following examples: </p>
 <p>[ <font color="#000000">Entry condition for the following examples
 is that <i>data</i> is pointer to encoded image data and <i>length</i>
 represents the size of the data</font> ] </p>
-<blockquote><tt><font color="#000066">Blob blob( data, length );</font></tt> <br>
+<blockquote><tt><font color="#000066">Blob blob( data, length );</font></tt>
+  <br>
   <tt><font color="#000066">Image image( blob );</font></tt></blockquote>
 or
-<blockquote><tt><font color="#000066">Blob blob( data, length );</font></tt> <br>
+<blockquote><tt><font color="#000066">Blob blob( data, length );</font></tt>
+  <br>
   <tt><font color="#000066">Image image;</font></tt> <br>
   <tt><font color="#000066">image.read( blob);</font></tt></blockquote>
 some images do not contain their size or format so the size and format
 must be specified in advance:
-<blockquote><tt><font color="#000066">Blob blob( data, length   );</font></tt> <br>
+<blockquote><tt><font color="#000066">Blob blob( data, length );</font></tt>
+  <br>
   <tt><font color="#000066">Image image;</font></tt> <br>
   <tt><font color="#000066">image.size( "640x480")</font></tt> <br>
   <tt><font color="#000066">image.magick( "RGBA" );</font></tt> <br>
@@ -218,7 +242,7 @@ in-memory <a href="Blob.html"> BLOB</a> . The available Image
 constructors are shown in the following table: <br>
 &nbsp; <br>
 &nbsp;
-<table border="1" width="100%" bgcolor="#ffffff">
+<table bgcolor="#ffffff" border="1" width="100%">
   <caption><b>Image Constructors</b></caption> <tbody>
     <tr>
       <td>
@@ -232,13 +256,13 @@ constructors are shown in the following table: <br>
       <td><font size="-1">const std::string &amp;imageSpec_</font></td>
       <td><font size="-1">Construct Image by reading from file or URL
 specified by <i>imageSpec_</i>. Use array notation (e.g. filename[9])
-to select a  specific scene from a multi-frame image.</font></td>
+to select a specific scene from a multi-frame image.</font></td>
     </tr>
     <tr>
       <td><font size="-1">const Geometry &amp;size_, const <a
  href="Color.html"> Color</a> &amp;color_</font></td>
       <td><font size="-1">Construct a blank image canvas of specified
-size and  color</font></td>
+size and color</font></td>
     </tr>
     <tr>
       <td><a name="constructor_blob"></a> <font size="-1">const <a
@@ -246,13 +270,14 @@ size and  color</font></td>
       <td rowspan="5"><font size="-1">Construct Image by reading from
 encoded image data contained in an in-memory <a href="Blob.html">BLOB</a>
 . Depending on the constructor arguments, the Blob <a href="#size">size</a>
-, <a href="#depth">depth</a> , <a href="#magick">magick</a> (format) may
-also be specified. Some image formats require that size  be  specified.
+, <a href="#depth">depth</a> , <a href="#magick">magick</a> (format)
+may
+also be specified. Some image formats require that size be specified.
 The default ImageMagick uses for depth depends on the compiled-in
 Quantum size (8 or 16).&nbsp; If ImageMagick's Quantum size does not
 match that of the image, the depth may need to be specified.
-ImageMagick can usually   automatically detect the image's format.
-When a format can't be automatically   detected, the format (<a
+ImageMagick can usually automagically detect the image's format.
+When a format can't be automagically detected, the format (<a
  href="#magick">magick</a> ) must be specified.</font></td>
     </tr>
     <tr>
@@ -262,32 +287,33 @@ When a format can't be automatically   detected, the format (<a
     <tr>
       <td><font size="-1">const <a href="Blob.html">Blob</a>
 &amp;blob_, const <a href="Geometry.html">Geometry</a> &amp;size,
-unsigned int depth</font></td>
+size_t depth</font></td>
     </tr>
     <tr>
       <td><font size="-1">const <a href="Blob.html">Blob</a>
 &amp;blob_, const <a href="Geometry.html">Geometry</a> &amp;size,
-unsigned int depth_, const string &amp;magick_</font></td>
+size_t depth_, const string &amp;magick_</font></td>
     </tr>
     <tr>
       <td><font size="-1">const <a href="Blob.html">Blob</a>
-&amp;blob_, const <a href="Geometry.html">Geometry</a> &amp;size, const
+&amp;blob_, const <a href="Geometry.html">Geometry</a> &amp;size,
+const
 string &amp;magick_</font></td>
     </tr>
     <tr>
-      <td><font size="-1">const unsigned int width_,&nbsp;</font> <br>
-      <font size="-1">const unsigned int height_,</font> <br>
+      <td><font size="-1">const size_t width_,&nbsp;</font> <br>
+      <font size="-1">const size_t height_,</font> <br>
       <font size="-1">std::string map_,</font> <br>
       <font size="-1">const <a href="Enumerations.html#StorageType">
 StorageType</a> type_,</font> <br>
-      <font size="-1">const unsigned char* pixels_</font></td>
+      <font size="-1">const void *pixels_</font></td>
       <td><font size="-1">Construct a new Image based on an array of
-image pixels.  The pixel data must be in scanline order top-to-bottom.
-The data  can be character, short int, integer, float, or double. Float
+image pixels. The pixel data must be in scanline order top-to-bottom.
+The data can be character, short int, integer, float, or double. Float
 and double require the pixels to be normalized [0..1]. The other types
-are [0..QuantumRange].&nbsp;   For example, to create a 640x480 image from
-unsigned red-green-blue character   data, use</font>
-      <p><font size="-1">&nbsp;&nbsp; Image image( 640, 480,   "RGB",
+are [0..MaxRGB].&nbsp; For example, to create a 640x480 image from
+unsigned red-green-blue character data, use</font>
+      <p><font size="-1">&nbsp;&nbsp; Image image( 640, 480, "RGB",
 0, pixels );</font> </p>
       <p><font size="-1">The parameters are as follows:</font> <br>
 &nbsp;
@@ -304,21 +330,21 @@ unsigned red-green-blue character   data, use</font>
           <tr>
             <td><font size="-1">map_</font></td>
             <td><font size="-1">This character string can be any
-combination or  order   of R = red, G = green, B = blue, A = alpha, C =
-cyan, Y = yellow M = magenta,   and K = black. The ordering reflects the
-order of the pixels  in the supplied   pixel array.</font></td>
+combination or order of R = red, G = green, B = blue, A = alpha, C =
+cyan, Y = yellow M = magenta, and K = black. The ordering reflects the
+order of the pixels in the supplied pixel array.</font></td>
           </tr>
           <tr>
             <td><font size="-1">type_</font></td>
             <td><font size="-1"><a href="Enumerations.html#StorageType">Pixel
-storage    type</a> (CharPixel, ShortPixel, IntegerPixel, FloatPixel, or
+storage type</a> (CharPixel, ShortPixel, IntegerPixel, FloatPixel, or
 DoublePixel)</font></td>
           </tr>
           <tr>
             <td><font size="-1">pixels_</font></td>
             <td><font size="-1">This array of values contain the pixel
-components as  defined by the map_ and type_ parameters. The length of
-the arrays must   equal the area specified by the width_ and height_
+components as defined by the map_ and type_ parameters. The length of
+the arrays must equal the area specified by the width_ and height_
 values and type_ parameters.</font></td>
           </tr>
         </tbody>
@@ -329,13 +355,15 @@ values and type_ parameters.</font></td>
   </tbody>
 </table>
 <center>
-<h3> <a name="Image Manipulation Methods"></a> Image Manipulation Methods</h3>
+<h3> <a name="Image Manipulation Methods"></a> Image Manipulation
+Methods</h3>
 </center>
-<i>Image</i> supports access to all the single-image (versus image-list)
- manipulation operations provided by the ImageMagick library. If you
+<i>Image</i> supports access to all the single-image (versus
+image-list) manipulation operations provided by the ImageMagick
+library. If you
 must process a multi-image file (such as an animation), the <a
  href="STL.html"> STL interface</a> , which provides a multi-image
-abstraction on top of <i>Image</i>, must   be used.
+abstraction on top of <i>Image</i>, must be used.
 <p>Image manipulation methods are very easy to use.&nbsp; For example: </p>
 <blockquote><font color="#663366">Image image;</font> <br>
   <font color="#663366">image.read("myImage.tiff");</font> <br>
@@ -344,25 +372,26 @@ abstraction on top of <i>Image</i>, must   be used.
 adds gaussian noise to the image file "myImage.tiff".
 <p>The operations supported by Image are shown in the following table: <br>
 &nbsp;
-<table border="1" nosave="">
-  <caption><b>Image Manipulation Methods</b></caption> <tbody>
+<table nosave="" border="1">
+  <caption><b>Image Image Manipulation Methods</b></caption> <tbody>
     <tr align="center">
       <td><b>Method</b></td>
       <td><b>Signature(s)</b></td>
       <td><b>Description</b></td>
     </tr>
     <tr>
-      <td valign="middle">
+      <td style="text-align: center;" valign="middle">
       <div align="center"><a name="adaptiveThreshold"></a> <font
  size="-1">adaptiveThreshold<br>
       </font></div>
       </td>
-      <td valign="middle"><font size="-1">unsigned int width,  unsigned
+      <td valign="middle"><font size="-1">size_t width, unsigned
 int height, unsigned offset = 0<br>
       </font></td>
-      <td valign="top"><font size="-1">Apply adaptive thresholding  to
+      <td valign="top"><font size="-1">Apply adaptive thresholding to
 the image. Adaptive thresholding is useful if the ideal threshold level
-is not known in advance, or if the illumination gradient is not constant
+is not known in advance, or if the illumination gradient is not
+constant
 across the image. Adaptive thresholding works by evaulating the mean
 (average) of a pixel region (size specified by <i>width</i> and <i>height</i>)
 and using the mean as the thresholding value. In order to remove
@@ -372,7 +401,7 @@ compute the threshold.</font><br>
       </td>
     </tr>
     <tr>
-      <td>
+      <td style="text-align: center;">
       <center><a name="addNoise"></a> <font size="-1">addNoise</font></center>
       </td>
       <td><font size="-1"><a href="Enumerations.html#NoiseType">NoiseType</a>
@@ -380,7 +409,21 @@ noiseType_</font></td>
       <td><font size="-1">Add noise to image with specified noise type.</font></td>
     </tr>
     <tr>
-      <td style="vertical-align: middle;"><small><a
+      <td style="vertical-align: middle; text-align: center;"><small><a
+ name="addNoiseChannel"></a>addNoiseChannel<br>
+      </small></td>
+      <td style="vertical-align: middle;"><small>const ChannelType
+channel_, const NoiseType noiseType_<br>
+      </small></td>
+      <td style="vertical-align: middle;"><small>Add noise to an image
+channel with the specified noise type.</small><font size="-1"> The <span
+ style="font-style: italic;">channel_</span> parameter specifies the
+channel to add noise to.&nbsp; The </font><small>noiseType_ parameter
+specifies the type of noise.<br>
+      </small></td>
+    </tr>
+    <tr>
+      <td style="vertical-align: middle; text-align: center;"><small><a
  name="affineTransform"></a>affineTransform<br>
       </small></td>
       <td style="vertical-align: middle;"><small>const DrawableAffine
@@ -391,7 +434,7 @@ specified affine (or free transform) matrix.<br>
       </small></td>
     </tr>
     <tr>
-      <td rowspan="4">
+      <td style="text-align: center;" rowspan="4">
       <center><a name="annotate"></a> <font size="-1">annotate</font></center>
       </td>
       <td><font size="-1">const std::string &amp;text_, const <a
@@ -404,8 +447,8 @@ location</font></td>
 &amp;boundingArea_, <a href="Enumerations.html#GravityType">GravityType</a>
 gravity_</font></td>
       <td><font size="-1">Annotate using specified text, bounding area,
-and placement  gravity. If <i>boundingArea_</i> is invalid, then
-bounding area   is entire  image.</font></td>
+and placement gravity. If <i>boundingArea_</i> is invalid, then
+bounding area is entire image.</font></td>
     </tr>
     <tr>
       <td><font size="-1">const std::string &amp;text_, const <a
@@ -413,8 +456,8 @@ bounding area   is entire  image.</font></td>
  href="Enumerations.html#GravityType">GravityType</a> gravity_, double
 degrees_,&nbsp;</font></td>
       <td><font size="-1">Annotate with text using specified text,
-bounding area,  placement gravity, and rotation. If <i>boundingArea_</i>
-is invalid,   then  bounding area is entire image.</font></td>
+bounding area, placement gravity, and rotation. If <i>boundingArea_</i>
+is invalid, then bounding area is entire image.</font></td>
     </tr>
     <tr>
       <td><font size="-1">const std::string &amp;text_, <a
@@ -423,18 +466,34 @@ is invalid,   then  bounding area is entire image.</font></td>
 image) and placement gravity.</font></td>
     </tr>
     <tr>
-      <td>
+      <td style="text-align: center;">
       <center><a name="blur"></a> <font size="-1">blur</font></center>
       </td>
       <td><font size="-1">const double radius_ = 1, const double sigma_
 = 0.5</font></td>
       <td><font size="-1">Blur image. The <i>radius_ </i>parameter
-specifies the radius of the Gaussian, in pixels, not counting the center
+specifies the radius of the Gaussian, in pixels, not counting the
+center
 pixel.&nbsp; The <i>sigma_</i> parameter specifies the standard
-deviation of the Laplacian,    in pixels.</font></td>
+deviation of the Laplacian, in pixels.</font></td>
     </tr>
     <tr>
-      <td>
+      <td style="vertical-align: middle; text-align: center;"><small><a
+ name="blurChannel"></a>blurChannel<br>
+      </small></td>
+      <td style="vertical-align: middle;"><small>const ChannelType
+channel_, const double radius_ = 0.0, const double sigma_ = 1.0<br>
+      </small></td>
+      <td style="vertical-align: middle;"><font size="-1">Blur an image
+channel. The <span style="font-style: italic;">channel_</span>
+parameter specifies the channel to blur. The <i>radius_ </i>parameter
+specifies the radius of the Gaussian, in pixels, not counting the
+center
+pixel.&nbsp; The <i>sigma_</i> parameter specifies the standard
+deviation of the Laplacian, in pixels.</font></td>
+    </tr>
+    <tr>
+      <td style="text-align: center;">
       <center><a name="border"></a> <font size="-1">border</font></center>
       </td>
       <td><font size="-1">const <a href="Geometry.html">Geometry</a>
@@ -443,29 +502,36 @@ deviation of the Laplacian,    in pixels.</font></td>
 color of the border is specified by the <i>borderColor</i> attribute.</font></td>
     </tr>
     <tr>
-      <td>
+      <td style="text-align: center;">
+      <center><a name="cdl"></a> <font size="-1">cdl</font></center>
+      </td>
+      <td><font size="-1">const std::string &amp;cdl_</font></td>
+      <td><font size="-1">color correct with a color decision list. See <a href="http://en.wikipedia.org/wiki/ASC_CDL">http://en.wikipedia.org/wiki/ASC_CDL</a> for details.</font></td>
+    </tr>
+    <tr>
+      <td style="text-align: center;">
       <center><a name="channel"></a> <font size="-1">channel</font></center>
       </td>
       <td><font size="-1"><a href="Enumerations.html#ChannelType">ChannelType</a>
 layer_</font></td>
       <td><font size="-1">Extract channel from image. Use this option
-to extract   a particular channel from&nbsp; the image.&nbsp; <i>MatteChannel</i>
+to extract a particular channel from&nbsp; the image.&nbsp; <i>MatteChannel</i>
 &nbsp; for&nbsp; example, is useful for extracting the opacity values
 from an image.</font></td>
     </tr>
     <tr>
-      <td>
+      <td style="text-align: center;">
       <center><a name="charcoal"></a> <font size="-1">charcoal</font></center>
       </td>
       <td><font size="-1">const double radius_ = 1, const double sigma_
 = 0.5</font></td>
       <td><font size="-1">Charcoal effect image (looks like charcoal
 sketch). The <i>radius_</i> parameter specifies the radius of the
-Gaussian, in pixels,   not counting the center pixel.&nbsp; The <i>sigma_</i>
-parameter specifies   the standard deviation of the Laplacian, in pixels.</font></td>
+Gaussian, in pixels, not counting the center pixel.&nbsp; The <i>sigma_</i>
+parameter specifies the standard deviation of the Laplacian, in pixels.</font></td>
     </tr>
     <tr>
-      <td>
+      <td style="text-align: center;">
       <center><a name="chop"></a> <font size="-1">chop</font></center>
       </td>
       <td><font size="-1">const <a href="Geometry.html">Geometry</a>
@@ -474,59 +540,61 @@ parameter specifies   the standard deviation of the Laplacian, in pixels.</font>
 subregion of image)</font></td>
     </tr>
     <tr>
-      <td rowspan="2">
+      <td style="text-align: center;" rowspan="2">
       <center><a name="colorize"></a> <font size="-1">colorize</font></center>
       </td>
-      <td><font size="-1">const unsigned int opacityRed_, const
-unsigned int   opacityGreen_, const unsigned int opacityBlue_, const
+      <td><font size="-1">const size_t opacityRed_, const
+size_t opacityGreen_, const size_t opacityBlue_, const
 Color &amp;penColor_</font></td>
       <td><font size="-1">Colorize image with pen color, using
-specified percent   opacity for red, green, and blue quantums.</font></td>
+specified percent opacity for red, green, and blue quantums.</font></td>
     </tr>
     <tr>
-      <td><font size="-1">const unsigned int opacity_, const Color
-&amp;penColor_</font></td>
-      <td><font size="-1">Colorize image with pen color, using
-specified percent   opacity.</font></td>
+      <td style="text-align: center;">
+      <center><a name="colorMatrix"></a> <font size="-1">colorMatrix</font></center>
+      </td>
+      <td><font size="-1">const size_t order_, const double *color_matrix_</font></td>
+      <td><font size="-1">apply color correction to the image.</font></td>
     </tr>
     <tr>
-      <td>
+      <td style="text-align: center;">
       <center><a name="comment"></a> <font size="-1">comment</font></center>
       </td>
-      <td><font size="-1">const string &amp;comment_</font></td>
+      <td><font size="-1">const std::string &amp;comment_</font></td>
       <td><font size="-1">Comment image (add comment string to
 image).&nbsp; By default, each image is commented with its file name.
-Use&nbsp; this&nbsp;    method to&nbsp; assign a specific comment to the
-image.&nbsp; Optionally   you can include the image filename, type,
-width, height, or other&nbsp; image&nbsp;  attributes by embedding <a
+Use&nbsp; this&nbsp; method to&nbsp; assign a specific comment to the
+image.&nbsp; Optionally you can include the image filename, type,
+width, height, or other&nbsp; image&nbsp; attributes by embedding <a
  href="FormatCharacters.html">special format characters.</a> </font></td>
     </tr>
     <tr>
-      <td valign="middle" align="center"><font size="-1"><a
+      <td style="text-align: center;" valign="middle"><font size="-1"><a
  name="compare"></a> compare<br>
       </font></td>
       <td valign="middle"><font size="-1">const Image &amp;reference_<br>
       </font></td>
-      <td valign="top"><font size="-1">Compare current image  with
-another image. Sets <a href="#meanErrorPerPixel">meanErrorPerPixel</a> , <a
- href="#normalizedMaxError">normalizedMaxError</a> , and <a
+      <td valign="top"><font size="-1">Compare current image with
+another image. Sets <a href="#meanErrorPerPixel">meanErrorPerPixel</a>
+, <a href="#normalizedMaxError">normalizedMaxError</a> , and <a
  href="#normalizedMeanError">normalizedMeanError</a> in the current
-image. False is returned if the images are identical. An  ErrorOption
-exception is thrown if the reference image columns, rows, colorspace, or
+image. False is returned if the images are identical. An ErrorOption
+exception is thrown if the reference image columns, rows, colorspace,
+or
 matte differ from the current image.</font><br>
       </td>
     </tr>
     <tr>
-      <td rowspan="3">
+      <td style="text-align: center;" rowspan="3">
       <center><a name="composite"></a> <font size="-1">composite</font></center>
       </td>
       <td><font size="-1">const <a href="Image.html">Image</a>
-&amp;compositeImage_, int xOffset_, int yOffset_, <a
+&amp;compositeImage_, ssize_t xOffset_, ssize_t yOffset_, <a
  href="Enumerations.html#CompositeOperator"> CompositeOperator</a>
 compose_ = <i>InCompositeOp</i></font></td>
       <td><font size="-1">Compose an image onto the current image at
-offset specified  by <i>xOffset_</i>, <i>yOffset_ </i>using the
-composition algorithm   specified  by <i>compose_</i>.&nbsp;</font></td>
+offset specified by <i>xOffset_</i>, <i>yOffset_ </i>using the
+composition algorithm specified by <i>compose_</i>.&nbsp;</font></td>
     </tr>
     <tr>
       <td><font size="-1">const <a href="Image.html">Image</a>
@@ -534,7 +602,7 @@ composition algorithm   specified  by <i>compose_</i>.&nbsp;</font></td>
 &amp;offset_, <a href="Enumerations.html#CompositeOperator">CompositeOperator</a>
 compose_ = <i>InCompositeOp</i></font></td>
       <td><font size="-1">Compose an image onto the current image at
-offset specified  by <i>offset_</i> using the composition algorithm
+offset specified by <i>offset_</i> using the composition algorithm
 specified by <i>compose_</i> .&nbsp;</font></td>
     </tr>
     <tr>
@@ -543,30 +611,31 @@ specified by <i>compose_</i> .&nbsp;</font></td>
 gravity_, <a href="Enumerations.html#CompositeOperator">CompositeOperator</a>
 compose_ = <i>InCompositeOp</i></font></td>
       <td><font size="-1">Compose an image onto the current image with
-placement specified by <i>gravity_ </i>using the composition algorithm
+placement specified by <i>gravity_ </i>using the composition
+algorithm
 specified by <i>compose_</i>.&nbsp;</font></td>
     </tr>
     <tr>
-      <td>
+      <td style="text-align: center;">
       <center><a name="contrast"></a> <font size="-1">contrast</font></center>
       </td>
-      <td><font size="-1">unsigned int sharpen_</font></td>
+      <td><font size="-1">size_t sharpen_</font></td>
       <td><font size="-1">Contrast image (enhance intensity differences
 in image)</font></td>
     </tr>
     <tr>
-      <td>
+      <td style="text-align: center;">
       <center><a name="convolve"></a> <font size="-1">convolve</font></center>
       </td>
-      <td><font size="-1">unsigned int order_, const double *kernel_</font></td>
+      <td><font size="-1">size_t order_, const double *kernel_</font></td>
       <td><font size="-1">Convolve image.&nbsp; Applies a user-specfied
 convolution to the image. The <i>order_</i> parameter represents the
-number of columns    and rows in the filter kernel, and <i>kernel_</i>
-is a two-dimensional array  of doubles representing the convolution
+number of columns and rows in the filter kernel, and <i>kernel_</i>
+is a two-dimensional array of doubles representing the convolution
 kernel to apply.</font></td>
     </tr>
     <tr>
-      <td>
+      <td style="text-align: center;">
       <center><a name="crop"></a> <font size="-1">crop</font></center>
       </td>
       <td><font size="-1">const <a href="Geometry.html">Geometry</a>
@@ -574,32 +643,40 @@ kernel to apply.</font></td>
       <td><font size="-1">Crop image (subregion of original image)</font></td>
     </tr>
     <tr>
-      <td>
+      <td style="text-align: center;">
       <center><a name="cycleColormap"></a> <font size="-1">cycleColormap</font></center>
       </td>
       <td><font size="-1">int amount_</font></td>
       <td><font size="-1">Cycle image colormap</font></td>
     </tr>
     <tr>
-      <td>
+      <td style="text-align: center;">
       <center><a name="despeckle"></a> <font size="-1">despeckle</font></center>
       </td>
       <td><font size="-1">void</font></td>
       <td><font size="-1">Despeckle image (reduce speckle noise)</font></td>
     </tr>
     <tr>
-      <td>
+      <td style="text-align: center;">
       <center><a name="display"></a> <font size="-1">display</font></center>
       </td>
       <td><font size="-1">void</font></td>
       <td><font size="-1">Display image on screen.</font> <br>
       <font size="-1"><b><font color="#ff0000">Caution: </font></b> if
-an image format is not compatible   with the display visual (e.g.
-JPEG on a colormapped display) then the original   image will be
+an image format is is not compatible with the display visual (e.g.
+JPEG on a colormapped display) then the original image will be
 altered. Use a copy of the original if this is a problem.</font></td>
     </tr>
     <tr>
-      <td rowspan="2">
+      <td>
+      <center><a name="distort"></a> <font size="-1">distort</font></center>
+      </td>
+      <td><font size="-1">const DistortImageMethod method, const unsigned long number_arguments, const double *arguments, const bool bestfit = false </font></td>
+      <td><font size="-1">Distort image.&nbsp; Applies a user-specfied
+distortion to the image.</font></td>
+    </tr>
+    <tr>
+      <td style="text-align: center;" rowspan="2">
       <center><a name="draw"></a> <font size="-1">draw</font></center>
       </td>
       <td><font size="-1">const <a href="Drawable.html">Drawable</a>
@@ -611,45 +688,45 @@ altered. Use a copy of the original if this is a problem.</font></td>
 &gt; &amp;drawable_</font></td>
       <td><font size="-1">Draw shapes or text on image using a set of
 Drawable objects contained in an STL list. Use of this method improves
-drawing performance    and allows batching draw objects together in a
+drawing performance and allows batching draw objects together in a
 list for repeated use.</font></td>
     </tr>
     <tr>
-      <td>
+      <td style="text-align: center;">
       <center><a name="edge"></a> <font size="-1">edge</font></center>
       </td>
-      <td><font size="-1">unsigned int radius_ = 0.0</font></td>
+      <td><font size="-1">size_t radius_ = 0.0</font></td>
       <td><font size="-1">Edge image (hilight edges in image).&nbsp;
-The radius   is the radius of the pixel neighborhood.. Specify a radius
-of zero for automatic  radius selection.</font></td>
+The radius is the radius of the pixel neighborhood.. Specify a radius
+of zero for automatic radius selection.</font></td>
     </tr>
     <tr>
-      <td>
+      <td style="text-align: center;">
       <center><a name="emboss"></a> <font size="-1">emboss</font></center>
       </td>
       <td><font size="-1">const double radius_ = 1, const double sigma_
 = 0.5</font></td>
       <td><font size="-1">Emboss image (hilight edges with 3D effect).
 The <i> radius_</i> parameter specifies the radius of the Gaussian, in
-pixels, not  counting the center pixel.&nbsp; The <i>sigma_</i>
-parameter specifies the  standard deviation of the Laplacian, in pixels.</font></td>
+pixels, not counting the center pixel.&nbsp; The <i>sigma_</i>
+parameter specifies the standard deviation of the Laplacian, in pixels.</font></td>
     </tr>
     <tr>
-      <td>
+      <td style="text-align: center;">
       <center><a name="enhance"></a> <font size="-1">enhance</font></center>
       </td>
       <td><font size="-1">void</font></td>
       <td><font size="-1">Enhance image (minimize noise)</font></td>
     </tr>
     <tr>
-      <td>
+      <td style="text-align: center;">
       <center><a name="equalize"></a> <font size="-1">equalize</font></center>
       </td>
       <td><font size="-1">void</font></td>
       <td><font size="-1">Equalize image (histogram equalization)</font></td>
     </tr>
     <tr>
-      <td>
+      <td style="text-align: center;">
       <center><a name="erase"></a> <font size="-1">erase</font></center>
       </td>
       <td><font size="-1">void</font></td>
@@ -657,7 +734,27 @@ parameter specifies the  standard deviation of the Laplacian, in pixels.</font><
 background color.</font></td>
     </tr>
     <tr>
-      <td>
+      <td style="text-align: center;" rowspan="4">
+      <center><a name="extent"></a> <font size="-1">extent</font></td>
+      <td><font size="-1">const <a href="Geometry.html"> Geometry</a> &amp;geometry_</font></td>
+      <td rowspan="2"><font size="-1">extends the image as defined by the geometry, gravity, and image background color.</font></td>
+    </tr>
+    <tr>
+      <td><font size="-1">const <a href="Geometry.html">Geometry</a>
+&amp;geometry_, const <a href="Color.html">Color</a> &amp;backgroundColor_</font></td>
+    </tr>
+    <tr>
+      <td><font size="-1">const <a href="Geometry.html"> Geometry</a> &amp;geometry_, const <a href="Enumerations.html#GravityType">GravityType</a>
+&amp;gravity_</font></td>
+      <td rowspan="2"><font size="-1">extends the image as defined by the geometry, gravity, and image background color.</font></td>
+    </tr>
+    <tr>
+      <td><font size="-1">const <a href="Geometry.html">Geometry</a>
+&amp;geometry_, const <a href="Color.html">Color</a> &amp;backgroundColor_,
+const <a href="Enumerations.html#GravityType">GravityType</a> &amp;gravity_</font></td>
+    </tr>
+    <tr>
+      <td style="text-align: center;">
       <center><a name="flip"></a> <font size="-1">flip</font></center>
       </td>
       <td><font size="-1">void</font></td>
@@ -665,69 +762,75 @@ background color.</font></td>
 vertical direction)</font></td>
     </tr>
     <tr>
-      <td rowspan="4">
-      <center><a name="floodFillColor"></a> <font size="-1">floodFill-</font> <br>
+      <td style="text-align: center;" rowspan="4">
+      <center><a name="floodFillColor"></a> <font size="-1">floodFill-</font>
+      <br>
       <font size="-1">Color</font></center>
       </td>
-      <td><font size="-1">unsigned int x_, unsigned int y_, const <a
+      <td><font size="-1">size_t x_, size_t y_, const <a
  href="Color.html"> Color</a> &amp;fillColor_</font></td>
       <td rowspan="2"><font size="-1">Flood-fill color across pixels
-that match   the color of the target pixel and are neighbors of the
-target pixel.  Uses   current fuzz setting when determining color match.</font></td>
+that match the color of the target pixel and are neighbors of the
+target pixel. Uses current fuzz setting when determining color match.</font></td>
     </tr>
     <tr>
       <td><font size="-1">const <a href="Geometry.html">Geometry</a>
 &amp;point_, const <a href="Color.html">Color</a> &amp;fillColor_</font></td>
     </tr>
     <tr>
-      <td><font size="-1">unsigned int x_, unsigned int y_, const <a
- href="Color.html"> Color</a> &amp;fillColor_, const <a href="Color.html">Color</a>
+      <td><font size="-1">size_t x_, size_t y_, const <a
+ href="Color.html"> Color</a> &amp;fillColor_, const <a
+ href="Color.html">Color</a>
 &amp;borderColor_</font></td>
       <td rowspan="2"><font size="-1">Flood-fill color across pixels
 starting at target-pixel and stopping at pixels matching specified
-border color. Uses  current fuzz setting when determining color match.</font></td>
+border color. Uses current fuzz setting when determining color match.</font></td>
     </tr>
     <tr>
       <td><font size="-1">const <a href="Geometry.html">Geometry</a>
-&amp;point_, const <a href="Color.html">Color</a> &amp;fillColor_, const <a
- href="Color.html">Color</a> &amp;borderColor_</font></td>
+&amp;point_, const <a href="Color.html">Color</a> &amp;fillColor_,
+const <a href="Color.html">Color</a> &amp;borderColor_</font></td>
     </tr>
     <tr>
-      <td><a name="floodFillOpacity"></a> <font size="-1">floodFillOpacity</font></td>
+      <td style="text-align: center;"><a name="floodFillOpacity"></a> <font
+ size="-1">floodFillOpacity</font></td>
       <td><font size="-1">const long x_, const long y_, const unsigned
-int opacity_,  const PaintMethod method_</font></td>
+int opacity_, const PaintMethod method_</font></td>
       <td><font size="-1">Floodfill pixels matching color (within fuzz
-factor) of target pixel(x,y) with replacement opacity value using method.</font></td>
+factor) of target pixel(x,y) with replacement opacity value using
+method.</font></td>
     </tr>
     <tr>
-      <td rowspan="4">
-      <center><a name="floodFillTexture"></a> <font size="-1">floodFill-</font> <br>
+      <td style="text-align: center;" rowspan="4">
+      <center><a name="floodFillTexture"></a> <font size="-1">floodFill-</font>
+      <br>
       <font size="-1">Texture</font></center>
       </td>
-      <td><font size="-1">unsigned int x_, unsigned int y_,&nbsp; const
+      <td><font size="-1">size_t x_, size_t y_,&nbsp; const
 Image &amp;texture_</font></td>
       <td rowspan="2"><font size="-1">Flood-fill texture across pixels
-that match  the color of the target pixel and are neighbors of the
-target pixel.   Uses  current fuzz setting when determining color match.</font></td>
+that match the color of the target pixel and are neighbors of the
+target pixel. Uses current fuzz setting when determining color match.</font></td>
     </tr>
     <tr>
       <td><font size="-1">const <a href="Geometry.html">Geometry</a>
 &amp;point_, const Image &amp;texture_</font></td>
     </tr>
     <tr>
-      <td><font size="-1">unsigned int x_, unsigned int y_, const Image
+      <td><font size="-1">size_t x_, size_t y_, const Image
 &amp;texture_, const <a href="Color.html">Color</a> &amp;borderColor_</font></td>
       <td rowspan="2"><font size="-1">Flood-fill texture across pixels
 starting at target-pixel and stopping at pixels matching specified
-border color.  Uses current fuzz setting when determining color match.</font></td>
+border color. Uses current fuzz setting when determining color match.</font></td>
     </tr>
     <tr>
       <td><font size="-1">const <a href="Geometry.html">Geometry</a>
-&amp;point_, const Image &amp;texture_, const <a href="Color.html"> Color</a>
+&amp;point_, const Image &amp;texture_, const <a href="Color.html">
+Color</a>
 &amp;borderColor_</font></td>
     </tr>
     <tr>
-      <td>
+      <td style="text-align: center;">
       <center><a name="flop"></a> <font size="-1">flop</font></center>
       </td>
       <td><font size="-1">void&nbsp;</font></td>
@@ -735,7 +838,14 @@ border color.  Uses current fuzz setting when determining color match.</font></t
 horizontal direction)</font></td>
     </tr>
     <tr>
-      <td rowspan="2">
+      <td>
+      <center><a name="forwardFourierTransform"></a> <font size="-1">forwardFourierTransform</font></center>
+      </td>
+      <td><font size="-1">const bool magnitude</font></td>
+      <td><font size="-1">Implements the discrete Fourier transform (DFT) of the image either as a magnitude / phase or real / imaginary image pair.</font></td>
+    </tr>
+    <tr>
+      <td style="text-align: center;" rowspan="2">
       <center><a name="frame"></a> <font size="-1">frame</font></center>
       </td>
       <td><font size="-1">const <a href="Geometry.html">Geometry</a>
@@ -743,11 +853,19 @@ horizontal direction)</font></td>
       <td rowspan="2"><font size="-1">Add decorative frame around image</font></td>
     </tr>
     <tr>
-      <td><font size="-1">unsigned int width_, unsigned int height_,
-int x_,   int  y_, int innerBevel_ = 0, int outerBevel_ = 0</font></td>
+      <td><font size="-1">size_t width_, size_t height_,
+int x_, ssize_t y_, ssize_t innerBevel_ = 0, ssize_t outerBevel_ = 0</font></td>
+    </tr>
+    <tr>
+      <td>
+      <center><a name="fx"></a> <font size="-1">fx</font></center>
+      </td>
+      <td><font size="-1">const std::string expression, const Magick::ChannelType channel</font></td>
+      <td><font size="-1">Fx image.&nbsp; Applies a mathematical
+expression to the image.</font></td>
     </tr>
     <tr>
-      <td rowspan="2">
+      <td style="text-align: center;" rowspan="2">
       <center><a name="gamma"></a> <font size="-1">gamma</font></center>
       </td>
       <td><font size="-1">double gamma_</font></td>
@@ -761,34 +879,67 @@ gammaBlue_</font></td>
 of image.</font></td>
     </tr>
     <tr>
-      <td>
+      <td style="text-align: center;">
       <center><a name="gaussianBlur"></a> <font size="-1">gaussianBlur</font></center>
       </td>
       <td><font size="-1">const double width_, const double sigma_</font></td>
       <td><font size="-1">Gaussian blur image. The number of neighbor
 pixels to be included in the convolution mask is specified by
-'width_'.&nbsp; For   example, a width of one gives a (standard) 3x3
-convolution mask. The standard   deviation of the gaussian bell curve is
+'width_'.&nbsp; For example, a width of one gives a (standard) 3x3
+convolution mask. The standard deviation of the gaussian bell curve is
 specified by 'sigma_'.</font></td>
     </tr>
     <tr>
-      <td>
+      <td style="vertical-align: middle; text-align: center;"><small><a
+ name="gaussianBlurChannel"></a>gaussianBlurChannel<br>
+      </small></td>
+      <td style="vertical-align: middle;"><small>const ChannelType
+channel_, const double radius_ = 0.0, const double sigma_ = 1.0<br>
+      </small></td>
+      <td style="vertical-align: middle;"><font size="-1">Gaussian blur
+an image channel. </font><font size="-1">The <span
+ style="font-style: italic;">channel_</span> parameter specifies the
+channel to blur. </font><font size="-1">The number of neighbor
+pixels to be included in the convolution mask is specified by
+'width_'.&nbsp; For example, a width of one gives a (standard) 3x3
+convolution mask. The standard deviation of the gaussian bell curve is
+specified by 'sigma_'.</font></td>
+    </tr>
+    <tr>
+      <td style="text-align: center;" valign="middle"><font size="-1"><a
+ name="haldClut"></a> haldClut<br>
+      </font></td>
+      <td valign="middle"><font size="-1">const Image &amp;reference_<br>
+      </font></td>
+      <td valign="top"><font size="-1">apply a Hald color lookup table to the image.</font><br>
+      </td>
+    </tr>
+    <tr>
+      <td style="text-align: center;">
       <center><a name="implode"></a> <font size="-1">implode</font></center>
       </td>
       <td><font size="-1">const double factor_</font></td>
       <td><font size="-1">Implode image (special effect)</font></td>
     </tr>
     <tr>
-      <td>
+      <td style="text-align: center;">
+      <center><a name="inverseFourierTransform"></a> <font size="-1">inverseFourierTransform</font></center>
+      </td>
+      <td><font size="-1">const Image &amp;phaseImage_, const bool magnitude_</font></td>
+      <td><font size="-1">implements the inverse discrete Fourier transform (DFT) of the image either as a magnitude / phase or real / imaginary image pair.</font></td>
+    </tr>
+    <tr>
+      <td style="text-align: center;">
       <center><a name="label"></a> <font size="-1">label</font></center>
       </td>
       <td><font size="-1">const string &amp;label_</font></td>
       <td><font size="-1">Assign a label to an image. Use this option
 to&nbsp; assign&nbsp; a&nbsp; specific label to the image. Optionally
-you can include    the image filename, type, width, height, or scene
-number in the label by   embedding&nbsp; <a href="FormatCharacters.html">
-special format characters.</a> If the first character of string is @, the
-image label is read from a  file titled by the remaining characters in
+you can include the image filename, type, width, height, or scene
+number in the label by embedding&nbsp; <a href="FormatCharacters.html">
+special format characters.</a> If the first character of string is @,
+the
+image label is read from a file titled by the remaining characters in
 the string. When converting to Postscript, use this&nbsp; option to
 specify a header string to print above the image.</font></td>
     </tr>
@@ -808,19 +959,19 @@ Colors darker than the black point are set to zero. Mid point (gamma)
 specifies a gamma correction to apply to the image. White point
 specifies the lightest color in the image.&nbsp; Colors brighter than
 the white point are set to the maximum quantum value. The black and
-white point have the valid range 0 to QuantumRange while mid (gamma) has a
+white point have the valid range 0 to MaxRGB while mid (gamma) has a
 useful range of 0 to ten.<br>
       </small></td>
     </tr>
     <tr>
-      <td style="vertical-align: top; text-align: center;"><small><a
+      <td style="vertical-align: middle; text-align: center;"><small><a
  name="levelChannel"></a>levelChannel<br>
       </small></td>
-      <td style="vertical-align: top;"><small>const ChannelType
+      <td style="vertical-align: middle;"><small>const ChannelType
 channel, const double black_point, const double white_point, const
 double mid_point=1.0<br>
       </small></td>
-      <td style="vertical-align: top;"><small>Level image channel.
+      <td style="vertical-align: middle;"><small>Level image channel.
 Adjust the levels of the image channel by scaling the values falling
 between specified white and black points to the full available quantum
 range. The parameters provided represent the black, mid (gamma), and
@@ -829,131 +980,153 @@ Colors darker than the black point are set to zero. Mid point (gamma)
 specifies a gamma correction to apply to the image. White point
 specifies the lightest color in the image. Colors brighter than the
 white point are set to the maximum quantum value. The black and white
-point have the valid range 0 to QuantumRange while mid (gamma) has a useful
+point have the valid range 0 to MaxRGB while mid (gamma) has a useful
 range of 0 to ten.<br>
       </small></td>
     </tr>
     <tr>
-      <td>
+      <td style="text-align: center;">
       <center><a name="magnify"></a> <font size="-1">magnify</font></center>
       </td>
       <td><font size="-1">void</font></td>
       <td><font size="-1">Magnify image by integral size</font></td>
     </tr>
     <tr>
-      <td>
+      <td style="text-align: center;">
       <center><a name="map"></a> <font size="-1">map</font></center>
       </td>
       <td><font size="-1">const Image &amp;mapImage_ , bool dither_ =
 false</font></td>
       <td><font size="-1">Remap image colors with closest color from
-reference image. Set dither_ to <i>true</i> in to apply Floyd/Steinberg
-error diffusion    to the image. By default, color reduction chooses an
-optimal&nbsp; set&nbsp;    of colors that best represent the original
+reference image. Set dither_ to <i>true</i> in to apply
+Floyd/Steinberg
+error diffusion to the image. By default, color reduction chooses an
+optimal&nbsp; set&nbsp; of colors that best represent the original
 image. Alternatively, you can&nbsp; choose&nbsp; a&nbsp;
-particular&nbsp; set&nbsp; of colors&nbsp; from&nbsp;    an image file
+particular&nbsp; set&nbsp; of colors&nbsp; from&nbsp; an image file
 with this option.</font></td>
     </tr>
     <tr>
-      <td>
+      <td style="text-align: center;">
       <center><a name="matteFloodfill"></a> <font size="-1">matteFloodfill</font></center>
       </td>
       <td><font size="-1">const <a href="Color.html">Color</a>
-&amp;target_, const unsigned int&nbsp; opacity_, const int x_, const int
+&amp;target_, const size_t&nbsp; opacity_, const ssize_t x_, const
+int
 y_, <a href="Enumerations.html#PaintMethod">PaintMethod</a> method_</font></td>
       <td><font size="-1">Floodfill designated area with a replacement
 opacity value.</font></td>
     </tr>
     <tr>
-      <td><a name="medianFilter"></a> <font size="-1">medianFilter</font></td>
+      <td style="text-align: center;"><a name="medianFilter"></a> <font
+ size="-1">medianFilter</font></td>
       <td><font size="-1">const double radius_ = 0.0</font></td>
       <td><font size="-1">Filter image by replacing each pixel
-component with   the median color in a circular neighborhood</font></td>
+component with the median color in a circular neighborhood</font></td>
     </tr>
     <tr>
-      <td>
+      <td style="text-align: center;">
       <center><a name="minify"></a> <font size="-1">minify</font></center>
       </td>
       <td><font size="-1">void</font></td>
       <td><font size="-1">Reduce image by integral size</font></td>
     </tr>
     <tr>
-      <td><a name="modifyImage"></a> <font size="-1">modifyImage</font></td>
+      <td style="text-align: center;"><a name="modifyImage"></a> <font
+ size="-1">modifyImage</font></td>
       <td><font size="-1">void</font></td>
       <td><font size="-1">Prepare to update image. Ensures that there
-is only   one reference to the underlying image so that the underlying
-image may be   safely modified without effecting previous generations of
-the image. Copies   the underlying image to a new image if necessary.</font></td>
+is only one reference to the underlying image so that the underlying
+image may be safely modified without effecting previous generations of
+the image. Copies the underlying image to a new image if necessary.</font></td>
     </tr>
     <tr>
-      <td>
+      <td style="text-align: center;">
       <center><a name="modulate"></a> <font size="-1">modulate</font></center>
       </td>
       <td><font size="-1">double brightness_, double saturation_,
 double hue_</font></td>
       <td><font size="-1">Modulate percent hue, saturation, and
-brightness of  an image. Modulation of saturation and brightness is as a
+brightness of an image. Modulation of saturation and brightness is as a
 ratio of the current value (1.0 for no change). Modulation of hue is an
 absolute rotation of -180 degrees to +180 degrees from the current
 position corresponding to an argument range of 0 to 2.0 (1.0 for no
 change).</font></td>
     </tr>
     <tr>
-      <td>
+      <td style="vertical-align: middle; text-align: center;"><small><a
+ name="motionBlur"></a>motionBlur<br>
+      </small></td>
+      <td style="vertical-align: middle;"><small>const double radius_,
+const double sigma_, const double angle_<br>
+      </small></td>
+      <td style="vertical-align: middle;"><small>Motion blur image with
+specified blur factor. The radius_ parameter specifies the radius of
+the Gaussian, in pixels, not counting the center pixel.&nbsp; The
+sigma_ parameter specifies the standard deviation of the Laplacian, in
+pixels. The angle_ parameter specifies the angle the object appears to
+be comming from (zero degrees is from the right).<br>
+      </small></td>
+    </tr>
+    <tr>
+      <td style="text-align: center;">
       <center><a name="negate"></a> <font size="-1">negate</font></center>
       </td>
       <td><font size="-1">bool grayscale_ = false</font></td>
       <td><font size="-1">Negate colors in image.&nbsp; Replace every
-pixel with  its complementary color (white becomes black, yellow becomes
-blue, etc.).&nbsp;  Set grayscale to only negate grayscale values in
+pixel with its complementary color (white becomes black, yellow becomes
+blue, etc.).&nbsp; Set grayscale to only negate grayscale values in
 image.</font></td>
     </tr>
     <tr>
-      <td>
+      <td style="text-align: center;">
       <center><a name="normalize"></a> <font size="-1">normalize</font></center>
       </td>
       <td><font size="-1">void</font></td>
       <td><font size="-1">Normalize image (increase contrast by
-normalizing the  pixel values to span the full range of color values).</font></td>
+normalizing the pixel values to span the full range of color values).</font></td>
     </tr>
     <tr>
-      <td>
+      <td style="text-align: center;">
       <center><a name="oilPaint"></a> <font size="-1">oilPaint</font></center>
       </td>
-      <td><font size="-1">unsigned int radius_ = 3</font></td>
+      <td><font size="-1">size_t radius_ = 3</font></td>
       <td><font size="-1">Oilpaint image (image looks like oil painting)</font></td>
     </tr>
     <tr>
-      <td>
+      <td style="text-align: center;">
       <center><a name="opacity"></a> <font size="-1">opacity</font></center>
       </td>
-      <td><font size="-1">unsigned int opacity_</font></td>
+      <td><font size="-1">size_t opacity_</font></td>
       <td><font size="-1">Set or attenuate the opacity channel in the
-image. If the image pixels are opaque then they are set to the specified
+image. If the image pixels are opaque then they are set to the
+specified
 opacity value, otherwise they are blended with the supplied opacity
-value.&nbsp; The value of opacity_ ranges from 0 (completely opaque) to <i>QuantumRange</i>
+value.&nbsp; The value of opacity_ ranges from 0 (completely opaque) to
+      <i>MaxRGB</i>
 . The defines <i>OpaqueOpacity</i> and <i>TransparentOpacity</i> are
 available to specify completely opaque or completely transparent,
 respectively.</font></td>
     </tr>
     <tr>
-      <td>
+      <td style="text-align: center;">
       <center><a name="opaque"></a> <font size="-1">opaque</font></center>
       </td>
       <td><font size="-1">const <a href="Color.html">Color</a>
 &amp;opaqueColor_, const <a href="Color.html">Color</a> &amp;penColor_</font></td>
       <td><font size="-1">Change color of pixels matching opaqueColor_
-to specified   penColor_.</font></td>
+to specified penColor_.</font></td>
     </tr>
     <tr nosave="">
-      <td rowspan="2" nosave="">
+      <td style="text-align: center;" rowspan="2" nosave="">
       <center><a name="ping"></a> <font size="-1">ping</font></center>
       </td>
       <td><font size="-1">const std::string &amp;imageSpec_</font></td>
       <td rowspan="2" nosave=""><font size="-1">Ping is similar to read
 except only enough of the image is read to determine the image columns,
-rows, and   filesize.&nbsp; The <a href="#columns">columns</a> </font>, <font
- size="-1"><a href="#rows">rows</a> , and <a href="#fileSize">fileSize</a>
+rows, and filesize.&nbsp; The <a href="#columns">columns</a> </font>,
+      <font size="-1"><a href="#rows">rows</a> , and <a
+ href="#fileSize">fileSize</a>
 attributes are valid after invoking ping.&nbsp; The image data is not
 valid after calling ping.</font></td>
     </tr>
@@ -961,14 +1134,15 @@ valid after calling ping.</font></td>
       <td><font size="-1">const Blob &amp;blob_</font></td>
     </tr>
     <tr>
-      <td style="text-align: center; vertical-align: middle;"><small><a
+      <td style="vertical-align: middle; text-align: center;"><small><a
  name="process"></a>process<br>
       </small></td>
       <td style="vertical-align: middle;"><small>std::string name_,
-const int argc_, char **argv_<br>
+const ssize_t argc_, char **argv_<br>
       </small></td>
       <td style="vertical-align: middle;"><small>Execute the named
-process module, passing any arguments via an argument vector, with argc_
+process module, passing any arguments via an argument vector, with
+argc_
 specifying the number of arguments in the vector, and argv_ passing the
 address of an array of null-terminated C strings which constitute the
 argument vector. An exception is thrown if the requested process module
@@ -976,7 +1150,7 @@ does not exist, fails to load, or fails during execution.</small><br>
       </td>
     </tr>
     <tr>
-      <td>
+      <td style="text-align: center;">
       <center><a name="quantize"></a> <font size="-1">quantize</font></center>
       </td>
       <td><font size="-1">bool measureError_ = false</font></td>
@@ -984,16 +1158,16 @@ does not exist, fails to load, or fails during execution.</small><br>
 measureError_ to true in order to calculate error attributes.</font></td>
     </tr>
     <tr>
-      <td>
+      <td style="text-align: center;">
       <center><a name="raise"></a> <font size="-1">raise</font></center>
       </td>
       <td><font size="-1">const <a href="Geometry.html">Geometry</a>
 &amp;geometry_ = "6x6+0+0",&nbsp; bool raisedFlag_ =&nbsp; false</font></td>
       <td><font size="-1">Raise image (lighten or darken the edges of
-an image   to give a 3-D raised or lowered effect)</font></td>
+an image to give a 3-D raised or lowered effect)</font></td>
     </tr>
     <tr>
-      <td rowspan="8">
+      <td style="text-align: center;" rowspan="8">
       <center><a name="read"></a> <font size="-1">read</font></center>
       </td>
       <td><font size="-1">const string &amp;imageSpec_</font></td>
@@ -1003,23 +1177,24 @@ an image   to give a 3-D raised or lowered effect)</font></td>
       <td><font size="-1">const <a href="Geometry.html">Geometry</a>
 &amp;size_, const std::string &amp;imageSpec_</font></td>
       <td><font size="-1">Read image of specified size into current
-object. This  form is useful for images that do not specifiy their size
-or to specify   a size hint for decoding an image. For example, when
-reading a Photo CD,  JBIG, or JPEG image, a size request causes the
-library to return an image  which is the next resolution greater or
-equal to the specified size. This  may result in memory and time savings.</font></td>
+object. This form is useful for images that do not specifiy their size
+or to specify a size hint for decoding an image. For example, when
+reading a Photo CD, JBIG, or JPEG image, a size request causes the
+library to return an image which is the next resolution greater or
+equal to the specified size. This may result in memory and time savings.</font></td>
     </tr>
     <tr>
       <td><font size="-1">const <a href="Blob.html">Blob</a> &amp;blob_</font></td>
       <td rowspan="5"><font size="-1">Read encoded image of specified
-size from  an in-memory <a href="Blob.html">BLOB</a> into current
-object. Depending on the method arguments, the Blob size,   depth, and
-format may also be specified. Some image formats require that  size be
+size from an in-memory <a href="Blob.html">BLOB</a> into current
+object. Depending on the method arguments, the Blob size, depth, and
+format may also be specified. Some image formats require that size be
 specified. The default ImageMagick uses for depth depends on its
 Quantum size (8 or 16).&nbsp; If ImageMagick's Quantum size does not
 match that of the image, the depth may need to be specified.
-ImageMagick can usually automatically detect the image's format. When
-a format can't be automatically detected, the format must be specified.</font></td>
+ImageMagick can usually automagically detect the image's format.
+When
+a format can't be automagically detected, the format must be specified.</font></td>
     </tr>
     <tr>
       <td><font size="-1">const <a href="Blob.html">Blob</a>
@@ -1028,7 +1203,7 @@ a format can't be automatically detected, the format must be specified.</font></
     <tr>
       <td><font size="-1">const <a href="Blob.html">Blob</a>
 &amp;blob_, const <a href="Geometry.html">Geometry</a> &amp;size_,
-unsigned int depth_</font></td>
+size_t depth_</font></td>
     </tr>
     <tr>
       <td><font size="-1">const <a href="Blob.html">Blob</a>
@@ -1037,19 +1212,20 @@ unsigned short depth_, const string &amp;magick_&nbsp;</font></td>
     </tr>
     <tr>
       <td><font size="-1">const <a href="Blob.html">Blob</a>
-&amp;blob_, const <a href="Geometry.html">Geometry</a> &amp;size_, const
+&amp;blob_, const <a href="Geometry.html">Geometry</a> &amp;size_,
+const
 string &amp;magick_</font></td>
     </tr>
     <tr>
-      <td><font size="-1">const unsigned int width_, const unsigned int
-height_, std::string map_, const StorageType type_, const unsigned char* pixels_</font></td>
+      <td><font size="-1">const size_t width_, const size_t
+height_, std::string map_, const StorageType type_, const void *pixels_</font></td>
       <td><font size="-1">Read image based on an array of image pixels.
-The pixel  data must be in scanline order top-to-bottom. The data can be
+The pixel data must be in scanline order top-to-bottom. The data can be
 character, short int, integer, float, or double. Float and double
-require the pixels   to be normalized [0..1]. The other types are
-[0..QuantumRange].&nbsp; For example,   to create a 640x480 image from
+require the pixels to be normalized [0..1]. The other types are
+[0..MaxRGB].&nbsp; For example, to create a 640x480 image from
 unsigned red-green-blue character data, use</font>
-      <p><font size="-1">&nbsp; image.read( 640, 480, "RGB",   0,
+      <p><font size="-1">&nbsp; image.read( 640, 480, "RGB", CharPixel,
 pixels );</font> </p>
       <p><font size="-1">The parameters are as follows:</font> <br>
 &nbsp;
@@ -1066,20 +1242,20 @@ pixels );</font> </p>
           <tr>
             <td><font size="-1">map_</font></td>
             <td><font size="-1">This character string can be any
-combination or  order   of R = red, G = green, B = blue, A = alpha, C =
-cyan, Y = yellow M = magenta,   and K = black. The ordering reflects the
-order of the pixels  in the supplied   pixel array.</font></td>
+combination or order of R = red, G = green, B = blue, A = alpha, C =
+cyan, Y = yellow M = magenta, and K = black. The ordering reflects the
+order of the pixels in the supplied pixel array.</font></td>
           </tr>
           <tr>
             <td><font size="-1">type_</font></td>
             <td><font size="-1">Pixel storage type (CharPixel,
-ShortPixel, IntegerPixel,    FloatPixel, or DoublePixel)</font></td>
+ShortPixel, IntegerPixel, FloatPixel, or DoublePixel)</font></td>
           </tr>
           <tr>
             <td><font size="-1">pixels_</font></td>
             <td><font size="-1">This array of values contain the pixel
-components as  defined by the map_ and type_ parameters. The length of
-the arrays must   equal the area specified by the width_ and height_
+components as defined by the map_ and type_ parameters. The length of
+the arrays must equal the area specified by the width_ and height_
 values and type_ parameters.</font></td>
           </tr>
         </tbody>
@@ -1088,26 +1264,51 @@ values and type_ parameters.</font></td>
       </td>
     </tr>
     <tr>
-      <td rowspan="2">
+      <td style="text-align: center;">
       <center><a name="reduceNoise"></a> <font size="-1">reduceNoise</font></center>
       </td>
-      <td><font size="-1">void</font></td>
-      <td rowspan="2"><font size="-1">Reduce noise in image using a
-noise peak   elimination filter.</font></td>
+      <td><font size="-1">const double order_</font></td>
+      <td><font size="-1">reduce noise in image using a noise peak elimination filter.</font></td>
     </tr>
     <tr>
-      <td><font size="-1">unsigned int order_</font></td>
+      <td style="vertical-align: middle; text-align: center;"><small><a
+ name="randomThreshold"></a>randomThreshold<br>
+      </small></td>
+      <td style="vertical-align: middle;"><small>const Geometry
+&amp;thresholds_<br>
+      </small></td>
+      <td style="vertical-align: middle;"><small>Random threshold the
+image. Changes the value of individual pixels based on the intensity of
+each pixel compared to a random threshold.&nbsp; The result is a
+low-contrast, two color image.&nbsp; The thresholds_ argument is a
+geometry containing LOWxHIGH thresholds.&nbsp; If the string contains
+2x2, 3x3, or 4x4, then an ordered dither of order 2, 3, or 4 will be
+performed instead. This is a very fast alternative to 'quantize' based
+dithering.<br>
+      </small></td>
     </tr>
     <tr>
-      <td>
+      <td style="vertical-align: middle; text-align: center;"><small><a
+ name="randomThresholdChannel"></a>randomThresholdChannel<br>
+      </small></td>
+      <td style="vertical-align: middle;"><small>const Geometry
+&amp;thresholds_, const ChannelType channel_<br>
+      </small></td>
+      <td style="vertical-align: middle;"><small>Random threshold an
+image channel. Similar to <a href="#randomThreshold">randomThreshold</a>()
+but restricted to the specified channel.<br>
+      </small></td>
+    </tr>
+    <tr>
+      <td style="text-align: center;">
       <center><a name="roll"></a> <font size="-1">roll</font></center>
       </td>
-      <td><font size="-1">int columns_, int rows_</font></td>
+      <td><font size="-1">int columns_, ssize_t rows_</font></td>
       <td><font size="-1">Roll image (rolls image vertically and
 horizontally) by specified number of columnms and rows)</font></td>
     </tr>
     <tr>
-      <td>
+      <td style="text-align: center;">
       <center><a name="rotate"></a> <font size="-1">rotate</font></center>
       </td>
       <td><font size="-1">double degrees_</font></td>
@@ -1115,7 +1316,7 @@ horizontally) by specified number of columnms and rows)</font></td>
 number of degrees.</font></td>
     </tr>
     <tr>
-      <td>
+      <td style="text-align: center;">
       <center><a name="sample"></a> <font size="-1">sample</font></center>
       </td>
       <td><font size="-1">const <a href="Geometry.html">Geometry</a>
@@ -1123,7 +1324,7 @@ number of degrees.</font></td>
       <td><font size="-1">Resize image by using pixel sampling algorithm</font></td>
     </tr>
     <tr>
-      <td>
+      <td style="text-align: center;">
       <center><a name="scale"></a> <font size="-1">scale</font></center>
       </td>
       <td><font size="-1">const <a href="Geometry.html">Geometry</a>
@@ -1131,35 +1332,40 @@ number of degrees.</font></td>
       <td><font size="-1">Resize image by using simple ratio algorithm</font></td>
     </tr>
     <tr>
-      <td>
+      <td style="text-align: center;">
       <center><a name="segment"></a> <font size="-1">segment</font></center>
       </td>
       <td><font size="-1">double clusterThreshold_ = 1.0,</font> <br>
       <font size="-1">double smoothingThreshold_ = 1.5</font></td>
       <td><font size="-1">Segment (coalesce similar image components)
-by analyzing   the histograms of the color components and identifying
-units that are homogeneous   with the fuzzy c-means technique. Also uses <i>quantizeColorSpace</i>
-and <i>verbose</i> image attributes. Specify <i> clusterThreshold_</i> ,
-as the number&nbsp; of&nbsp; pixels&nbsp; each cluster&nbsp; must exceed
+by analyzing the histograms of the color components and identifying
+units that are homogeneous with the fuzzy c-means technique. Also uses <i>quantizeColorSpace</i>
+and <i>verbose</i> image attributes. Specify <i> clusterThreshold_</i>
+,
+as the number&nbsp; of&nbsp; pixels&nbsp; each cluster&nbsp; must
+exceed
 the cluster threshold to be considered valid. <i>SmoothingThreshold_</i>
-eliminates noise in the&nbsp; second derivative of the histogram. As the
+eliminates noise in the&nbsp; second derivative of the histogram. As
+the
 value is&nbsp; increased, you can&nbsp; expect&nbsp; a&nbsp; smoother
 second derivative.&nbsp; The default is 1.5.</font></td>
     </tr>
     <tr>
-      <td>
+      <td style="text-align: center;">
       <center><a name="shade"></a> <font size="-1">shade</font></center>
       </td>
-      <td><font size="-1">double azimuth_ = 30, double elevation_ = 30,</font> <br>
+      <td><font size="-1">double azimuth_ = 30, double elevation_ = 30,</font>
+      <br>
       <font size="-1">bool colorShading_ = false</font></td>
       <td><font size="-1">Shade image using distant light source.
 Specify <i> azimuth_</i> and <i>elevation_</i> as the&nbsp;
-position&nbsp; of&nbsp;  the light source. By default, the shading
-results as a grayscale image.. Set c<i>olorShading_</i> to <i>true</i> to
-shade the  red, green, and blue components of the image.</font></td>
+position&nbsp; of&nbsp; the light source. By default, the shading
+results as a grayscale image.. Set c<i>olorShading_</i> to <i>true</i>
+to
+shade the red, green, and blue components of the image.</font></td>
     </tr>
     <tr>
-      <td>
+      <td style="text-align: center;">
       <center><a name="sharpen"></a> <font size="-1">sharpen</font></center>
       </td>
       <td><font size="-1">const double radius_ = 1, const double sigma_
@@ -1170,31 +1376,46 @@ the center pixel.&nbsp; The <i>sigma_</i> parameter specifies the
 standard deviation of the Laplacian, in pixels.</font></td>
     </tr>
     <tr>
-      <td>
+      <td style="vertical-align: middle; text-align: center;"><small><a
+ name="sharpenChannel"></a>sharpenChannel<br>
+      </small></td>
+      <td style="vertical-align: middle;"><small>const ChannelType
+channel_, const double radius_ = 0.0, const double sigma_ = 1.0<br>
+      </small></td>
+      <td style="vertical-align: middle;"><font size="-1">Sharpen pixel
+quantums in an image channel&nbsp; The <span
+ style="font-style: italic;">channel_</span> parameter specifies the
+channel to sharpen..&nbsp; The <i>radius_</i>
+parameter specifies the radius of the Gaussian, in pixels, not counting
+the center pixel.&nbsp; The <i>sigma_</i> parameter specifies the
+standard deviation of the Laplacian, in pixels.</font></td>
+    </tr>
+    <tr>
+      <td style="text-align: center;">
       <center><a name="shave"></a> <font size="-1">shave</font></center>
       </td>
       <td><font size="-1">const Geometry &amp;geometry_</font></td>
       <td><font size="-1">Shave pixels from image edges.</font></td>
     </tr>
     <tr>
-      <td>
+      <td style="text-align: center;">
       <center><a name="shear"></a> <font size="-1">shear</font></center>
       </td>
       <td><font size="-1">double xShearAngle_, double yShearAngle_</font></td>
       <td><font size="-1">Shear image (create parallelogram by sliding
 image by X or Y axis).&nbsp; Shearing slides one edge of an image along
-the X&nbsp;    or&nbsp; Y axis,&nbsp; creating&nbsp; a
-parallelogram.&nbsp; An X direction    shear slides an edge along the X
-axis, while&nbsp; a&nbsp; Y&nbsp; direction    shear&nbsp; slides&nbsp;
-an edge along the Y axis.&nbsp; The amount of the  shear is controlled
-by a shear angle.&nbsp; For X direction&nbsp; shears,&nbsp;    x&nbsp;
+the X&nbsp; or&nbsp; Y axis,&nbsp; creating&nbsp; a
+parallelogram.&nbsp; An X direction shear slides an edge along the X
+axis, while&nbsp; a&nbsp; Y&nbsp; direction shear&nbsp; slides&nbsp;
+an edge along the Y axis.&nbsp; The amount of the shear is controlled
+by a shear angle.&nbsp; For X direction&nbsp; shears,&nbsp; x&nbsp;
 degrees is measured relative to the Y axis, and similarly, for Y
 direction shears&nbsp; y&nbsp; degrees is measured relative to the X
 axis. Empty triangles left over from shearing the&nbsp; image&nbsp; are
 filled&nbsp; with&nbsp; the&nbsp; color&nbsp; defined as <i>borderColor</i>.&nbsp;</font></td>
     </tr>
     <tr>
-      <td>
+      <td style="text-align: center;">
       <center><a name="solarize"></a> <font size="-1">solarize</font></center>
       </td>
       <td><font size="-1">double factor_ = 50.0</font></td>
@@ -1202,23 +1423,45 @@ filled&nbsp; with&nbsp; the&nbsp; color&nbsp; defined as <i>borderColor</i>.&nbs
 exposing a photographic film to light during the development process)</font></td>
     </tr>
     <tr>
-      <td>
+      <td style="text-align: center;">
+      <center><a name="splice"></a> <font size="-1">splice</font></center>
+      </td>
+      <td><font size="-1">const <a href="Geometry.html">Geometry</a>
+&amp;geometry_</font></td>
+      <td><font size="-1">splice the background color into the image</font></td>
+    </tr>
+    <tr>
+      <td style="text-align: center;">
       <center><a name="spread"></a> <font size="-1">spread</font></center>
       </td>
-      <td><font size="-1">unsigned int amount_ = 3</font></td>
+      <td><font size="-1">size_t amount_ = 3</font></td>
       <td><font size="-1">Spread pixels randomly within image by
 specified amount</font></td>
     </tr>
     <tr>
-      <td>
+      <td style="text-align: center;">
       <center><a name="stegano"></a> <font size="-1">stegano</font></center>
       </td>
       <td><font size="-1">const Image &amp;watermark_</font></td>
       <td><font size="-1">Add a digital watermark to the image (based
-on second   image)</font></td>
+on second image)</font></td>
     </tr>
     <tr>
       <td>
+      <center><a name="sparseColor"></a> <font size="-1">sparseColor</font></center>
+      </td>
+      <td><font size="-1">const ChannelType channel, const SparseColorMethod method, const unsigned long number_arguments, const double *arguments </font></td>
+      <td><font size="-1">Sparse color image, given a set of coordinates, interpolates the colors found at those coordinates, across the whole image, using various methods.</font></td>
+    </tr>
+    <tr>
+      <td style="text-align: center;">
+      <center><a name="statistics"></a> <font size="-1">statistics</font></center>
+      </td>
+      <td><font size="-1">ImageStatistics *statistics</font></td>
+      <td><font size="-1">Obtain image statistics. Statistics are normalized to the range of 0.0 to 1.0 and are output to the specified ImageStatistics structure.  The structure includes members maximum, minimum, mean, standard_deviation, and variance for each of these channels: red, green, blue, and opacity (e.g. statistics->red.maximum).</font></td>
+    </tr>
+    <tr>
+      <td style="text-align: center;">
       <center><a name="stereo"></a> <font size="-1">stereo</font></center>
       </td>
       <td><font size="-1">const Image &amp;rightImage_</font></td>
@@ -1226,7 +1469,7 @@ on second   image)</font></td>
 viewed with red-blue glasses (Red image on left, blue on right)</font></td>
     </tr>
     <tr>
-      <td>
+      <td style="text-align: center;">
       <center><a name="swirl"></a> <font size="-1">swirl</font></center>
       </td>
       <td><font size="-1">double degrees_</font></td>
@@ -1234,7 +1477,7 @@ viewed with red-blue glasses (Red image on left, blue on right)</font></td>
 degrees)</font></td>
     </tr>
     <tr>
-      <td>
+      <td style="text-align: center;">
       <center><a name="texture"></a> <font size="-1">texture</font></center>
       </td>
       <td><font size="-1">const Image &amp;texture_</font></td>
@@ -1242,20 +1485,20 @@ degrees)</font></td>
 background color.</font></td>
     </tr>
     <tr>
-      <td>
+      <td style="text-align: center;">
       <center><a name="threshold"></a> <font size="-1">threshold</font></center>
       </td>
       <td><font size="-1">double threshold_</font></td>
       <td><font size="-1">Threshold image</font></td>
     </tr>
     <tr>
-      <td rowspan="2">
+      <td style="text-align: center;" rowspan="2">
       <center><a name="transform"></a> <font size="-1">transform</font></center>
       </td>
       <td><font size="-1">const <a href="Geometry.html">Geometry</a>
 &amp;imageGeometry_</font></td>
       <td rowspan="2"><font size="-1">Transform image based on image
-and crop   geometries. Crop geometry is optional.</font></td>
+and crop geometries. Crop geometry is optional.</font></td>
     </tr>
     <tr>
       <td><font size="-1">const <a href="Geometry.html">Geometry</a>
@@ -1263,16 +1506,16 @@ and crop   geometries. Crop geometry is optional.</font></td>
 &amp;cropGeometry_&nbsp;</font></td>
     </tr>
     <tr>
-      <td>
+      <td style="text-align: center;">
       <center><a name="transparent"></a> <font size="-1">transparent</font></center>
       </td>
       <td><font size="-1">const <a href="Color.html">Color</a>
 &amp;color_</font></td>
       <td><font size="-1">Add matte image to image, setting pixels
-matching color  to transparent.</font></td>
+matching color to transparent.</font></td>
     </tr>
     <tr>
-      <td>
+      <td style="text-align: center;">
       <center><a name="trim"></a> <font size="-1">trim</font></center>
       </td>
       <td><font size="-1">void</font></td>
@@ -1280,23 +1523,43 @@ matching color  to transparent.</font></td>
 the image.</font></td>
     </tr>
     <tr>
-      <td>
+      <td style="text-align: center;">
       <center><a name="unsharpmask"></a> <font size="-1">unsharpmask</font></center>
       </td>
       <td><font size="-1">double radius_, double sigma_, double
-amount_, double   threshold_</font></td>
-      <td><font size="-1">Replace image with a sharpened version of the
-original image using the unsharp mask algorithm. The <i>radius</i>_
-parameter specifies    the radius of the Gaussian, in pixels, not
+amount_, double threshold_</font></td>
+      <td><font size="-1">Sharpen the image using the unsharp mask
+algorithm. The <i>radius</i>_
+parameter specifies the radius of the Gaussian, in pixels, not
 counting the center pixel. The <i>sigma</i>_ parameter specifies the
-standard deviation   of the Gaussian, in pixels. The <i>amount</i>_
-parameter specifies the percentage   of the difference between the
+standard deviation of the Gaussian, in pixels. The <i>amount</i>_
+parameter specifies the percentage of the difference between the
 original and the blur image that is added back into the original. The <i>threshold</i>_
-parameter specifies the threshold   in pixels needed to apply the
+parameter specifies the threshold in pixels needed to apply the
 diffence amount.</font></td>
     </tr>
     <tr>
-      <td>
+      <td style="vertical-align: middle; text-align: center;"><small><a
+ name="unsharpmaskChannel"></a>unsharpmaskChannel<br>
+      </small></td>
+      <td style="vertical-align: middle;"><small>const ChannelType
+channel_, const double radius_, const double sigma_, const double
+amount_, const double threshold_<br>
+      </small></td>
+      <td style="vertical-align: middle;"><small>Sharpen an image
+channel using the unsharp mask algorithm. The <span
+ style="font-style: italic;">channel_</span> parameter specifies the
+channel to sharpen. </small><font size="-1">The <i>radius</i>_
+parameter specifies the radius of the Gaussian, in pixels, not
+counting the center pixel. The <i>sigma</i>_ parameter specifies the
+standard deviation of the Gaussian, in pixels. The <i>amount</i>_
+parameter specifies the percentage of the difference between the
+original and the blur image that is added back into the original. The <i>threshold</i>_
+parameter specifies the threshold in pixels needed to apply the
+diffence amount.</font></td>
+    </tr>
+    <tr>
+      <td style="text-align: center;">
       <center><a name="wave"></a> <font size="-1">wave</font></center>
       </td>
       <td><font size="-1">double amplitude_ = 25.0, double wavelength_
@@ -1304,29 +1567,29 @@ diffence amount.</font></td>
       <td><font size="-1">Alter an image along a sine wave.</font></td>
     </tr>
     <tr>
-      <td rowspan="5">
+      <td style="text-align: center;" rowspan="5">
       <center><a name="write"></a> <font size="-1">write</font></center>
       </td>
       <td><font size="-1">const string &amp;imageSpec_</font></td>
       <td><font size="-1">Write image to a file using filename i<i>mageSpec_</i>
 .</font> <br>
       <font size="-1"><b><font color="#ff0000">Caution: </font></b> if
-an image format is selected which is   capable of supporting fewer
-colors than the original image or quantization   has been requested, the
-original image will be quantized to fewer colors.   Use a copy of the
+an image format is selected which is capable of supporting fewer
+colors than the original image or quantization has been requested, the
+original image will be quantized to fewer colors. Use a copy of the
 original if this is a problem.</font></td>
     </tr>
     <tr>
       <td><font size="-1"><a href="Blob.html">Blob</a> *blob_</font></td>
       <td rowspan="3"><font size="-1">Write image to a in-memory <a
  href="Blob.html"> BLOB</a> stored in <i>blob_</i>. The <i>magick</i>_
-parameter specifies the image   format to write (defaults to <a
+parameter specifies the image format to write (defaults to <a
  href="#magick">magick</a> ). The depth_ parameter species the image
 depth (defaults to <a href="#depth"> depth</a> ).</font> <br>
       <font size="-1"><b><font color="#ff0000">Caution: </font></b> if
-an image format is selected which is   capable of supporting fewer
-colors than the original image or quantization   has been requested, the
-original image will be quantized to fewer colors.   Use a copy of the
+an image format is selected which is capable of supporting fewer
+colors than the original image or quantization has been requested, the
+original image will be quantized to fewer colors. Use a copy of the
 original if this is a problem.</font></td>
     </tr>
     <tr>
@@ -1335,18 +1598,19 @@ std::string &amp;magick_</font></td>
     </tr>
     <tr>
       <td><font size="-1"><a href="Blob.html">Blob</a> *blob_,
-std::string &amp;magick_, unsigned int depth_</font></td>
+std::string &amp;magick_, size_t depth_</font></td>
     </tr>
     <tr>
-      <td><font size="-1">const int x_, const int y_, const unsigned
-int columns_,    const unsigned int rows_, const std::string &amp;map_,
-const StorageType   type_, unsigned char* pixels_</font></td>
+      <td><font size="-1">const ssize_t x_, const ssize_t y_, const unsigned
+int columns_, const size_t rows_, const std::string &amp;map_,
+const StorageType type_, void *pixels_</font></td>
       <td><font size="-1">Write pixel data into a buffer you supply.
-The data   is saved either as char, short int, integer, float or double
-format in the   order specified by the type_ parameter. For example, we
+The data is saved either as char, short int, integer, float or double
+format in the order specified by the type_ parameter. For example, we
 want to extract scanline 1 of a 640x480 image as character data in
 red-green-blue order:</font>
-      <p><font size="-1">&nbsp; image.write(0,0,640,1,"RGB",0,pixels);</font> </p>
+      <p><font size="-1">&nbsp; image.write(0,0,640,1,"RGB",0,pixels);</font>
+      </p>
       <p><font size="-1">The parameters are as follows:</font> <br>
 &nbsp;
       <table border="0" width="100%">
@@ -1354,12 +1618,12 @@ red-green-blue order:</font>
           <tr>
             <td><font size="-1">x_</font></td>
             <td><font size="-1">Horizontal ordinate of left-most
-coordinate of region   to extract.</font></td>
+coordinate of region to extract.</font></td>
           </tr>
           <tr>
             <td><font size="-1">y_</font></td>
             <td><font size="-1">Vertical ordinate of top-most
-coordinate of region   to extract.</font></td>
+coordinate of region to extract.</font></td>
           </tr>
           <tr>
             <td><font size="-1">columns_</font></td>
@@ -1374,20 +1638,20 @@ extract.</font></td>
           <tr>
             <td><font size="-1">map_</font></td>
             <td><font size="-1">This character string can be any
-combination or  order   of R = red, G = green, B = blue, A = alpha, C =
-cyan, Y = yellow,  M = magenta,   and K = black. The ordering reflects
-the order of the pixels  in the supplied   pixel array.</font></td>
+combination or order of R = red, G = green, B = blue, A = alpha, C =
+cyan, Y = yellow, M = magenta, and K = black. The ordering reflects
+the order of the pixels in the supplied pixel array.</font></td>
           </tr>
           <tr>
             <td><font size="-1">type_</font></td>
             <td><font size="-1">Pixel storage type (CharPixel,
-ShortPixel, IntegerPixel,    FloatPixel, or DoublePixel)</font></td>
+ShortPixel, IntegerPixel, FloatPixel, or DoublePixel)</font></td>
           </tr>
           <tr>
             <td><font size="-1">pixels_</font></td>
             <td><font size="-1">This array of values contain the pixel
-components as  defined by the map_ and type_ parameters. The length of
-the arrays must   equal the area specified by the width_ and height_
+components as defined by the map_ and type_ parameters. The length of
+the arrays must equal the area specified by the width_ and height_
 values and type_ parameters.</font></td>
           </tr>
         </tbody>
@@ -1396,7 +1660,7 @@ values and type_ parameters.</font></td>
       </td>
     </tr>
     <tr>
-      <td>
+      <td style="text-align: center;">
       <center><a name="zoom"></a> <font size="-1">zoom</font></center>
       </td>
       <td><font size="-1">const <a href="Geometry.html">Geometry</a>
@@ -1419,7 +1683,8 @@ code: </p>
 <blockquote><font color="#663366">string filename("file.tiff");</font> <br>
   <font color="#663366">Image image;</font> <br>
   <font color="#663366">image.read(filename);</font> <br>
-  <font color="#663366">image.resolutionUnits(PixelsPerInchResolution);</font> <br>
+  <font color="#663366">image.resolutionUnits(PixelsPerInchResolution);</font>
+  <br>
   <font color="#663366">image.density(Geometry(150,150));&nbsp;&nbsp;
 // could also use image.density("150x150")</font> <br>
   <font color="#663366">image.write(filename)</font></blockquote>
@@ -1462,31 +1727,33 @@ obtain them are shown in the following table: <br>
       <td><font size="-1">void</font></td>
       <td><font size="-1">bool flag_</font></td>
       <td><font size="-1">Control antialiasing of rendered Postscript
-and Postscript   or TrueType fonts. Enabled by default.</font></td>
+and Postscript or TrueType fonts. Enabled by default.</font></td>
     </tr>
     <tr>
       <td>
-      <center><a name="animationDelay"></a> <font size="-1">animation-</font> <br>
+      <center><a name="animationDelay"></a> <font size="-1">animation-</font>
+      <br>
       <font size="-1">Delay</font></center>
       </td>
-      <td><font size="-1">unsigned int (0 to 65535)</font></td>
+      <td><font size="-1">size_t (0 to 65535)</font></td>
       <td><font size="-1">void</font></td>
-      <td><font size="-1">unsigned int delay_</font></td>
+      <td><font size="-1">size_t delay_</font></td>
       <td><font size="-1">Time in 1/100ths of a second (0 to 65535)
-which must   expire before displaying the next image in an animated
-sequence. This  option   is useful for regulating the animation of a
-sequence&nbsp; of GIF  images  within Netscape.</font></td>
+which must expire before displaying the next image in an animated
+sequence. This option is useful for regulating the animation of a
+sequence&nbsp; of GIF images within Netscape.</font></td>
     </tr>
     <tr>
       <td>
-      <center><a name="animationIterations"></a> <font size="-1">animation-</font> <br>
+      <center><a name="animationIterations"></a> <font size="-1">animation-</font>
+      <br>
       <font size="-1">Iterations</font></center>
       </td>
-      <td><font size="-1">unsigned int</font></td>
+      <td><font size="-1">size_t</font></td>
       <td><font size="-1">void</font></td>
-      <td><font size="-1">unsigned int iterations_</font></td>
+      <td><font size="-1">size_t iterations_</font></td>
       <td><font size="-1">Number of iterations to loop an animation
-(e.g. Netscape   loop extension) for.</font></td>
+(e.g. Netscape loop extension) for.</font></td>
     </tr>
     <tr>
       <td style="vertical-align: middle; text-align: center;"><small><a
@@ -1503,13 +1770,14 @@ std::string name_, const std::string value_</small></td>
 image attribute. Any number of named attributes may be attached to the
 image. For example, the image comment is a named image attribute with
 the name "comment". EXIF tags are attached to the image as named
-attributes. Use the syntax "[EXIF:&lt;tag&gt;]" to request an EXIF tag
-similar to "[EXIF:DateTime]".</small><br>
+attributes. Use the syntax "EXIF:&lt;tag&gt;" to request an EXIF tag
+similar to "EXIF:DateTime".</small><br>
       </td>
     </tr>
     <tr>
       <td>
-      <center><a name="backgroundColor"></a> <font size="-1">background-</font> <br>
+      <center><a name="backgroundColor"></a> <font size="-1">background-</font>
+      <br>
       <font size="-1">Color</font></center>
       </td>
       <td><font size="-1"><a href="Color.html">Color</a> </font></td>
@@ -1520,20 +1788,21 @@ similar to "[EXIF:DateTime]".</small><br>
     </tr>
     <tr>
       <td>
-      <center><a name="backgroundTexture"></a> <font size="-1">background-</font> <br>
+      <center><a name="backgroundTexture"></a> <font size="-1">background-</font>
+      <br>
       <font size="-1">Texture</font></center>
       </td>
       <td><font size="-1">string</font></td>
       <td><font size="-1">void</font></td>
       <td><font size="-1">const string &amp;texture_</font></td>
       <td><font size="-1">Image file name to use as the background
-texture. Does  not modify image pixels.</font></td>
+texture. Does not modify image pixels.</font></td>
     </tr>
     <tr>
       <td>
       <center><a name="baseColumns"></a> <font size="-1">baseColumns</font></center>
       </td>
-      <td><font size="-1">unsigned int</font></td>
+      <td><font size="-1">size_t</font></td>
       <td><font size="-1">void</font></td>
       <td bgcolor="#666666"><font size="-1">&nbsp;</font></td>
       <td><font size="-1">Base image width (before transformations)</font></td>
@@ -1551,7 +1820,7 @@ texture. Does  not modify image pixels.</font></td>
       <td>
       <center><a name="baseRows"></a> <font size="-1">baseRows</font></center>
       </td>
-      <td><font size="-1">unsigned int</font></td>
+      <td><font size="-1">size_t</font></td>
       <td><font size="-1">void</font></td>
       <td bgcolor="#666666"><font size="-1">&nbsp;</font></td>
       <td><font size="-1">Base image height (before transformations)</font></td>
@@ -1572,8 +1841,8 @@ texture. Does  not modify image pixels.</font></td>
       <td><font size="-1">void</font></td>
       <td bgcolor="#666666"><font size="-1">&nbsp;</font></td>
       <td><font size="-1">Return smallest bounding box enclosing
-non-border pixels.  The current fuzz value is used when discriminating
-between pixels.   This is the crop bounding box used by
+non-border pixels. The current fuzz value is used when discriminating
+between pixels. This is the crop bounding box used by
 crop(Geometry(0,0)).</font></td>
     </tr>
     <tr>
@@ -1589,12 +1858,12 @@ on.</font></td>
     </tr>
     <tr>
       <td><a name="cacheThreshold"></a> <font size="-1">cacheThreshold</font></td>
-      <td><font size="-1">unsigned int</font></td>
+      <td><font size="-1">size_t</font></td>
       <td bgcolor="#666666"><font size="-1">&nbsp;</font></td>
       <td><font size="-1">const int</font></td>
       <td><font size="-1">Pixel cache threshold in megabytes. Once this
 threshold is exceeded, all subsequent pixels cache operations are
-to/from disk. This    is a static method and the attribute it sets is
+to/from disk. This is a static method and the attribute it sets is
 shared by all Image objects.</font></td>
     </tr>
     <tr>
@@ -1608,12 +1877,15 @@ int<br>
 ChannelType channel_<br>
       </small></td>
       <td style="vertical-align: middle;"><small>const ChannelType
-channel_, const unsigned int depth_<br>
+channel_, const size_t depth_<br>
       </small></td>
       <td style="vertical-align: middle;"><small>Channel modulus depth.
-The channel modulus depth represents the minimum number of bits required
-to support the channel without loss. Setting the channel's modulus depth
-modifies the channel (i.e. discards resolution) if the requested modulus
+The channel modulus depth represents the minimum number of bits
+required
+to support the channel without loss. Setting the channel's modulus
+depth
+modifies the channel (i.e. discards resolution) if the requested
+modulus
 depth is less than the current modulus depth, otherwise the channel is
 not altered. There is no attribute associated with the modulus depth so
 the current modulus depth is obtained by inspecting the pixels. As a
@@ -1624,7 +1896,8 @@ channel depth.<br>
     </tr>
     <tr>
       <td>
-      <center><a name="chromaBluePrimary"></a> <font size="-1">chroma-</font> <br>
+      <center><a name="chromaBluePrimary"></a> <font size="-1">chroma-</font>
+      <br>
       <font size="-1">BluePrimary</font></center>
       </td>
       <td><font size="-1">double x &amp; y</font></td>
@@ -1635,7 +1908,8 @@ y=0.06)</font></td>
     </tr>
     <tr>
       <td>
-      <center><a name="chromaGreenPrimary"></a> <font size="-1">chroma-</font> <br>
+      <center><a name="chromaGreenPrimary"></a> <font size="-1">chroma-</font>
+      <br>
       <font size="-1">GreenPrimary</font></center>
       </td>
       <td><font size="-1">double x &amp; y</font></td>
@@ -1646,7 +1920,8 @@ y=0.6)</font></td>
     </tr>
     <tr>
       <td>
-      <center><a name="chromaRedPrimary"></a> <font size="-1">chroma-</font> <br>
+      <center><a name="chromaRedPrimary"></a> <font size="-1">chroma-</font>
+      <br>
       <font size="-1">RedPrimary</font></center>
       </td>
       <td><font size="-1">double x &amp; y</font></td>
@@ -1657,7 +1932,8 @@ y=0.33)</font></td>
     </tr>
     <tr>
       <td>
-      <center><a name="chromaWhitePoint"></a> <font size="-1">chroma-</font> <br>
+      <center><a name="chromaWhitePoint"></a> <font size="-1">chroma-</font>
+      <br>
       <font size="-1">WhitePoint</font></center>
       </td>
       <td><font size="-1">double x &amp; y</font></td>
@@ -1670,13 +1946,14 @@ y=0.329)</font></td>
       <td>
       <center><a name="classType"></a> <font size="-1">classType</font></center>
       </td>
-      <td><font size="-1"><a href="Enumerations.html#ClassType">ClassType</a> </font></td>
+      <td><font size="-1"><a href="Enumerations.html#ClassType">ClassType</a>
+      </font></td>
       <td><font size="-1">void</font></td>
       <td><font size="-1">&nbsp;<a href="Enumerations.html#ClassType">ClassType</a>
 class_</font></td>
       <td><font size="-1">Image storage class.&nbsp; Note that
-conversion from   a DirectClass image to a PseudoClass image may result
-in a loss of  color  due to the limited size of the palette (256 or
+conversion from a DirectClass image to a PseudoClass image may result
+in a loss of color due to the limited size of the palette (256 or
 65535 colors).</font></td>
     </tr>
     <tr>
@@ -1688,9 +1965,9 @@ in a loss of  color  due to the limited size of the palette (256 or
       <td><font size="-1">const Image &amp;clipMask_</font></td>
       <td><font size="-1">Associate a clip mask image with the current
 image. The clip mask image must have the same dimensions as the current
-image or   an exception is thrown. Clipping occurs wherever pixels are
-transparent in  the clip mask image. Clipping Pass an invalid image to
-unset an existing   clip mask.</font></td>
+image or an exception is thrown. Clipping occurs wherever pixels are
+transparent in the clip mask image. Clipping Pass an invalid image to
+unset an existing clip mask.</font></td>
     </tr>
     <tr>
       <td>
@@ -1701,16 +1978,16 @@ unset an existing   clip mask.</font></td>
       <td><font size="-1">double fuzz_</font></td>
       <td><font size="-1">Colors within this distance are considered
 equal. A number of algorithms search for a target&nbsp; color. By
-default the color   must be exact. Use this option to match colors that
-are close to the target    color in RGB space.</font></td>
+default the color must be exact. Use this option to match colors that
+are close to the target color in RGB space.</font></td>
     </tr>
     <tr>
       <td>
       <center><a name="colorMap"></a> <font size="-1">colorMap</font></center>
       </td>
       <td><font size="-1"><a href="Color.html">Color</a> </font></td>
-      <td><font size="-1">unsigned int index_</font></td>
-      <td><font size="-1">unsigned int index_, const <a
+      <td><font size="-1">size_t index_</font></td>
+      <td><font size="-1">size_t index_, const <a
  href="Color.html"> Color</a> &amp;color_</font></td>
       <td><font size="-1">Color at colormap index.</font></td>
     </tr>
@@ -1719,14 +1996,15 @@ are close to the target    color in RGB space.</font></td>
       <div align="center"><a name="colorMapSize"></a> <font size="-1">colorMapSize<br>
       </font></div>
       </td>
-      <td valign="middle"><font size="-1">unsigned int<br>
+      <td valign="middle"><font size="-1">size_t<br>
       </font></td>
       <td valign="middle"><font size="-1">void<br>
       </font></td>
-      <td valign="middle"><font size="-1">unsigned int entries_<br>
+      <td valign="middle"><font size="-1">size_t entries_<br>
       </font></td>
       <td valign="middle"><font size="-1">Number of entries in the
-colormap. Setting the colormap size may extend or truncate the colormap.
+colormap. Setting the colormap size may extend or truncate the
+colormap.
 The maximum number of supported entries is specified by the <i>MaxColormapSize</i>constant,
 and is dependent on the value of QuantumDepth when ImageMagick is
 compiled. An exception is thrown if more entries are requested than may
@@ -1744,14 +2022,14 @@ colorSpace_</font></td>
       <td><font size="-1"><a href="Enumerations.html#ColorspaceType">ColorspaceType</a>
 colorSpace_</font></td>
       <td><font size="-1">The colorspace (e.g. CMYK) used to represent
-the image  pixel colors. Image pixels are always stored as RGB(A) except
-for the case  of CMY(K).</font></td>
+the image pixel colors. Image pixels are always stored as RGB(A) except
+for the case of CMY(K).</font></td>
     </tr>
     <tr>
       <td>
       <center><a name="columns"></a> <font size="-1">columns</font></center>
       </td>
-      <td><font size="-1">unsigned int</font></td>
+      <td><font size="-1">size_t</font></td>
       <td><font size="-1">void</font></td>
       <td bgcolor="#666666"><font size="-1">&nbsp;</font></td>
       <td><font size="-1">Image width</font></td>
@@ -1769,7 +2047,8 @@ for the case  of CMY(K).</font></td>
       <td>
       <center><a name="compose"></a> <font size="-1">compose</font></center>
       </td>
-      <td><font size="-1"><a href="Enumerations.html#CompositeOperator">CompositeOperator</a> </font></td>
+      <td><font size="-1"><a href="Enumerations.html#CompositeOperator">CompositeOperator</a>
+      </font></td>
       <td><small><font size="-1"><small>void</small></font></small></td>
       <td><small><font size="-1"><small><a
  href="Enumerations.html#CompositeOperator">CompositeOperator</a>
@@ -1779,10 +2058,12 @@ composition is implicitly used (such as for image flattening).</font></td>
     </tr>
     <tr>
       <td>
-      <center><a name="compressType"></a> <font size="-1">compress-</font> <br>
+      <center><a name="compressType"></a> <font size="-1">compress-</font>
+      <br>
       <font size="-1">Type</font></center>
       </td>
-      <td><font size="-1"><a href="Enumerations.html#CompressionType">CompressionType</a> </font></td>
+      <td><font size="-1"><a href="Enumerations.html#CompressionType">CompressionType</a>
+      </font></td>
       <td><small><font size="-1"><small>void</small></font></small></td>
       <td><small><font size="-1"><small><a
  href="Enumerations.html#CompressionType">CompressionType</a>
@@ -1798,7 +2079,7 @@ compression type of the specified image file.</font></td>
       <td><small><font size="-1"><small>void</small></font></small></td>
       <td><small><font size="-1"><small>bool flag_</small></font></small></td>
       <td><font size="-1">Enable printing of internal debug messages
-from ImageMagick   as it executes.</font></td>
+from ImageMagick as it executes.</font></td>
     </tr>
     <tr>
       <td style="text-align: center; vertical-align: middle;"><small><a
@@ -1838,7 +2119,8 @@ defineSet() method if the key must be removed entirely.</small><br>
       <td style="vertical-align: middle;"><small>Set or obtain a
 definition flag to applied when encoding or decoding the specified
 format.</small><small>. Similar to the defineValue() method except that
-passing the <span style="font-style: italic;">flag_</span> value 'true'
+passing the <span style="font-style: italic;">flag_</span> value
+'true'
 creates a value-less define with that format and key. Passing the <span
  style="font-style: italic;">f</span><span style="font-style: italic;">lag_</span>
 value 'false' removes any existing matching definition. The method
@@ -1856,18 +2138,18 @@ exists.<br>
       <td><font size="-1">const <a href="Geometry.html">Geometry</a>
 &amp;density_</font></td>
       <td><font size="-1">Vertical and horizontal resolution in pixels
-of the  image. This option specifies an image density when decoding a
+of the image. This option specifies an image density when decoding a
 Postscript or Portable Document page. Often used with <i>psPageSize</i>.</font></td>
     </tr>
     <tr>
       <td>
       <center><a name="depth"></a> <font size="-1">depth</font></center>
       </td>
-      <td><font size="-1">&nbsp;unsigned int (8, 16, or 32)</font></td>
+      <td><font size="-1">&nbsp;size_t (8-32)</font></td>
       <td><font size="-1">void</font></td>
-      <td><font size="-1">unsigned int depth_</font></td>
+      <td><font size="-1">size_t depth_</font></td>
       <td><font size="-1">Image depth. Used to specify the bit depth
-when reading   or writing&nbsp; raw images or when the output format
+when reading or writing&nbsp; raw images or when the output format
 supports multiple depths. Defaults to the quantum depth that
 ImageMagick is compiled with.</font></td>
     </tr>
@@ -1875,7 +2157,8 @@ ImageMagick is compiled with.</font></td>
       <td>
       <center><a name="endian"></a> <font size="-1">endian</font></center>
       </td>
-      <td><font size="-1"><a href="Enumerations.html#EndianType">EndianType</a> </font></td>
+      <td><font size="-1"><a href="Enumerations.html#EndianType">EndianType</a>
+      </font></td>
       <td><font size="-1">void</font></td>
       <td><font size="-1"><a href="Enumerations.html#EndianType">EndianType</a>
 endian_</font></td>
@@ -1891,6 +2174,15 @@ which support it.</font></td>
       <td><font size="-1">&nbsp;</font></td>
       <td><font size="-1">Tile names from within an image montage</font></td>
     </tr>
+    <tr>
+      <td>
+      <center><a name="file"></a> <font size="-1">file</font></center>
+      </td>
+      <td><font size="-1">FILE *</font></td>
+      <td><font size="-1">FILE *</font></td>
+      <td><font size="-1">FILE *file_</font></td>
+      <td><font size="-1">Image file descriptor.</font></td>
+    </tr>
     <tr>
       <td>
       <center><a name="fileName"></a> <font size="-1">fileName</font></center>
@@ -1932,7 +2224,8 @@ objects.</font></td>
       <td>
       <center><a name="fillRule"></a> <font size="-1">fillRule</font></center>
       </td>
-      <td><font size="-1"><a href="Enumerations.html#FillRule">FillRule</a> </font></td>
+      <td><font size="-1"><a href="Enumerations.html#FillRule">FillRule</a>
+      </font></td>
       <td><font size="-1">void</font></td>
       <td><font size="-1">const Magick::FillRule &amp;fillRule_</font></td>
       <td><font size="-1">Rule to use when filling drawn objects.</font></td>
@@ -1941,13 +2234,14 @@ objects.</font></td>
       <td>
       <center><a name="filterType"></a> <font size="-1">filterType</font></center>
       </td>
-      <td><font size="-1"><a href="Enumerations.html#FilterTypes">FilterTypes</a> </font></td>
+      <td><font size="-1"><a href="Enumerations.html#FilterTypes">FilterTypes</a>
+      </font></td>
       <td><font size="-1">void</font></td>
       <td><font size="-1"><a href="Enumerations.html#FilterTypes">FilterTypes</a>
 filterType_</font></td>
       <td><font size="-1">Filter to use when resizing image. The
-reduction filter  employed has a sigificant effect on the time required
-to resize an  image and the resulting quality. The default filter is <i>Lanczos</i>
+reduction filter employed has a sigificant effect on the time required
+to resize an image and the resulting quality. The default filter is <i>Lanczos</i>
 which has been shown to produce high quality results when reducing most
 images.</font></td>
     </tr>
@@ -1960,17 +2254,17 @@ images.</font></td>
       <td><font size="-1">const string &amp;font_</font></td>
       <td><font size="-1">Text rendering font. If the font is a fully
 qualified X server font name, the font is obtained from an X&nbsp;
-server. To use  a TrueType font, precede the TrueType filename with an
-@. Otherwise, specify&nbsp;    a&nbsp; Postscript font name (e.g.
+server. To use a TrueType font, precede the TrueType filename with an
+@. Otherwise, specify&nbsp; a&nbsp; Postscript font name (e.g.
 "helvetica").</font></td>
     </tr>
     <tr>
       <td>
       <center><a name="fontPointsize"></a> <font size="-1">fontPointsize</font></center>
       </td>
-      <td><font size="-1">unsigned int</font></td>
+      <td><font size="-1">size_t</font></td>
       <td><font size="-1">void</font></td>
-      <td><font size="-1">unsigned int pointSize_</font></td>
+      <td><font size="-1">size_t pointSize_</font></td>
       <td><font size="-1">Text rendering font point size</font></td>
     </tr>
     <tr>
@@ -2002,9 +2296,9 @@ specified <i>text</i>, and current <a href="#font">font</a> and <a
       <td><font size="-1">void</font></td>
       <td bgcolor="#666666"><font size="-1">&nbsp;</font></td>
       <td><font size="-1">Gamma level of the image. The same color
-image displayed   on two different&nbsp; workstations&nbsp; may&nbsp;
-look&nbsp; different  due to differences in the display monitor.&nbsp;
-Use gamma correction&nbsp;   to&nbsp; adjust&nbsp; for this&nbsp;
+image displayed on two different&nbsp; workstations&nbsp; may&nbsp;
+look&nbsp; different due to differences in the display monitor.&nbsp;
+Use gamma correction&nbsp; to&nbsp; adjust&nbsp; for this&nbsp;
 color&nbsp; difference.</font></td>
     </tr>
     <tr>
@@ -2018,19 +2312,21 @@ color&nbsp; difference.</font></td>
     </tr>
     <tr>
       <td>
-      <center><a name="gifDisposeMethod"></a> <font size="-1">gifDispose-</font> <br>
+      <center><a name="gifDisposeMethod"></a> <font size="-1">gifDispose-</font>
+      <br>
       <font size="-1">Method</font></center>
       </td>
-      <td><font size="-1">unsigned int</font> <br>
+      <td><font size="-1">size_t</font> <br>
       <font size="-1">{ 0 = Disposal not specified,</font> <br>
       <font size="-1">1 = Do not dispose of graphic,</font> <br>
-      <font size="-1">3 = Overwrite graphic with background   color,</font> <br>
-      <font size="-1">4 = Overwrite graphic with previous   graphic. }</font></td>
+      <font size="-1">3 = Overwrite graphic with background color,</font>
+      <br>
+      <font size="-1">4 = Overwrite graphic with previous graphic. }</font></td>
       <td><font size="-1">void</font></td>
-      <td><font size="-1">unsigned int disposeMethod_</font></td>
+      <td><font size="-1">size_t disposeMethod_</font></td>
       <td><font size="-1">GIF disposal method. This option is used to
 control how successive frames are rendered (how the preceding frame is
-disposed of)  when creating a GIF animation.</font></td>
+disposed of) when creating a GIF animation.</font></td>
     </tr>
     <tr>
       <td>
@@ -2042,16 +2338,18 @@ disposed of)  when creating a GIF animation.</font></td>
 &amp;colorProfile_</font></td>
       <td><font size="-1">ICC color profile. Supplied via a <a
  href="Blob.html"> Blob</a> since Magick++/ and ImageMagick do not
-currently support formating this   data structure directly.&nbsp;
+currently support formating this data structure directly.&nbsp;
 Specifications are available from the <a href="http://www.color.org/">
 International Color Consortium</a> for the format of ICC color profiles.</font></td>
     </tr>
     <tr>
       <td>
-      <center><a name="interlaceType"></a> <font size="-1">interlace-</font> <br>
+      <center><a name="interlaceType"></a> <font size="-1">interlace-</font>
+      <br>
       <font size="-1">Type</font></center>
       </td>
-      <td><font size="-1"><a href="Enumerations.html#InterlaceType">InterlaceType</a> </font></td>
+      <td><font size="-1"><a href="Enumerations.html#InterlaceType">InterlaceType</a>
+      </font></td>
       <td><font size="-1">void</font></td>
       <td><font size="-1"><a href="Enumerations.html#InterlaceType">InterlaceType</a>
 interlace_</font></td>
@@ -2061,9 +2359,10 @@ scheme&nbsp; for&nbsp; raw&nbsp; image formats such as RGB or YUV. <i>NoInterlac
 means do not&nbsp; interlace, <i>LineInterlace</i> uses scanline
 interlacing, and <i>PlaneInterlace</i> uses plane interlacing. <i>
 PartitionInterlace</i> is like <i>PlaneInterlace</i> except the&nbsp;
-different planes&nbsp; are saved&nbsp; to individual  files (e.g.&nbsp;
+different planes&nbsp; are saved&nbsp; to individual files (e.g.&nbsp;
 image.R, image.G, and image.B). Use <i>LineInterlace</i> or <i>
-PlaneInterlace</i> to create an interlaced GIF or progressive JPEG image.</font></td>
+PlaneInterlace</i> to create an interlaced GIF or progressive JPEG
+image.</font></td>
     </tr>
     <tr>
       <td>
@@ -2075,7 +2374,7 @@ PlaneInterlace</i> to create an interlaced GIF or progressive JPEG image.</font>
 iptcProfile_</font></td>
       <td><font size="-1">IPTC profile. Supplied via a <a
  href="Blob.html"> Blob</a> since Magick++ and ImageMagick do not
-currently&nbsp; support formating   this data structure directly.
+currently&nbsp; support formating this data structure directly.
 Specifications are available from the <a href="http://www.iptc.org/">
 International Press Telecommunications Council</a> for IPTC profiles.</font></td>
     </tr>
@@ -2105,8 +2404,8 @@ International Press Telecommunications Council</a> for IPTC profiles.</font></td
       <td><font size="-1">void</font></td>
       <td><font size="-1">bool matteFlag_</font></td>
       <td><font size="-1">True if the image has transparency. If set
-True, store  matte channel if&nbsp; the image has one otherwise create
-an opaque  one.</font></td>
+True, store matte channel if&nbsp; the image has one otherwise create
+an opaque one.</font></td>
     </tr>
     <tr>
       <td>
@@ -2120,15 +2419,16 @@ an opaque  one.</font></td>
     </tr>
     <tr>
       <td>
-      <center><a name="meanErrorPerPixel"></a> <font size="-1">meanError-</font> <br>
+      <center><a name="meanErrorPerPixel"></a> <font size="-1">meanError-</font>
+      <br>
       <font size="-1">PerPixel</font></center>
       </td>
       <td><font size="-1">double</font></td>
       <td><font size="-1">void</font></td>
       <td bgcolor="#666666"><font size="-1">&nbsp;</font></td>
       <td><font size="-1">The mean error per pixel computed when an
-image is  color reduced. This parameter is only valid if verbose is set
-to true  and  the image has just been quantized.</font></td>
+image is color reduced. This parameter is only valid if verbose is set
+to true and the image has just been quantized.</font></td>
     </tr>
     <tr>
       <td style="text-align: center; vertical-align: middle;"><font
@@ -2147,7 +2447,8 @@ int depth_<br>
 modulus depth (minimum number of bits required to support
 red/green/blue components without loss of accuracy). The pixel modulus
 depth may be decreased by supplying a value which is less than the
-current value, updating the pixels (reducing accuracy) to the new depth.
+current value, updating the pixels (reducing accuracy) to the new
+depth.
 The pixel modulus depth can not be increased over the current value
 using this method.<br>
       </small></td>
@@ -2163,7 +2464,8 @@ using this method.<br>
     </tr>
     <tr>
       <td>
-      <center><a name="montageGeometry"></a> <font size="-1">montage-</font> <br>
+      <center><a name="montageGeometry"></a> <font size="-1">montage-</font>
+      <br>
       <font size="-1">Geometry</font></center>
       </td>
       <td><font size="-1"><a href="Geometry.html">Geometry</a> </font></td>
@@ -2174,27 +2476,29 @@ Only valid for montage images.</font></td>
     </tr>
     <tr>
       <td>
-      <center><a name="normalizedMaxError"></a> <font size="-1">normalized-</font> <br>
+      <center><a name="normalizedMaxError"></a> <font size="-1">normalized-</font>
+      <br>
       <font size="-1">MaxError</font></center>
       </td>
       <td><font size="-1">double</font></td>
       <td><font size="-1">void</font></td>
       <td bgcolor="#666666"><font size="-1">&nbsp;</font></td>
       <td><font size="-1">The normalized max error per pixel computed
-when an  image is color reduced. This parameter is only valid if verbose
-is set  to  true and the image has just been quantized.</font></td>
+when an image is color reduced. This parameter is only valid if verbose
+is set to true and the image has just been quantized.</font></td>
     </tr>
     <tr>
       <td>
-      <center><a name="normalizedMeanError"></a> <font size="-1">normalized-</font> <br>
+      <center><a name="normalizedMeanError"></a> <font size="-1">normalized-</font>
+      <br>
       <font size="-1">MeanError</font></center>
       </td>
       <td><font size="-1">double</font></td>
       <td><font size="-1">void</font></td>
       <td bgcolor="#666666"><font size="-1">&nbsp;</font></td>
       <td><font size="-1">The normalized mean error per pixel computed
-when an  image is color reduced. This parameter is only valid if verbose
-is set   to true and the image has just been quantized.</font></td>
+when an image is color reduced. This parameter is only valid if verbose
+is set to true and the image has just been quantized.</font></td>
     </tr>
     <tr>
       <td style="text-align: center; vertical-align: middle;"><small><a
@@ -2205,7 +2509,7 @@ is set   to true and the image has just been quantized.</font></td>
       <td style="vertical-align: top;"><small>void</small><br>
       </td>
       <td style="vertical-align: middle;"><small><a
- href="www/Magick++/Enumerations.html#OrientationType">OrientationType</a>
+ href="Enumerations.html#OrientationType">OrientationType</a>
 orientation_</small></td>
       <td style="vertical-align: top;"><small>Image orientation.
 &nbsp;Supported by some file formats such as DPX and TIFF. Useful for
@@ -2216,17 +2520,18 @@ turning the right way up.<br>
       <td>
       <center><a name="packets"></a> <font size="-1">packets</font></center>
       </td>
-      <td><font size="-1">unsigned int</font></td>
+      <td><font size="-1">size_t</font></td>
       <td><font size="-1">void</font></td>
       <td bgcolor="#666666"><font size="-1">&nbsp;</font></td>
-      <td><font size="-1">The number of runlength-encoded packets in</font> <br>
+      <td><font size="-1">The number of runlength-encoded packets in</font>
+      <br>
       <font size="-1">the image</font></td>
     </tr>
     <tr>
       <td>
       <center><a name="packetSize"></a> <font size="-1">packetSize</font></center>
       </td>
-      <td><font size="-1">unsigned int</font></td>
+      <td><font size="-1">size_t</font></td>
       <td><font size="-1">void</font></td>
       <td bgcolor="#666666"><font size="-1">&nbsp;</font></td>
       <td><font size="-1">The number of bytes in each pixel packet</font></td>
@@ -2235,17 +2540,18 @@ turning the right way up.<br>
       <td>
       <center><a name="page"></a> <font size="-1">page</font></center>
       </td>
-      <td><font size="-1"><a href="Geometry.html#PostscriptPageSize">Geometry</a> </font></td>
+      <td><font size="-1"><a href="Geometry.html#PostscriptPageSize">Geometry</a>
+      </font></td>
       <td><font size="-1">void</font></td>
       <td><font size="-1">const <a
  href="Geometry.html#PostscriptPageSize"> Geometry</a> &amp;pageSize_</font></td>
       <td><font size="-1">Preferred size and location of an image
 canvas.</font>
-      <p><font size="-1">Use this option to specify the   dimensions
-and position of the Postscript page in dots per inch or a TEXT   page in
+      <p><font size="-1">Use this option to specify the dimensions
+and position of the Postscript page in dots per inch or a TEXT page in
 pixels. This option is typically used in concert with <i><a
  href="#density"> density</a> </i>.</font> </p>
-      <p><font size="-1">Page may also be used to position   a GIF
+      <p><font size="-1">Page may also be used to position a GIF
 image (such as for a scene in an animation)</font></p>
       </td>
     </tr>
@@ -2254,8 +2560,8 @@ image (such as for a scene in an animation)</font></p>
       <center><a name="pixelColor"></a> <font size="-1">pixelColor</font></center>
       </td>
       <td><font size="-1"><a href="Color.html">Color</a> </font></td>
-      <td><font size="-1">unsigned int x_, unsigned int y_</font></td>
-      <td><font size="-1">unsigned int x_, unsigned int y_, const <a
+      <td><font size="-1">size_t x_, size_t y_</font></td>
+      <td><font size="-1">size_t x_, size_t y_, const <a
  href="Color.html"> Color</a> &amp;color_</font></td>
       <td><font size="-1">Get/set pixel color at location x &amp; y.</font></td>
     </tr>
@@ -2268,87 +2574,95 @@ image (such as for a scene in an animation)</font></p>
       </small></a> </td>
       <td valign="top"><small>const std::string name_</small><small><br>
       </small></td>
-      <td valign="top"><small>const std::string name_,   const Blob
+      <td valign="top"><small>const std::string name_, const Blob
 &amp;colorProfile_</small><small><br>
       </small></td>
       <td valign="top"><small>Get/set/remove </small><small> a named
 profile</small><small>. Valid names include </small><small>"*",
-"8bim", "icm", "iptc", or a user/format-defined profile name. </small><br>
+"8BIM", "ICM", "IPTC", or a user/format-defined profile name. </small><br>
       </td>
     </tr>
     <tr>
       <td>
       <center><a name="quality"></a> <font size="-1">quality</font></center>
       </td>
-      <td><font size="-1">unsigned int (0 to 100)</font></td>
+      <td><font size="-1">size_t (0 to 100)</font></td>
       <td><font size="-1">void</font></td>
-      <td><font size="-1">unsigned int quality_</font></td>
+      <td><font size="-1">size_t quality_</font></td>
       <td><font size="-1">JPEG/MIFF/PNG compression level (default 75).</font></td>
     </tr>
     <tr>
       <td>
-      <center><a name="quantizeColors"></a> <font size="-1">quantize-</font> <br>
+      <center><a name="quantizeColors"></a> <font size="-1">quantize-</font>
+      <br>
       <font size="-1">Colors</font></center>
       </td>
-      <td><font size="-1">unsigned int</font></td>
+      <td><font size="-1">size_t</font></td>
       <td><font size="-1">void</font></td>
-      <td><font size="-1">unsigned int colors_</font></td>
+      <td><font size="-1">size_t colors_</font></td>
       <td><font size="-1">Preferred number of colors in the image. The
 actual number of colors in the image may be less than your request, but
-never more.   Images with less unique colors than specified with this
-option will have  any duplicate or unused colors removed.</font></td>
+never more. Images with less unique colors than specified with this
+option will have any duplicate or unused colors removed.</font></td>
     </tr>
     <tr>
       <td>
-      <center><a name="quantizeColorSpace"></a> <font size="-1">quantize-</font> <br>
+      <center><a name="quantizeColorSpace"></a> <font size="-1">quantize-</font>
+      <br>
       <font size="-1">ColorSpace</font></center>
       </td>
-      <td><font size="-1"><a href="Enumerations.html#ColorspaceType">ColorspaceType</a> </font></td>
+      <td><font size="-1"><a href="Enumerations.html#ColorspaceType">ColorspaceType</a>
+      </font></td>
       <td><font size="-1">void</font></td>
       <td><font size="-1"><a href="Enumerations.html#ColorspaceType">ColorspaceType</a>
 colorSpace_</font></td>
       <td><font size="-1">Colorspace to quantize colors in (default
-RGB). Empirical   evidence suggests that distances in color spaces such
-as YUV or YIQ correspond   to perceptual color differences more closely
-than do distances in RGB space.   These color spaces may give better
+RGB). Empirical evidence suggests that distances in color spaces such
+as YUV or YIQ correspond to perceptual color differences more closely
+than do distances in RGB space. These color spaces may give better
 results when color reducing an image.</font></td>
     </tr>
     <tr>
       <td>
-      <center><a name="quantizeDither"></a> <font size="-1">quantize-</font> <br>
+      <center><a name="quantizeDither"></a> <font size="-1">quantize-</font>
+      <br>
       <font size="-1">Dither</font></center>
       </td>
       <td><font size="-1">bool</font></td>
       <td><font size="-1">void</font></td>
       <td><font size="-1">bool flag_</font></td>
       <td><font size="-1">Apply Floyd/Steinberg error diffusion to the
-image. The basic strategy of dithering is to&nbsp; trade&nbsp; intensity
+image. The basic strategy of dithering is to&nbsp; trade&nbsp;
+intensity
 resolution&nbsp; for&nbsp; spatial&nbsp; resolution&nbsp; by&nbsp;
-averaging the intensities&nbsp;    of&nbsp; several&nbsp;
-neighboring&nbsp; pixels. Images which&nbsp; suffer&nbsp;    from&nbsp;
-severe&nbsp; contouring&nbsp; when&nbsp; reducing colors can  be
+averaging the intensities&nbsp; of&nbsp; several&nbsp;
+neighboring&nbsp; pixels. Images which&nbsp; suffer&nbsp; from&nbsp;
+severe&nbsp; contouring&nbsp; when&nbsp; reducing colors can be
 improved with this option. The quantizeColors or monochrome option must
 be set for this option to take effect.</font></td>
     </tr>
     <tr>
       <td>
-      <center><a name="quantizeTreeDepth"></a> <font size="-1">quantize-</font> <br>
+      <center><a name="quantizeTreeDepth"></a> <font size="-1">quantize-</font>
+      <br>
       <font size="-1">TreeDepth</font></center>
       </td>
-      <td><font size="-1">unsigned int&nbsp;</font></td>
+      <td><font size="-1">size_t&nbsp;</font></td>
       <td><font size="-1">void</font></td>
-      <td><font size="-1">unsigned int treeDepth_</font></td>
+      <td><font size="-1">size_t treeDepth_</font></td>
       <td><font size="-1">Depth of the quantization color
-classification tree.   Values of 0 or 1 allow selection of the optimal
-tree depth for the color  reduction algorithm. Values between 2 and 8
-may be used to manually adjust  the tree depth.</font></td>
+classification tree. Values of 0 or 1 allow selection of the optimal
+tree depth for the color reduction algorithm. Values between 2 and 8
+may be used to manually adjust the tree depth.</font></td>
     </tr>
     <tr>
       <td>
-      <center><a name="renderingIntent"></a> <font size="-1">rendering-</font> <br>
+      <center><a name="renderingIntent"></a> <font size="-1">rendering-</font>
+      <br>
       <font size="-1">Intent</font></center>
       </td>
-      <td><font size="-1"><a href="Enumerations.html#RenderingIntent">RenderingIntent</a> </font></td>
+      <td><font size="-1"><a href="Enumerations.html#RenderingIntent">RenderingIntent</a>
+      </font></td>
       <td><font size="-1">void</font></td>
       <td><font size="-1"><a href="Enumerations.html#RenderingIntent">RenderingIntent</a>
 render_</font></td>
@@ -2356,10 +2670,12 @@ render_</font></td>
     </tr>
     <tr>
       <td>
-      <center><a name="resolutionUnits"></a> <font size="-1">resolution-</font> <br>
+      <center><a name="resolutionUnits"></a> <font size="-1">resolution-</font>
+      <br>
       <font size="-1">Units</font></center>
       </td>
-      <td><font size="-1"><a href="Enumerations.html#ResolutionType">ResolutionType</a> </font></td>
+      <td><font size="-1"><a href="Enumerations.html#ResolutionType">ResolutionType</a>
+      </font></td>
       <td><font size="-1">void</font></td>
       <td><font size="-1"><a href="Enumerations.html#ResolutionType">ResolutionType</a>
 units_</font></td>
@@ -2369,27 +2685,18 @@ units_</font></td>
       <td>
       <center><a name="rows"></a> <font size="-1">rows</font></center>
       </td>
-      <td><font size="-1">unsigned int</font></td>
+      <td><font size="-1">size_t</font></td>
       <td><font size="-1">void</font></td>
       <td bgcolor="#666666"><font size="-1">&nbsp;</font></td>
       <td><font size="-1">The number of pixel rows in the image</font></td>
     </tr>
-    <tr>
-      <td>
-      <center><a name="samplingFactor"></a> <font size="-1">samplingFactor</font></center>
-      </td>
-      <td><font size="-1">string (e.g. "2x1,1x1,1x1")</font></td>
-      <td><font size="-1">void</font></td>
-      <td><font size="-1">const string &amp;samplingFactor_</font></td>
-      <td><font size="-1">JPEG sampling factors</font></td>
-    </tr>
     <tr>
       <td>
       <center><a name="scene"></a> <font size="-1">scene</font></center>
       </td>
-      <td><font size="-1">unsigned int</font></td>
+      <td><font size="-1">size_t</font></td>
       <td><font size="-1">void</font></td>
-      <td><font size="-1">unsigned int scene_</font></td>
+      <td><font size="-1">size_t scene_</font></td>
       <td><font size="-1">Image scene number</font></td>
     </tr>
     <tr>
@@ -2411,9 +2718,9 @@ force re-computation of signature.</font></td>
       <td><font size="-1">const <a href="Geometry.html">Geometry</a>
 &amp;geometry_</font></td>
       <td><font size="-1">Width and height of a raw image (an image
-which does   not support width and height information).&nbsp; Size may
-also be used to  affect the image size read from a multi-resolution
-format (e.g. Photo CD,  JBIG, or JPEG.</font></td>
+which does not support width and height information).&nbsp; Size may
+also be used to affect the image size read from a multi-resolution
+format (e.g. Photo CD, JBIG, or JPEG.</font></td>
     </tr>
     <tr>
       <td>
@@ -2438,7 +2745,7 @@ object outlines.</font></td>
       <td>
       <center><a name="strokeDashOffset"></a> <font size="-1">strokeDashOffset</font></center>
       </td>
-      <td><font size="-1">unsigned int</font></td>
+      <td><font size="-1">size_t</font></td>
       <td><font size="-1">void</font></td>
       <td><font size="-1">double strokeDashOffset_</font></td>
       <td><font size="-1">While drawing using a dash pattern, specify
@@ -2452,12 +2759,12 @@ distance into the dash pattern to start the dash (default 0).</font></td>
       <td><font size="-1">void</font></td>
       <td><font size="-1">const double* strokeDashArray_</font></td>
       <td><font size="-1">Specify the pattern of dashes and gaps used
-to stroke   paths. The strokeDashArray represents a zero-terminated
-array of numbers  that specify the lengths (in pixels) of alternating
-dashes and gaps in user  units. If an odd number of values is provided,
-then the list of values is  repeated to yield an even number of
-values.&nbsp; A typical strokeDashArray_   array might contain the
-members 5 3 2 0, where the zero value indicates the  end of the pattern
+to stroke paths. The strokeDashArray represents a zero-terminated
+array of numbers that specify the lengths (in pixels) of alternating
+dashes and gaps in user units. If an odd number of values is provided,
+then the list of values is repeated to yield an even number of
+values.&nbsp; A typical strokeDashArray_ array might contain the
+members 5 3 2 0, where the zero value indicates the end of the pattern
 array.</font></td>
     </tr>
     <tr>
@@ -2468,8 +2775,8 @@ array.</font></td>
       <td><font size="-1">void</font></td>
       <td><font size="-1">LineCap lineCap_</font></td>
       <td><font size="-1">Specify the shape to be used at the corners
-of paths   (or other vector shapes) when they are stroked. Values of
-LineJoin are UndefinedJoin,  MiterJoin, RoundJoin, and BevelJoin.</font></td>
+of paths (or other vector shapes) when they are stroked. Values of
+LineJoin are UndefinedJoin, MiterJoin, RoundJoin, and BevelJoin.</font></td>
     </tr>
     <tr>
       <td>
@@ -2479,21 +2786,21 @@ LineJoin are UndefinedJoin,  MiterJoin, RoundJoin, and BevelJoin.</font></td>
       <td><font size="-1">void</font></td>
       <td><font size="-1">LineJoin lineJoin_</font></td>
       <td><font size="-1">Specify the shape to be used at the corners
-of paths   (or other vector shapes) when they are stroked. Values of
-LineJoin are UndefinedJoin,  MiterJoin, RoundJoin, and BevelJoin.</font></td>
+of paths (or other vector shapes) when they are stroked. Values of
+LineJoin are UndefinedJoin, MiterJoin, RoundJoin, and BevelJoin.</font></td>
     </tr>
     <tr>
       <td>
       <center><a name="strokeMiterLimit"></a> <font size="-1">strokeMiterLimit</font></center>
       </td>
-      <td><font size="-1">unsigned int</font></td>
+      <td><font size="-1">size_t</font></td>
       <td><font size="-1">void</font></td>
-      <td><font size="-1">unsigned int miterLimit_</font></td>
+      <td><font size="-1">size_t miterLimit_</font></td>
       <td><font size="-1">Specify miter limit. When two line segments
-meet at  a sharp angle and miter joins have been specified for
-'lineJoin', it is possible  for the miter to extend far beyond the
-thickness of the line stroking the  path. The miterLimit' imposes a
-limit on the ratio of the miter length to  the 'lineWidth'. The default
+meet at a sharp angle and miter joins have been specified for
+'lineJoin', it is possible for the miter to extend far beyond the
+thickness of the line stroking the path. The miterLimit' imposes a
+limit on the ratio of the miter length to the 'lineWidth'. The default
 value of this parameter is 4.</font></td>
     </tr>
     <tr>
@@ -2504,7 +2811,7 @@ value of this parameter is 4.</font></td>
       <td><font size="-1">void</font></td>
       <td><font size="-1">double strokeWidth_</font></td>
       <td><font size="-1">Stroke width for use when drawing vector
-objects (default  one)</font></td>
+objects (default one)</font></td>
     </tr>
     <tr>
       <td>
@@ -2520,18 +2827,18 @@ stroke (outlines).</font></td>
       <td>
       <center><a name="subImage"></a> <font size="-1">subImage</font></center>
       </td>
-      <td><font size="-1">unsigned int</font></td>
+      <td><font size="-1">size_t</font></td>
       <td><font size="-1">void</font></td>
-      <td><font size="-1">unsigned int subImage_</font></td>
+      <td><font size="-1">size_t subImage_</font></td>
       <td><font size="-1">Subimage of an image sequence</font></td>
     </tr>
     <tr>
       <td>
       <center><a name="subRange"></a> <font size="-1">subRange</font></center>
       </td>
-      <td><font size="-1">unsigned int</font></td>
+      <td><font size="-1">size_t</font></td>
       <td><font size="-1">void</font></td>
-      <td><font size="-1">unsigned int subRange_</font></td>
+      <td><font size="-1">size_t subRange_</font></td>
       <td><font size="-1">Number of images relative to the base image</font></td>
     </tr>
     <tr>
@@ -2545,12 +2852,12 @@ stroke (outlines).</font></td>
       </small></td>
       <td valign="middle"><small>const std::string &amp;encoding_</small><small><br>
       </small></td>
-      <td valign="top"><small>Specify the code set to  use for text
-annotations. The only character encoding which may be specified   at
+      <td valign="top"><small>Specify the code set to use for text
+annotations. The only character encoding which may be specified at
 this time is "UTF-8" for representing </small><small><a
  href="http://www.unicode.org/"> Unicode </a> </small><small>as a
-sequence of bytes. Specify  an  empty string to use the default ASCII
-encoding. Successful text annotation   using Unicode may require fonts
+sequence of bytes. Specify an empty string to use the default ASCII
+encoding. Successful text annotation using Unicode may require fonts
 designed to support Unicode.</small><br>
       </td>
     </tr>
@@ -2576,7 +2883,8 @@ designed to support Unicode.</small><br>
       <td>
       <center><a name="type"></a> <font size="-1">type</font></center>
       </td>
-      <td><font size="-1"><a href="Enumerations.html#ImageType">ImageType</a> </font></td>
+      <td><font size="-1"><a href="Enumerations.html#ImageType">ImageType</a>
+      </font></td>
       <td><font size="-1">void</font></td>
       <td bgcolor="#ffffff"><font size="-1"><a
  href="Enumerations.html#ImageType"> ImageType</a> </font></td>
@@ -2600,6 +2908,18 @@ designed to support Unicode.</small><br>
       <td><font size="-1">const string &amp;view_</font></td>
       <td><font size="-1">FlashPix viewing parameters.</font></td>
     </tr>
+    <tr>
+      <td>
+      <center><a name="virtualPixelMethod"></a> <font size="-1">virtualPixelMethod</font></center>
+      </td>
+      <td><font size="-1"><a href="Enumerations.html#VirtualPixelMethod">VirtualPixelMethod</a>
+      </font></td>
+      <td><small><font size="-1"><small>void</small></font></small></td>
+      <td><small><font size="-1"><small><a
+ href="Enumerations.html#VirtualPixelMethod">VirtualPixelMethod</a>
+virtualPixelMethod_</small></font></small></td>
+      <td><font size="-1">Image virtual pixel method.</font></td>
+    </tr>
     <tr>
       <td>
       <center><a name="x11Display"></a> <font size="-1">x11Display</font></center>
@@ -2608,7 +2928,7 @@ designed to support Unicode.</small><br>
       <td><font size="-1">void</font></td>
       <td><font size="-1">const string &amp;display_</font></td>
       <td><font size="-1">X11 display to display to, obtain fonts from,
-or to  capture image from</font></td>
+or to capture image from</font></td>
     </tr>
     <tr>
       <td>
@@ -2634,18 +2954,21 @@ or to  capture image from</font></td>
 <h3> <a name="Raw Image Pixel Access"></a> Low-Level Image Pixel Access</h3>
 </center>
 Image pixels (of type <i><a href="PixelPacket.html">PixelPacket</a> </i>)
-may be accessed directly via the <i>Image Pixel   Cache</i> .&nbsp; The
-image pixel cache is a rectangular window into the  actual image pixels
-(which may be in memory, memory-mapped from a disk file,  or entirely on
-disk). Two interfaces exist to access the <i>Image Pixel Cache.</i> The
-interface described here (part of the <i>Image</i> class) supports only
+may be accessed directly via the <i>Image Pixel Cache</i> .&nbsp; The
+image pixel cache is a rectangular window into the actual image pixels
+(which may be in memory, memory-mapped from a disk file, or entirely on
+disk). Two interfaces exist to access the <i>Image Pixel Cache.</i>
+The
+interface described here (part of the <i>Image</i> class) supports
+only
 one view at a time. See the <i><a href="Pixels.html">Pixels</a> </i>
-class for a more abstract interface which supports   simultaneous pixel
-views (up to the number of rows). As an analogy, the interface described
+class for a more abstract interface which supports simultaneous pixel
+views (up to the number of rows). As an analogy, the interface
+described
 here relates to the <i><a href="Pixels.html">Pixels</a> </i> class as
-stdio's gets() relates to fgets(). The <i><a href="Pixels.html"> Pixels</a> </i>
-class provides the more general form of the interface.
-<p>Obtain existing image pixels via <i>getPixels()</i>.   Create a new
+stdio's gets() relates to fgets(). The <i><a href="Pixels.html"> Pixels</a>
+</i>class provides the more general form of the interface.
+<p>Obtain existing image pixels via <i>getPixels()</i>. Create a new
 pixel region using <i>setPixels().</i></p>
 <p>In order to ensure that only the current generation of the image is
 modified, the Image's <a href="#modifyImage">modifyImage()</a> method
@@ -2654,16 +2977,17 @@ to one. If this is not done, then it is possible for a previous
 generation of the image to be modified due to the use of reference
 counting when copying or constructing an Image.<br>
 </p>
-<p>Depending on the capabilities of the operating system,   and the
+<p>Depending on the capabilities of the operating system, and the
 relationship of the window to the image, the pixel cache may be a copy
 of the pixels in the selected window, or it may be the actual image
 pixels. In any case calling <i>syncPixels()</i> insures that the base
 image is updated with the contents of the modified pixel cache. The
-method <i> readPixels()</i> supports copying foreign pixel data formats
-into the pixel cache according   to the <i>QuantumTypes</i>. The method <i>writePixels()</i>
-supports copying   the pixels in the cache to a foreign pixel
-representation according to the  format specified by <i>QuantumTypes</i>.</p>
-<p>The pixel region is effectively a small image in which   the pixels
+method <i> readPixels()</i> supports copying foreign pixel data
+formats
+into the pixel cache according to the <i>QuantumTypes</i>. The method <i>writePixels()</i>
+supports copying the pixels in the cache to a foreign pixel
+representation according to the format specified by <i>QuantumTypes</i>.</p>
+<p>The pixel region is effectively a small image in which the pixels
 may be accessed, addressed, and updated, as shown in the following
 example:
 <table border="0" width="100%">
@@ -2686,18 +3010,21 @@ DirectClass representation.</font></font></font><br>
  size="-1"> // Request pixel region with size 60x40, and top origin at
 20x30</font></font></font> <br>
       <font face="Courier New,Courier"><font color="#000099"><font
- size="-1"> int columns = 60;</font></font></font> <br>
+ size="-1"> ssize_t columns = 60;</font></font></font> <br>
       <font face="Courier New,Courier"><font color="#000099"><font
- size="-1"> PixelPacket *pixel_cache = image.getPixels(20,30,columns,40);</font></font></font> <br>
+ size="-1"> PixelPacket *pixel_cache =
+image.getPixels(20,30,columns,40);</font></font></font> <br>
       <font face="Courier New,Courier"><font color="#ff0000"><font
  size="-1"> // Set pixel at column 5, and row 10 in the pixel cache to
 red.</font></font></font> <br>
       <font face="Courier New,Courier"><font color="#000099"><font
- size="-1"> int column = 5;</font></font></font> <br>
+ size="-1"> ssize_t column = 5;</font></font></font> <br>
       <font face="Courier New,Courier"><font color="#000099"><font
- size="-1"> int row = 10;</font></font></font> <br>
+ size="-1"> ssize_t row = 10;</font></font></font> <br>
       <font face="Courier New,Courier"><font color="#000099"><font
- size="-1"> PixelPacket *pixel = pixel_cache+row*columns+column;</font></font></font> <br>
+ size="-1"> PixelPacket *pixel =
+pixel_cache+row*columns*sizeof(PixelPacket)+column;</font></font></font>
+      <br>
       <font face="Courier New,Courier"><font color="#000099"><font
  size="-1"> *pixel = Color("red");</font></font></font> <br>
       <font face="Courier New,Courier"><font color="#ff0000"><font
@@ -2737,12 +3064,13 @@ red.</font></font></font> <br>
       </td>
       <td><font size="-1">const <a href="PixelPacket.html">PixelPacket</a>
 *</font></td>
-      <td><font size="-1">const int x_, const int y_, const unsigned
-int columns_,   const unsigned int rows_</font></td>
+      <td><font size="-1">const ssize_t x_, const ssize_t y_, const unsigned
+int columns_, const size_t rows_</font></td>
       <td><font size="-1">Transfers pixels from the image to the pixel
 cache as defined by the specified rectangular region.&nbsp;</font><font
  size="-1">The returned pointer remains valid until the next getPixel,
-getConstPixels, or setPixels call and should never be deallocated by the
+getConstPixels, or setPixels call and should never be deallocated by
+the
 user.</font></td>
     </tr>
     <tr>
@@ -2756,10 +3084,10 @@ corresponding to a previous </font><font size="-1">getPixel,
 getConstPixels, or setPixels call. &nbsp;</font><font size="-1">The
 returned pointer remains valid until the next getPixel, getConstPixels,
 or setPixels call and should never be deallocated by the user.</font><font
- size="-1"> Only   valid for PseudoClass images or CMYKA images. The
-pixel indexes represent   an array of type IndexPacket, with each entry
-corresponding to an x,y pixel    position. For PseudoClass images, the
-entry's value is the offset into the  colormap (see <a href="#colorMap">colorMap</a>
+ size="-1"> Only valid for PseudoClass images or CMYKA images. The
+pixel indexes represent an array of type IndexPacket, with each entry
+corresponding to an x,y pixel position. For PseudoClass images, the
+entry's value is the offset into the colormap (see <a href="#colorMap">colorMap</a>
 ) for that pixel. For CMYKA images, the indexes are used to contain the
 alpha channel.</font></td>
     </tr>
@@ -2772,28 +3100,32 @@ alpha channel.</font></td>
       <td><font size="-1">Returns a pointer to the Image pixel indexes
 corresponding to the pixel region requested by the last <a
  href="#getConstPixels">getConstPixels</a> , <a href="#getPixels">getPixels</a>
-, or <a href="#setPixels">setPixels</a> call.&nbsp;</font><font size="-1">The
+, or <a href="#setPixels">setPixels</a> call.&nbsp;</font><font
+ size="-1">The
 returned pointer remains valid until the next getPixel, getConstPixels,
 or setPixels call and should never be deallocated by the user.</font><font
- size="-1"> </font><font size="-1">Only valid for PseudoClass images or
-CMYKA images. The pixel indexes   represent an array of type
-IndexPacket, with each entry corresponding to  a pixel x,y position. For
-PseudoClass images, the entry's value is the offset   into the colormap
-(see <a href="#colorMap">colorMap</a> )&nbsp; for that pixel. For CMYKA
-images, the indexes are used to contain   the alpha channel.</font></td>
+ size="-1"> </font><font size="-1">Only valid for PseudoClass images
+or
+CMYKA images. The pixel indexes represent an array of type
+IndexPacket, with each entry corresponding to a pixel x,y position. For
+PseudoClass images, the entry's value is the offset into the colormap
+(see <a href="#colorMap">colorMap</a> )&nbsp; for that pixel. For
+CMYKA
+images, the indexes are used to contain the alpha channel.</font></td>
     </tr>
     <tr>
       <td>
       <center><a name="getPixels"></a> <font size="-1">getPixels</font></center>
       </td>
       <td><font size="-1"><a href="PixelPacket.html">PixelPacket</a> *</font></td>
-      <td><font size="-1">const int x_, const int y_, const unsigned
-int columns_,   const unsigned int rows_</font></td>
+      <td><font size="-1">const ssize_t x_, const ssize_t y_, const unsigned
+int columns_, const size_t rows_</font></td>
       <td><font size="-1">Transfers pixels from the image to the pixel
 cache as defined by the specified rectangular region. Modified pixels
-may be subsequently   transferred back to the image via syncPixels. </font><font
+may be subsequently transferred back to the image via syncPixels. </font><font
  size="-1">The returned pointer remains valid until the next getPixel,
-getConstPixels, or setPixels call and should never be deallocated by the
+getConstPixels, or setPixels call and should never be deallocated by
+the
 user.</font><font size="-1"></font></td>
     </tr>
     <tr>
@@ -2801,11 +3133,11 @@ user.</font><font size="-1"></font></td>
       <center><a name="setPixels"></a> <font size="-1">setPixels</font></center>
       </td>
       <td><font size="-1"><a href="PixelPacket.html">PixelPacket</a> *</font></td>
-      <td><font size="-1">const int x_, const int y_, const unsigned
-int columns_,   const unsigned int rows_</font></td>
+      <td><font size="-1">const ssize_t x_, const ssize_t y_, const unsigned
+int columns_, const size_t rows_</font></td>
       <td><font size="-1">Allocates a pixel cache region to store image
 pixels as defined by the region rectangle.&nbsp; This area is
-subsequently transferred    from the pixel cache to the image via
+subsequently transferred from the pixel cache to the image via
 syncPixels.&nbsp;</font><font size="-1">The returned pointer remains
 valid until the next getPixel, getConstPixels, or setPixels call and
 should never be deallocated by the user.</font></td>
@@ -2838,8 +3170,8 @@ corresponds to the region set by a preceding setPixels call.</font></td>
       <td><font size="-1"><a href="Enumerations.html#QuantumTypes">QuantumTypes</a>
 quantum_, unsigned char *destination_</font></td>
       <td><font size="-1">Transfers one or more pixel components from
-the image   pixel cache to a buffer or file. WritePixels is typically
-used to  support   image encoders. The region transferred corresponds to
+the image pixel cache to a buffer or file. WritePixels is typically
+used to support image encoders. The region transferred corresponds to
 the region set by a preceding getPixels or getConstPixels call.</font></td>
     </tr>
   </tbody>
index 66070b03d46760a83ff31dfee25461451ea8ee8f..2ebcf7c84bc1849ee18268990ea58ac477ec655f 100644 (file)
   <meta name="DESCRIPTION" content="Class to access raw image pixels.">
        
   <meta name="KEYWORDS" content="ImageMagick,Pixel,Magick++">
+<link rel=stylesheet type=text/css href="magick.css">
        
-  <style>
-       <!--
-               TD P { color: #000000 }
-               H1 { color: #000000 }
-               P { color: #000000 }
-               A:link { color: #0000ff }
-               A:visited { color: #ff0000 }
-       -->
-       </style>
 </head>
 <body lang="en-US" text="#000000" link="#0000ff" vlink="#ff0000"
  bgcolor="#ffffff">
@@ -108,7 +100,7 @@ view</font></font></font>                   <br>
  color="#000099">                     </font><font color="#ff0000"> // Set all pixels
 in region anchored                     at 38x36, with size 160x230 to green.</font></font></font> <br>
       <font size="2"><font face="Courier New, Courier"><font
- color="#000099">                    unsigned int columns = 196; unsigned int rows =
+ color="#000099">                    size_t columns = 196; size_t rows =
 162;</font></font></font>                      <br>
       <font size="2"><font face="Courier New, Courier"><font
  color="#000099">                    Color green("green");</font></font></font> <br>
@@ -116,10 +108,10 @@ in region anchored                        at 38x36, with size 160x230 to green.</font></font></font>
  color="#000099">                    PixelPacket *pixels =
 view.get(38,36,columns,rows);</font></font></font>                     <br>
       <font size="2"><font face="Courier New, Courier"><font
- color="#000099">                    for ( int row = 0; row &lt; rows ; ++row )</font></font></font>
+ color="#000099">                    for ( ssize_t row = 0; row &lt; rows ; ++row )</font></font></font>
                        <br>
       <font size="2"><font face="Courier New, Courier"><font
- color="#000099">                          for ( int column = 0; column &lt; columns ;
+ color="#000099">                          for ( ssize_t column = 0; column &lt; columns ;
 ++column )</font></font></font>                        <br>
       <font size="2"><font face="Courier New, Courier"><font
  color="#000099">                        *pixels++=green;</font></font></font> </p>
@@ -140,10 +132,10 @@ in region anchored                        at 86x72, with size 108x67 to yellow.</font></font></font>
       <font size="2"><font face="Courier New, Courier"><font
  color="#000099">                    pixels = view.get(86,72,columns,rows);</font></font></font> <br>
       <font size="2"><font face="Courier New, Courier"><font
- color="#000099">                    for ( int row = 0; row &lt; rows ; ++row )</font></font></font>
+ color="#000099">                    for ( ssize_t row = 0; row &lt; rows ; ++row )</font></font></font>
                        <br>
       <font size="2"><font face="Courier New, Courier"><font
- color="#000099">                         for ( int column = 0; column &lt; columns ;
+ color="#000099">                         for ( ssize_t column = 0; column &lt; columns ;
 ++column )</font></font></font>                        <br>
       <font size="2"><font face="Courier New, Courier"><font
  color="#000099">                              *pixels++=yellow;</font></font></font> <br>
@@ -199,8 +191,8 @@ methods: <br>
       <p><font size="2"><a href="PixelPacket.html">PixelPacket</a>*</font></p>
                </td>
                <td>                    
-      <p><font size="2">const int x_, const int y_, const unsigned
-const                  int columns_, const unsigned int rows_</font></p>
+      <p><font size="2">const ssize_t x_, const ssize_t y_, const unsigned
+const                  int columns_, const size_t rows_</font></p>
                </td>
                <td>                    
       <p><font size="2">Transfers read-write pixels from the image to
@@ -218,8 +210,8 @@ the                         pixel cache as defined by the specified rectangular region.
       <p><font size="2">const <a href="PixelPacket.html">PixelPacket</a>*</font></p>
                </td>
                <td>                    
-      <p><font size="2">const int x_, const int y_, const unsigned int
-                       columns_, const unsigned int rows_</font></p>
+      <p><font size="2">const ssize_t x_, const ssize_t y_, const size_t
+                       columns_, const size_t rows_</font></p>
                </td>
                <td>                    
       <p><font size="2">Transfers read-only pixels from the image to
@@ -234,8 +226,8 @@ the                         pixel cache as defined by the specified rectangular region.</font></p>
       <p><font size="2"><a href="PixelPacket.html">PixelPacket</a>*</font></p>
                </td>
                <td>                    
-      <p><font size="2">const int x_, const int y_, const unsigned int
-                       columns_, const unsigned int rows_</font></p>
+      <p><font size="2">const ssize_t x_, const ssize_t y_, const size_t
+                       columns_, const size_t rows_</font></p>
                </td>
                <td>                    
       <p><font size="2">Allocates a pixel cache region to store image
@@ -279,7 +271,7 @@ which is itself typedef <i>unsigned char</i>, or                    <i>unsigned short</i>,
 depending on the value of the <i>QuantumDepth                  </i>define) provide
 the <span lang="en-US">colormap</span> index                   (see <a
  href="Image.html#colorMap">colorMap</a>) for each pixel in                    the
-image. For CMYKA images, the indexes represent the black
+image. For CMYKA images, the indexes represent the black                       
 channel. The value returned is intended for pixel access                       only. It
 should never be deallocated.</font></p>
                </td>
@@ -317,7 +309,7 @@ should never be deallocated.</font></p>
       <p align="center"><a name="columns"></a><font size="2">columns</font></p>
                </td>
                <td>                    
-      <p><font size="2">unsigned int</font></p>
+      <p><font size="2">size_t</font></p>
                </td>
                <td>                    
       <p><font size="2">void</font></p>
@@ -331,7 +323,7 @@ should never be deallocated.</font></p>
       <p align="center"><a name="rows"></a><font size="2">rows</font></p>
                </td>
                <td>                    
-      <p><font size="2">unsigned int</font></p>
+      <p><font size="2">size_t</font></p>
                </td>
                <td>                    
       <p><font size="2">void</font></p>
index de0aab87fc9c323ab1078f2a99d6a1956a587b0e..26a0728b3b9411b70bf95a1095dde07ae3d26621 100644 (file)
@@ -10,6 +10,7 @@
  content="Documentation on Magick++'s STL support templates.">
   <meta name="Keywords" content="STL,Magick++,ImageMagick">
   <title>Magick++ STL Support</title>
+<link rel=stylesheet type=text/css href="magick.css">
 </head>
 <body text="#000000" bgcolor="#ffffff" link="#0000ff" vlink="#ff0000"
  alink="#000088">
@@ -180,7 +181,7 @@ use of a pop-up menu, image frames may be selected in succession. This
 feature is  fully supported under X11 but may have only limited support
 in other environments.</font> <br>
       <font size="-1"><b><font color="#ff0000">Caution: </font></b> if
-an image format is not compatable with the display visual (e.g. JPEG
+an image format is is not compatable with the display visual (e.g. JPEG
 on a colormapped display) then the original image will be altered. Use a
 copy of the original if this is a problem.</font></td>
     </tr>
@@ -244,7 +245,7 @@ as options by <i>montageImages().</i></font></td>
 *morphedImages_, <a
  href="http://www.sgi.com/tech/stl/InputIterator.html"> InputIterator</a>
 first_, <a href="http://www.sgi.com/tech/stl/InputIterator.html">InputIterator</a>
-last_, unsigned int frames_</font></td>
+last_, size_t frames_</font></td>
       <td><font size="-1">Morph a seqence of image frames. This
 algorithm&nbsp; expands the number of image frames (output to the
 container <i>morphedImages_)</i> by adding the number of intervening
@@ -379,7 +380,7 @@ manipulating images are shown in the following table: <br>
  size="-1">adaptiveThresholdImage</font><br>
       </div>
       </td>
-      <td valign="middle"><font size="-1">unsigned int width, unsigned
+      <td valign="middle"><font size="-1">size_t width, unsigned
 int height, unsigned offset = 0</font><br>
       </td>
       <td valign="top"><font size="-1">Apply adaptive thresholding to
@@ -489,14 +490,14 @@ subregion of image)</font></td>
       <td rowspan="2">
       <center><a name="colorizeImage"></a> <font size="-1">colorizeImage</font></center>
       </td>
-      <td><font size="-1">const unsigned int opacityRed_, const
-unsigned int opacityGreen_, const unsigned int opacityBlue_, const Color
+      <td><font size="-1">const size_t opacityRed_, const
+size_t opacityGreen_, const size_t opacityBlue_, const Color
 &amp;penColor_</font></td>
       <td><font size="-1">Colorize image with pen color, using
 specified percent  opacity for red, green, and blue quantums.</font></td>
     </tr>
     <tr>
-      <td><font size="-1">const unsigned int opacity_, const <a
+      <td><font size="-1">const size_t opacity_, const <a
  href="Color.html"> Color</a> &amp;penColor_</font></td>
       <td><font size="-1">Colorize image with pen color, using
 specified percent  opacity.</font></td>
@@ -518,7 +519,7 @@ height, or other&nbsp; image&nbsp; attributes by embedding <a
       <center><a name="compositeImage"></a> <font size="-1">compositeImage</font></center>
       </td>
       <td><font size="-1">const <a href="Image.html">Image</a>
-&amp;compositeImage_, int xOffset_, int yOffset_, <a
+&amp;compositeImage_, ssize_t xOffset_, ssize_t yOffset_, <a
  href="Enumerations.html#CompositeOperator"> CompositeOperator</a>
 compose_ = <i>InCompositeOp</i></font></td>
       <td rowspan="2"><font size="-1">Compose an image onto another at
@@ -542,7 +543,7 @@ memory).</font></td>
       <td>
       <center><a name="contrastImage"></a> <font size="-1">contrastImage</font></center>
       </td>
-      <td><font size="-1">unsigned int sharpen_</font></td>
+      <td><font size="-1">size_t sharpen_</font></td>
       <td><font size="-1">Contrast image (enhance intensity differences
 in image)</font></td>
     </tr>
@@ -589,7 +590,7 @@ for repeated use.</font></td>
       <td>
       <center><a name="edgeImage"></a> <font size="-1">edgeImage</font></center>
       </td>
-      <td><font size="-1">unsigned int radius_ = 0.0</font></td>
+      <td><font size="-1">size_t radius_ = 0.0</font></td>
       <td><font size="-1">Edge image (hilight edges in image).&nbsp;
 The radius  is the radius of the pixel neighborhood.. Specify a radius
 of zero for automatic radius selection.</font></td>
@@ -632,7 +633,7 @@ vertical direction)</font></td>
       <center><a name="floodFillColorImage"></a> <font size="-1">floodFill-</font> <br>
       <font size="-1">ColorImage</font></center>
       </td>
-      <td><font size="-1">unsigned int x_, unsigned int y_, const <a
+      <td><font size="-1">size_t x_, size_t y_, const <a
  href="Color.html"> Color</a> &amp;fillColor_</font></td>
       <td rowspan="2"><font size="-1">Flood-fill color across pixels
 that match  the color of the target pixel and are neighbors of the
@@ -643,7 +644,7 @@ target pixel. Uses  current fuzz setting when determining color match.</font></t
 &amp;point_, const <a href="Color.html">Color</a> &amp;fillColor_</font></td>
     </tr>
     <tr>
-      <td><font size="-1">unsigned int x_, unsigned int y_, const <a
+      <td><font size="-1">size_t x_, size_t y_, const <a
  href="Color.html"> Color</a> &amp;fillColor_, const <a href="Color.html">Color</a>
 &amp;borderColor_</font></td>
       <td rowspan="2"><font size="-1">Flood-fill color across pixels
@@ -660,7 +661,7 @@ border color. Uses  current fuzz setting when determining color match.</font></t
       <center><a name="floodFillTextureImage"></a> <font size="-1">floodFill-</font> <br>
       <font size="-1">TextureImage</font></center>
       </td>
-      <td><font size="-1">unsigned int x_, unsigned int y_,&nbsp; const <a
+      <td><font size="-1">size_t x_, size_t y_,&nbsp; const <a
  href="Image.html"> Image</a> &amp;texture_</font></td>
       <td rowspan="2"><font size="-1">Flood-fill texture across pixels
 that match  the color of the target pixel and are neighbors of the
@@ -671,7 +672,7 @@ target pixel. Uses  current fuzz setting when determining color match.</font></t
 &amp;point_, const Image &amp;texture_</font></td>
     </tr>
     <tr>
-      <td><font size="-1">unsigned int x_, unsigned int y_, const Image
+      <td><font size="-1">size_t x_, size_t y_, const Image
 &amp;texture_, const <a href="Color.html">Color</a> &amp;borderColor_</font></td>
       <td rowspan="2"><font size="-1">Flood-fill texture across pixels
 starting at target-pixel and stopping at pixels matching specified
@@ -699,8 +700,8 @@ horizontal direction)</font></td>
       <td rowspan="2"><font size="-1">Add decorative frame around image</font></td>
     </tr>
     <tr>
-      <td><font size="-1">unsigned int width_, unsigned int height_,
-int x_, int  y_, int innerBevel_ = 0, int outerBevel_ = 0</font></td>
+      <td><font size="-1">size_t width_, size_t height_,
+int x_, ssize_t  y_, ssize_t innerBevel_ = 0, ssize_t outerBevel_ = 0</font></td>
     </tr>
     <tr>
       <td rowspan="2">
@@ -734,6 +735,14 @@ specified by 'sigma_'.</font></td>
       <td><font size="-1">double factor_</font></td>
       <td><font size="-1">Implode image (special effect)</font></td>
     </tr>
+    <tr>
+      <td>
+      <center><a name="inverseFourierTransformImage"></a> <font size="-1">inverseFourierTransformImage</font></center>
+      </td>
+      <td><font size="-1">const <a href="Image.html">Image</a>
+&amp;phaseImage_, const bool magnitude_</font></td>
+      <td><font size="-1">implements the inverse discrete Fourier transform (DFT) of the image either as a magnitude / phase or real / imaginary image pair.</font></td>
+    </tr>
     <tr>
       <td>
       <center><a name="labelImage"></a> <font size="-1">labelImage</font></center>
@@ -825,7 +834,7 @@ with this option.</font></td>
       <font size="-1">Image</font></center>
       </td>
       <td><font size="-1">const <a href="Color.html">Color</a>
-&amp;target_, unsigned int matte_, int x_, int y_, <a
+&amp;target_, size_t matte_, ssize_t x_, ssize_t y_, <a
  href="Enumerations.html#PaintMethod"> PaintMethod</a> method_</font></td>
       <td><font size="-1">Floodfill designated area with a matte value</font></td>
     </tr>
@@ -877,14 +886,14 @@ normalizing the  pixel values to span the full range of color values).</font></t
       <td>
       <center><a name="oilPaintImage"></a> <font size="-1">oilPaintImage</font></center>
       </td>
-      <td><font size="-1">unsigned int radius_ = 3</font></td>
+      <td><font size="-1">size_t radius_ = 3</font></td>
       <td><font size="-1">Oilpaint image (image looks like oil painting)</font></td>
     </tr>
     <tr>
       <td>
       <center><a name="opacityImage"></a> <font size="-1">opacityImage</font></center>
       </td>
-      <td><font size="-1">unsigned int opacity_</font></td>
+      <td><font size="-1">size_t opacity_</font></td>
       <td><font size="-1">Set or attenuate the opacity channel in the
 image. If the image pixels are opaque then they are set to the specified
 opacity value, otherwise they are blended with the supplied opacity
@@ -929,13 +938,13 @@ an image  to give a 3-D raised or lowered effect)</font></td>
 noise peak  elimination filter.</font></td>
     </tr>
     <tr>
-      <td><font size="-1">unsigned int order_</font></td>
+      <td><font size="-1">size_t order_</font></td>
     </tr>
     <tr>
       <td>
       <center><a name="rollImage"></a> <font size="-1">rollImage</font></center>
       </td>
-      <td><font size="-1">int columns_, int rows_</font></td>
+      <td><font size="-1">int columns_, ssize_t rows_</font></td>
       <td><font size="-1">Roll image (rolls image vertically and
 horizontally) by specified number of columnms and rows)</font></td>
     </tr>
@@ -1039,7 +1048,7 @@ exposing a photographic film to light during the development process)</font></td
       <td>
       <center><a name="spreadImage"></a> <font size="-1">spreadImage</font></center>
       </td>
-      <td><font size="-1">unsigned int amount_ = 3</font></td>
+      <td><font size="-1">size_t amount_ = 3</font></td>
       <td><font size="-1">Spread pixels randomly within image by
 specified amount</font></td>
     </tr>
@@ -1186,8 +1195,8 @@ and Postscript  or TrueType fonts. Enabled by default.</font></td>
       <center><a name="animationDelay"></a> <font size="-1">animation-</font> <br>
       <font size="-1">DelayImage</font></center>
       </td>
-      <td><font size="-1">unsigned int (0 to 65535)</font></td>
-      <td><font size="-1">unsigned int delay_</font></td>
+      <td><font size="-1">size_t (0 to 65535)</font></td>
+      <td><font size="-1">size_t delay_</font></td>
       <td><font size="-1">Time in 1/100ths of a second (0 to 65535)
 which must  expire before displaying the next image in an animated
 sequence. This option  is useful for regulating the animation of a
@@ -1198,8 +1207,8 @@ sequence&nbsp; of GIF images within Netscape.</font></td>
       <center><a name="animationIterations"></a> <font size="-1">animation-</font> <br>
       <font size="-1">IterationsImage</font></center>
       </td>
-      <td><font size="-1">unsigned int</font></td>
-      <td><font size="-1">unsigned int iterations_</font></td>
+      <td><font size="-1">size_t</font></td>
+      <td><font size="-1">size_t iterations_</font></td>
       <td><font size="-1">Number of iterations to loop an animation
 (e.g. Netscape  loop extension) for.</font></td>
     </tr>
@@ -1298,7 +1307,7 @@ are close to the target  color in RGB space.</font></td>
       <center><a name="colorMap"></a> <font size="-1">colorMapImage</font></center>
       </td>
       <td><font size="-1"><a href="Color.html">Color</a> </font></td>
-      <td><font size="-1">unsigned int index_, const <a
+      <td><font size="-1">size_t index_, const <a
  href="Color.html">Color</a> &amp;color_</font></td>
       <td><font size="-1">Color at color-pallet index.</font></td>
     </tr>
@@ -1348,8 +1357,8 @@ Postscript or Portable Document page. Often used with <i>psPageSize</i>.</font><
       <td>
       <center><a name="depth"></a> <font size="-1">depthImage</font></center>
       </td>
-      <td><font size="-1">unsigned int (8 or 16)</font></td>
-      <td><font size="-1">unsigned int depth_</font></td>
+      <td><font size="-1">size_t (8 or 16)</font></td>
+      <td><font size="-1">size_t depth_</font></td>
       <td><font size="-1">Image depth. Used to specify the bit depth
 when reading  or writing&nbsp; raw images or thwn the output format
 supports multiple depths. Defaults to the quantum depth that
@@ -1410,8 +1419,8 @@ Otherwise, specify&nbsp;  a&nbsp; Postscript font name (e.g.
       <center><a name="fontPointsize"></a> <font size="-1">fontPointsize-</font> <br>
       <font size="-1">Image</font></center>
       </td>
-      <td><font size="-1">unsigned int</font></td>
-      <td><font size="-1">unsigned int pointSize_</font></td>
+      <td><font size="-1">size_t</font></td>
+      <td><font size="-1">size_t pointSize_</font></td>
       <td><font size="-1">Text rendering font point size</font></td>
     </tr>
     <tr>
@@ -1419,13 +1428,13 @@ Otherwise, specify&nbsp;  a&nbsp; Postscript font name (e.g.
       <center><a name="gifDisposeMethod"></a> <font size="-1">gifDispose-</font> <br>
       <font size="-1">MethodImage</font></center>
       </td>
-      <td><font size="-1">unsigned int</font> <br>
+      <td><font size="-1">size_t</font> <br>
       <font size="-1">{ 0 = Disposal not specified,</font> <br>
       <font size="-1">1 = Do not dispose of graphic,</font> <br>
       <font size="-1">3 = Overwrite graphic with background color,</font> <br>
       <font size="-1">4 = Overwrite graphic with previous graphic. }</font></td>
-      <td><font size="-1">unsigned int disposeMethod_</font></td>
-      <td><font size="-1">GIF disposal method. This option is used to
+      <td><font size="-1">size_t disposeMethod_</font></td>
+      <td><font size="-1">layer disposal method. This option is used to
 control how successive frames are rendered (how the preceding frame is
 disposed of)  when creating a GIF animation.</font></td>
     </tr>
@@ -1550,7 +1559,7 @@ penColor).</font></td>
       <center><a name="pixelColor"></a> <font size="-1">pixelColorImage</font></center>
       </td>
       <td><font size="-1"><a href="Color.html">Color</a> </font></td>
-      <td><font size="-1">unsigned int x_, unsigned int y_, const <a
+      <td><font size="-1">size_t x_, size_t y_, const <a
  href="Color.html"> Color</a> &amp;color_</font></td>
       <td><font size="-1">Get/set pixel color at location x &amp; y.</font></td>
     </tr>
@@ -1569,8 +1578,8 @@ or a TEXT page in pixels. This option is typically used in concert with <i>densi
       <td>
       <center><a name="quality"></a> <font size="-1">qualityImage</font></center>
       </td>
-      <td><font size="-1">unsigned int (0 to 100)</font></td>
-      <td><font size="-1">unsigned int quality_</font></td>
+      <td><font size="-1">size_t (0 to 100)</font></td>
+      <td><font size="-1">size_t quality_</font></td>
       <td><font size="-1">JPEG/MIFF/PNG compression level (default 75).</font></td>
     </tr>
     <tr>
@@ -1578,8 +1587,8 @@ or a TEXT page in pixels. This option is typically used in concert with <i>densi
       <center><a name="quantizeColors"></a> <font size="-1">quantize-</font> <br>
       <font size="-1">ColorsImage</font></center>
       </td>
-      <td><font size="-1">unsigned int</font></td>
-      <td><font size="-1">unsigned int colors_</font></td>
+      <td><font size="-1">size_t</font></td>
+      <td><font size="-1">size_t colors_</font></td>
       <td><font size="-1">Preferred number of colors in the image. The
 actual number of colors in the image may be less than your request, but
 never more. Images with less unique colors than specified with this
@@ -1620,8 +1629,8 @@ for this option to take effect.</font></td>
       <center><a name="quantizeTreeDepth"></a> <font size="-1">quantize-</font> <br>
       <font size="-1">TreeDepthImage</font></center>
       </td>
-      <td><font size="-1">unsigned int (0 to 8)</font></td>
-      <td><font size="-1">unsigned int treeDepth_</font></td>
+      <td><font size="-1">size_t (0 to 8)</font></td>
+      <td><font size="-1">size_t treeDepth_</font></td>
       <td><font size="-1">Depth of the quantization color
 classification tree.  Values of 0 or 1 allow selection of the optimal
 tree depth for the color reduction algorithm. Values between 2 and 8 may
@@ -1651,8 +1660,8 @@ units_</font></td>
       <td>
       <center><a name="scene"></a> <font size="-1">sceneImage</font></center>
       </td>
-      <td><font size="-1">unsigned int</font></td>
-      <td><font size="-1">unsigned int scene_</font></td>
+      <td><font size="-1">size_t</font></td>
+      <td><font size="-1">size_t scene_</font></td>
       <td><font size="-1">Image scene number</font></td>
     </tr>
     <tr>
@@ -1680,16 +1689,16 @@ format (e.g. Photo CD, JBIG, or JPEG.</font></td>
       <td>
       <center><a name="subImage"></a> <font size="-1">subImageImage</font></center>
       </td>
-      <td><font size="-1">unsigned int</font></td>
-      <td><font size="-1">unsigned int subImage_</font></td>
+      <td><font size="-1">size_t</font></td>
+      <td><font size="-1">size_t subImage_</font></td>
       <td><font size="-1">Subimage of an image sequence</font></td>
     </tr>
     <tr>
       <td>
       <center><a name="subRange"></a> <font size="-1">subRangeImage</font></center>
       </td>
-      <td><font size="-1">unsigned int</font></td>
-      <td><font size="-1">unsigned int subRange_</font></td>
+      <td><font size="-1">size_t</font></td>
+      <td><font size="-1">size_t subRange_</font></td>
       <td><font size="-1">Number of images relative to the base image</font></td>
     </tr>
     <tr>
index 950911f9450fd636872208adf97d89855f311d1c..289619fedbc0822caebed8b00e7ffb126e0f579a 100644 (file)
@@ -1,34 +1,98 @@
-<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
-  "http://www.w3.org/TR/html4/loose.dtd">
-<html>
-<head>
-<title>Magick++ -- C++ API for ImageMagick</title>
-<link rel=stylesheet type=text/css href=../../www/magick.css>
-</head>
-<body lang="en-US" text="#ffffff" link="#0000EE" vlink="#551A8B" bgcolor="#fbc713">
-<h1>Magick++ -- C++ API for ImageMagick</h1>
-<p>Magick++ is the object-oriented C++ API to the <a href="../../index.html"><span lang="en-US">ImageMagick</span></a> image-processing library, the most comprehensive open-source image processing package available. Read the latest <a href="NEWS.html">NEWS</a> and <a href="ChangeLog.html"><span lang="en-US">ChangeLog</span></a> for <span lang="en-US">Magick</span>++.</p>
-<p><img src="ImageMagick.png" name="Graphic2" align="right" width="250" height="259" border="0">Magick++ supports an object model which is inspired by <a href="../../perl.html">PerlMagick</a>. Images support implicit reference counting so that copy constructors and assignment incur almost no cost. The cost of actually copying an image (if necessary) is done just before modification and this copy is managed automatically by Magick++. De-referenced copies are automatically deleted. The image objects support value (rather than pointer) semantics so it is trivial to support multiple generations of an image in memory at one time.</p>
-<p>Magick++ provides integrated support for the <a href="http://www.sgi.com/tech/stl/">Standard Template Library</a> (STL) so that the powerful containers available (e.g. <a href="http://www.sgi.com/tech/stl/Deque.html"><span lang="en-US">deque</span></a>, <a href="http://www.sgi.com/tech/stl/Vector.html">vector</a>, <a href="http://www.sgi.com/tech/stl/List.html">list</a>, and <a href="http://www.sgi.com/tech/stl/Map.html">map</a>) can be used to write programs similar to those possible with PERL &amp;<span lang="en-US">PerlMagick.</span> STL-<span lang="en-US">compatible</span> template versions of <span lang="en-US">ImageMagick's</span> list-style operations are provided so that operations may be performed on multiple images stored in STL containers.</p>
-<h3>Documentation</h3>
-<p>Detailed <a href="Documentation.html">documentation</a> are provided for all Magick++ classes, class methods, and template functions which comprise the API.</p>
-<h3>Obtaining Magick++</h3>
-<p>Magick++ is included as part of <a href="../../index.html">ImageMagick</a> source releases and may be retrieved via <a href="../download.html"><span lang="en-US">ftp</span></a> or <a href="../subversion.html">subversion</a>.</p>
-<h3>Installation</h3>
-<p>Once you have the sources available, follow these detailed <a href="Install.html">installation instructions</a> for UNIX and Windows.</p>
-<h3>Usage</h3>
-<p>A helper script named <i>Magick++-config</i> is installed under Unix which assists with recalling compilation options required to compile and link programs which use Magick++. For example, the following command will compile and link the source file <i>example.cpp</i> to produce the executable <i>example</i> (notice that quotes are backward quotes):</p>
-<blockquote><tt><font color="#ffffff"><font size="2">c++ `Magick++-config --cxxflags --cppflags` -o example example.cpp `Magick++-config --ldflags --libs`
-</font></tt></blockquote>
-<p>Windows users may get started by manually editing a project file for one of the Magick++ demo programs.</p>
-<p><b>Please note that under Windows (and possibly the Mac) it is necessary to initialize the ImageMagick library prior to using the Magick++ library</b>. This initialization is performed by passing the path to the ImageMagick DLLs (assumed to be in the same directory as your program) to the InitializeMagick() function call. This is commonly performed by providing the path to your program (argv[0]) as shown in the following example:</p>
-<blockquote><tt><font color="#ffffff">int main( int /*argc*/, char ** argv)</font></tt><br>
-<tt><font color="#ffffff">{</font></tt><br>
-<tt><font color="#ffffff">InitializeMagick(*argv);</font></tt></blockquote>
-<p>This <span lang="en-US">initialization</span> step is not required under Unix, Linux, <span lang="en-US">Cygwin</span>, or any other operating environment that supports the notion of "installing" ImageMagick in a known location.</p>
-<h3>Reporting Bugs</h3>
-<p>Please report any bugs or questions via the <a href="http://studio.imagemagick.org/magick/index.php">ImageMagick Discourse Server</a>.
-<h3>Related Packages</h3>
-<p>Users who are interested in displaying their images at video game rates on a wide number of platforms and graphic environments (e.g. Windows, X11, BeOS, and Linux/CGI) may want to try <a href="http://www.simplesystems.org/PtcMagick/">PtcMagick</a>, which provides a simple interface between Magick++ and <a href="http://www.gaffer.org/ptc/">OpenPTC</a>.</p>
-</body>
-</html>
+<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2//EN">
+<HTML>
+<HEAD>
+       <META HTTP-EQUIV="CONTENT-TYPE" CONTENT="text/html; charset=ibm437">
+       <TITLE>Magick++ -- C++ API for ImageMagick</TITLE>
+       <META NAME="GENERATOR" CONTENT="StarOffice 6.0  (Solaris Sparc)">
+       <META NAME="AUTHOR" CONTENT="Bob Friesenhahn">
+       <META NAME="CREATED" CONTENT="20020805;13455306">
+       <META NAME="CHANGEDBY" CONTENT="Bob Friesenhahn">
+       <META NAME="CHANGED" CONTENT="20030528;11224400">
+       <META NAME="DESCRIPTION" CONTENT="C++ API for ImageMagick">
+<link rel=stylesheet type=text/css href="magick.css">
+</HEAD>
+<BODY LANG="en-US" TEXT="#000000" LINK="#0000ee" VLINK="#551a8b" BGCOLOR="#ffffff">
+<P ALIGN=CENTER><IMG SRC="Magick++.png" NAME="Graphic1" ALIGN=BOTTOM WIDTH=464 HEIGHT=134 BORDER=0></P>
+<P>Magick++ is the object-oriented C++ API to the <A HREF="http://www.imagemagick.org/">ImageMagick</A>
+image-processing library, the most comprehensive open-source image
+processing package available. Read the latest <A HREF="http://www.imagemagick.org">NEWS</A>
+and <A HREF="http://magick.imagemagick.org/script/changelog.php">ChangeLog</A> for Magick++. 
+</P>
+<P><IMG SRC="logo.png" NAME="Graphic2" ALIGN=RIGHT WIDTH=85 HEIGHT=88 BORDER=0>Magick++
+supports an object model which is inspired by <A HREF="http://www.imagemagick.org/script/perl-magick.php">PerlMagick</A>.
+Images support implicit reference counting so that copy constructors
+and assignment incur almost no cost. The cost of actually copying an
+image (if necessary) is done just before modification and this copy
+is managed automagically by Magick++. De-referenced copies are
+automagically deleted. The image objects support value (rather than
+pointer) semantics so it is trivial to support multiple generations
+of an image in memory at one time. 
+</P>
+<P>Magick++ provides integrated support for the <A HREF="http://www.sgi.com/tech/stl/">Standard
+Template Library</A> (STL) so that the powerful containers available
+(e.g. <A HREF="http://www.sgi.com/tech/stl/Deque.html">deque</A>,
+<A HREF="http://www.sgi.com/tech/stl/Vector.html">vector</A>, <A HREF="http://www.sgi.com/tech/stl/List.html">list</A>,
+and <A HREF="http://www.sgi.com/tech/stl/Map.html">map</A>)&nbsp; can
+be used to write programs similar to those possible with PERL &amp;
+PerlMagick. STL-compatible template versions of ImageMagick's
+list-style operations are provided so that operations may be
+performed on multiple images stored in STL containers. 
+</P>
+<H3>Documentation</H3>
+<P>Detailed <A HREF="Documentation.html">documentation</A> is
+provided for all Magick++ classes, class methods, and template
+functions which comprise the API.  See a <a href="http://www.imagemagick.org/Magick++/tutorial/Magick++_tutorial.pdf" target="<?php echo rand()?>">  Gentle Introduction to Magick++</a> for an introductory tutorial to Magick++.  We include the <a href="http://www.imagemagick.org/Magick++/tutorial/Magick++_tutorial.odt" target="<?php echo rand()?>">source</a> if you want to correct, enhance, or expand the tutorial.</p>
+</P>
+<H3>Obtaining Magick++</H3>
+<P>Magick++ is included as part of <A HREF="../../index.html">ImageMagick</A>
+source releases and may be retrieved via <A HREF="http://www.imagemagick.org/script/download.php">ftp</A>
+or <A HREF="http://www.imagemagick.org/script/subversion.php">Subversion</A>.
+</P>
+<H3>Installation</H3>
+<P>Once you have the Magick++ sources available, follow these detailed
+<A HREF="Install.html">installation instructions</A> for UNIX and
+Windows. 
+</P>
+<P><B><FONT SIZE=4>Usage</FONT></B> 
+</P>
+<P>A helper script named <I>Magick++-config</I> is installed
+under Unix which assists with recalling compilation options required
+to compile and link programs which use Magick++. For example, the
+following command will compile and link the source file <I>example.cpp</I>
+to produce the executable <I>example</I> (notice that quotes are
+backward quotes): 
+</P>
+<BLOCKQUOTE><TT><FONT SIZE=2>c++ -o example example.cpp
+`Magick++-config --cppflags --cxxflags --ldflags --libs`</FONT></TT></BLOCKQUOTE>
+<P>Windows users may get started by manually editing a project file
+for one of the Magick++ demo programs. 
+</P>
+<P><B>Please note that under Windows (and possibly the Mac) it is
+necessary to initialize the ImageMagick library prior to using the
+Magick++ library</B>. This initialization is performed by passing the
+path to the ImageMagick DLLs (assumed to be in the same directory
+as your program) to the InitializeMagick() function call. This is
+commonly performed by providing the path to your program (argv[0]) as
+shown in the following example: 
+</P>
+<BLOCKQUOTE><TT><FONT COLOR="#663366">int main( ssize_t /*argc*/, char **
+argv)</FONT></TT> <BR><TT><FONT COLOR="#663366">{</FONT></TT> <BR><TT><FONT COLOR="#663366">&nbsp;
+InitializeMagick(*argv);</FONT></TT></BLOCKQUOTE>
+<P>This initialization step is not required under Unix, Linux,
+Cygwin, or any other operating environment that supports the notion
+of &quot;installing&quot; ImageMagick in a known location. 
+</P>
+<H3>Reporting Bugs</H3>
+<P>Please report any bugs via the
+<A HREF="http://www.imagemagick.org/discourse-server/viewforum.php?f=3">Magick++ bug tracking forum</A>.
+Questions regarding usage should be directed to 
+<A HREF="http://www.imagemagick.org/discourse-server/viewforum.php?f=1">Magick++ discussion forum</A>.
+</P>
+<H3>Related Packages</H3>
+<P>Users who are interested in displaying their images at video game
+rates on a wide number of platforms and graphic environments (e.g.
+Windows, X11, BeOS, and Linux/CGI) may want to try PtcMagick,
+which provides a simple interface between Magick++ and <A HREF="http://www.gaffer.org/ptc/">OpenPTC</A>.
+</P>
+</BODY>
+</HTML>