From: Cristy Date: Sat, 16 Dec 2017 15:17:49 +0000 (-0500) Subject: Update documentation X-Git-Tag: 7.0.7-15~7 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=a7050406097d131568b4dc846025b801a1a07827;p=imagemagick Update documentation --- diff --git a/images/wizard.jpg b/images/wizard.jpg index 3b634b4ce..e8477b97f 100644 Binary files a/images/wizard.jpg and b/images/wizard.jpg differ diff --git a/index.html b/index.html index 1db8dbd1d..05d5aef94 100644 --- a/index.html +++ b/index.html @@ -62,7 +62,7 @@
- +
@@ -273,4 +273,4 @@ Use ImageMagick<\/script>') - \ No newline at end of file + \ No newline at end of file diff --git a/www/ImageMagickObject.html b/www/ImageMagickObject.html index eff5cc5f9..efbfb54f9 100644 --- a/www/ImageMagickObject.html +++ b/www/ImageMagickObject.html @@ -62,7 +62,7 @@
- +
@@ -150,4 +150,4 @@ BuildImageMagickObject release - \ No newline at end of file + \ No newline at end of file diff --git a/www/Magick++/Blob.html b/www/Magick++/Blob.html index 4e61635de..a309e6c53 100644 --- a/www/Magick++/Blob.html +++ b/www/Magick++/Blob.html @@ -4,7 +4,7 @@ Magick++ API: Working with Blobs - +
diff --git a/www/Magick++/CoderInfo.html b/www/Magick++/CoderInfo.html index 6cd07dd21..dfab62a84 100644 --- a/www/Magick++/CoderInfo.html +++ b/www/Magick++/CoderInfo.html @@ -4,7 +4,7 @@ Magick++ API: Access Raw Image Pixels - +
diff --git a/www/Magick++/Color.html b/www/Magick++/Color.html index 4a38b9f9a..fe7ee4a76 100644 --- a/www/Magick++/Color.html +++ b/www/Magick++/Color.html @@ -4,7 +4,7 @@ Magick++ API: Working with Color - +
diff --git a/www/Magick++/Drawable.html b/www/Magick++/Drawable.html index 4b619c73f..71d12b218 100644 --- a/www/Magick++/Drawable.html +++ b/www/Magick++/Drawable.html @@ -4,12 +4,12 @@ Magick++ API: Drawing on Images - +

Magick::Drawable

-

Drawable provides a convenient interface for preparing vector, image, or text arguments for the Image::draw() method. Each instance of a Drawable sub-class represents a single drawable object. Drawable objects may be drawn "one-by-one" via multiple invocations of the Image draw() method, or may be drawn "all-at-once" by passing a list of Drawable objects to the Image draw() method. The one-by-one approach is convenient for simple drawings, while the list-based approach is appropriate for drawings which require more sophistication.

+

Drawable provides a convenient interface for preparing vector, image, or text arguments for the Image::draw() method. Each instance of a Drawable sub-class represents a single drawable object. Drawable objects may be drawn "one-by-one" via multiple invocations of the Image draw() method, or may be drawn "all-at-once" by passing a list of Drawable objects to the Image draw() method. The one-by-one approach is convenient for simple drawings, while the list-based approach is appropriate for drawings which require more sophistication.

The following is an example using the Drawable subclasses with a one-by-one approach to draw the following figure:

Magick++ API: Enumerations - +

diff --git a/www/Magick++/Exception.html b/www/Magick++/Exception.html index e2ff91fa3..b582f448a 100644 --- a/www/Magick++/Exception.html +++ b/www/Magick++/Exception.html @@ -4,7 +4,7 @@ Magick++ API: Exceptions - +
diff --git a/www/Magick++/FormatCharacters.html b/www/Magick++/FormatCharacters.html index bb2374fa7..2fddc13c2 100644 --- a/www/Magick++/FormatCharacters.html +++ b/www/Magick++/FormatCharacters.html @@ -4,12 +4,12 @@ Magick++ API: Annotating an Image - +

Special Format Characters

-

The Magick::Image methods annotate, draw, label, and the template function montageImages support special format characters contained in the argument text. These format characters work similar to C's printf. Whenever a format character appears in the text, it is replaced with the equivalent attribute text. The available format characters are shown in the following table.

+

The Magick::Image methods annotate, draw, label, and the template function montageImages support special format characters contained in the argument text. These format characters work similar to C's printf. Whenever a format character appears in the text, it is replaced with the equivalent attribute text. The available format characters are shown in the following table.


Format Characters

diff --git a/www/Magick++/Geometry.html b/www/Magick++/Geometry.html index 5b409d390..cfb6bcf7f 100644 --- a/www/Magick++/Geometry.html +++ b/www/Magick++/Geometry.html @@ -4,7 +4,7 @@ Magick++ API: Geometry - +
diff --git a/www/Magick++/Image++.html b/www/Magick++/Image++.html index 6f7d166e8..ad3fa059c 100644 --- a/www/Magick++/Image++.html +++ b/www/Magick++/Image++.html @@ -4,7 +4,7 @@ Magick++ API: Working with Images - +
@@ -22,8 +22,8 @@ Methods Access

Image is the primary object in Magick++ and represents -a single image frame (see design ). The -STL interface must be used to operate on +a single image frame (see design ). The +STL interface must be used to operate on image sequences or images (e.g. of format GIF, TIFF, MIFF, Postscript, & MNG) which are comprized of multiple image frames. Individual frames of a multi-frame image may be requested by adding array-style @@ -31,7 +31,7 @@ notation to the end of the file name (e.g. "animation.gif[3]" retrieves the fourth frame of a GIF animation.  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 Pixels class provides low-level access to + href="Pixels.html"> Pixels class provides low-level access to image pixels. As a convenience, including <Magick++.h> is sufficient in order to use the complete Magick++ API. The Magick++ @@ -159,7 +159,7 @@ 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 Blob class. The encoded +represented using the Blob 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 @@ -218,7 +218,7 @@ image.read( blob);

Image may be constructed in a number of ways. It may be constructed from a file, a URL, or an encoded image (e.g. JPEG) contained in an -in-memory BLOB . The available Image +in-memory BLOB . The available Image constructors are shown in the following table:
 
  @@ -240,15 +240,15 @@ to select a specific scene from a multi-frame image.
const Geometry &size_, const Color &color_ + href="Color.html"> Color &color_
Construct a blank image canvas of specified size and color const Blob &blob_ + href="Blob.html">Blob &blob_ Construct Image by reading from -encoded image data contained in an in-memory BLOB +encoded image data contained in an in-memory BLOB . Depending on the constructor arguments, the Blob size , depth , magick (format) may @@ -261,22 +261,22 @@ When a format can't be automagically detected, the format (magick ) must be specified. - const Blob -&blob_, const Geometry &size_ + const Blob +&blob_, const Geometry &size_ - const Blob -&blob_, const Geometry &size, + const Blob +&blob_, const Geometry &size, size_t depth - const Blob -&blob_, const Geometry &size, + const Blob +&blob_, const Geometry &size, size_t depth_, const string &magick_ - const Blob -&blob_, const Geometry &size, + const Blob +&blob_, const Geometry &size, const string &magick_ @@ -284,7 +284,7 @@ string &magick_ const size_t width_, 
const size_t height_,
std::string map_,
- const + const StorageType type_,
const void *pixels_ Construct a new Image based on an array of @@ -316,7 +316,7 @@ order of the pixels in the supplied pixel array. type_ - Pixel + Pixel storage type (CharPixel, ShortPixel, IntegerPixel, FloatPixel, or DoublePixel) @@ -341,7 +341,7 @@ Methods image-list) manipulation operations provided by the ImageMagick library. If you must process a multi-image file (such as an animation), the STL interface , which provides a multi-image + href="STL.html"> STL interface , which provides a multi-image abstraction on top of Image, must be used.

Image manipulation methods are very easy to use.  For example:

@@ -385,7 +385,7 @@ compute the threshold.
addNoise
- NoiseType + NoiseType noiseType_ Add noise to image with specified noise type. @@ -419,13 +419,13 @@ specified affine (or free transform) matrix.
annotate
const std::string &text_, const Geometry &location_ + href="Geometry.html"> Geometry &location_
Annotate using specified text, and placement location - string text_, const Geometry -&boundingArea_, GravityType + string text_, const Geometry +&boundingArea_, GravityType gravity_ Annotate using specified text, bounding area, and placement gravity. If boundingArea_ is invalid, then @@ -433,8 +433,8 @@ bounding area is entire image. const std::string &text_, const Geometry &boundingArea_, GravityType gravity_, double + href="Geometry.html"> Geometry &boundingArea_, GravityType gravity_, double degrees_,  Annotate with text using specified text, bounding area, placement gravity, and rotation. If boundingArea_ @@ -442,7 +442,7 @@ is invalid, then bounding area is entire image. const std::string &text_, GravityType gravity_ + href="Enumerations.html#GravityType"> GravityType gravity_ Annotate with text (bounding area is entire image) and placement gravity. @@ -477,7 +477,7 @@ deviation of the Laplacian, in pixels.
border
- const Geometry + const Geometry &geometry_ = "6x6+0+0" Border image (add border to image).  The color of the border is specified by the borderColor attribute. @@ -493,7 +493,7 @@ color of the border is specified by the borderColor attribute.
channel
- ChannelType + ChannelType layer_ Extract channel from image. Use this option to extract a particular channel from  the image.  MatteChannel @@ -515,7 +515,7 @@ parameter specifies the standard deviation of the Laplacian, in pixels.
chop
- const Geometry + const Geometry &geometry_ Chop image (remove vertical or horizontal subregion of image) @@ -547,7 +547,7 @@ image).  By default, each image is commented with its file name. Use  this  method to  assign a specific comment to the image.  Optionally you can include the image filename, type, width, height, or other  image  attributes by embedding special format characters. + href="FormatCharacters.html">special format characters.

const
Image &compositeImage_, ssize_t xOffset_, ssize_t yOffset_, CompositeOperator + href="Enumerations.html#CompositeOperator"> CompositeOperator compose_ = InCompositeOp Compose an image onto the current image at offset specified by xOffset_, yOffset_ using the @@ -579,8 +579,8 @@ composition algorithm specified by compose_ const Image -&compositeImage_, const Geometry -&offset_, CompositeOperator +&compositeImage_, const Geometry +&offset_, CompositeOperator compose_ = InCompositeOp Compose an image onto the current image at offset specified by offset_ using the composition algorithm @@ -588,8 +588,8 @@ specified by compose_ const Image -&compositeImage_, GravityType -gravity_, CompositeOperator +&compositeImage_, GravityType +gravity_, CompositeOperator compose_ = InCompositeOp Compose an image onto the current image with placement specified by gravity_ using the composition @@ -619,7 +619,7 @@ kernel to apply.
crop
- const Geometry + const Geometry &geometry_ Crop image (subregion of original image) @@ -660,12 +660,12 @@ distortion to the image.
draw
- const Drawable + const Drawable &drawable_ Draw shape or text on image. - const std::list<Drawable + const std::list<Drawable > &drawable_ Draw shapes or text on image using a set of Drawable objects contained in an STL list. Use of this method improves @@ -717,22 +717,22 @@ background color.
extent
- const Geometry &geometry_ + const Geometry &geometry_ extends the image as defined by the geometry, gravity, and image background color. - const Geometry -&geometry_, const Color &backgroundColor_ + const Geometry +&geometry_, const Color &backgroundColor_ - const Geometry &geometry_, const GravityType + const Geometry &geometry_, const GravityType &gravity_ extends the image as defined by the geometry, gravity, and image background color. - const Geometry -&geometry_, const Color &backgroundColor_, -const GravityType &gravity_ + const Geometry +&geometry_, const Color &backgroundColor_, +const GravityType &gravity_ @@ -749,28 +749,28 @@ vertical direction) Color ssize_t x_, ssize_t y_, const Color &fillColor_ + href="Color.html"> Color &fillColor_
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. - const Geometry -&point_, const Color &fillColor_ + const Geometry +&point_, const Color &fillColor_ ssize_t x_, ssize_t y_, const Color &fillColor_, const Color + href="Color.html"> Color &fillColor_, const Color &borderColor_ 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. - const Geometry -&point_, const Color &fillColor_, -const Color &borderColor_ + const Geometry +&point_, const Color &fillColor_, +const Color &borderColor_ - const Geometry + const Geometry &point_, const Image &texture_ ssize_t x_, ssize_t y_, const Image -&texture_, const Color &borderColor_ +&texture_, const Color &borderColor_ 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. - const Geometry -&point_, const Image &texture_, const + const Geometry +&point_, const Image &texture_, const Color &borderColor_ @@ -822,7 +822,7 @@ horizontal direction)
frame
- const Geometry + const Geometry &geometry_ = "25x25+6+6" Add decorative frame around image @@ -910,7 +910,7 @@ specified by 'sigma_'. Assign a label to an image. Use this option to  assign  a  specific label to the image. Optionally you can include the image filename, type, width, height, or scene -number in the label by embedding  +number in the label by embedding  special format characters. If the first character of string is @, the image label is read from a file titled by the remaining characters in @@ -984,10 +984,10 @@ with this option.
matteFloodfill
- const Color + const Color &target_, const unsigned int  opacity_, const ssize_t x_, const ssize_t -y_, PaintMethod method_ +y_, PaintMethod method_ Floodfill designated area with a replacement opacity value. @@ -1002,7 +1002,7 @@ component with the median color in a circular neighborhood
mergeLayers
- LayerMethod + LayerMethod noiseType_ handle multiple images forming a set of image layers or animation frames. @@ -1094,8 +1094,8 @@ respectively.
opaque
- const Color -&opaqueColor_, const Color &penColor_ + const Color +&opaqueColor_, const Color &penColor_ Change color of pixels matching opaqueColor_ to specified penColor_. @@ -1143,7 +1143,7 @@ measureError_ to true in order to calculate error attributes.
raise
- const Geometry + const Geometry &geometry_ = "6x6+0+0",  bool raisedFlag_ =  false Raise image (lighten or darken the edges of an image to give a 3-D raised or lowered effect) @@ -1156,7 +1156,7 @@ an image to give a 3-D raised or lowered effect) Read image into current object - const Geometry + const Geometry &size_, const std::string &imageSpec_ Read image of specified size into current object. This form is useful for images that do not specifiy their size @@ -1166,9 +1166,9 @@ 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. - const Blob &blob_ + const Blob &blob_ Read encoded image of specified -size from an in-memory BLOB into current +size from an in-memory BLOB 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 @@ -1179,22 +1179,22 @@ When a format can't be automagically detected, the format must be specified. - const Blob -&blob_, const Geometry &size_ + const Blob +&blob_, const Geometry &size_ - const Blob -&blob_, const Geometry &size_, + const Blob +&blob_, const Geometry &size_, size_t depth_ - const Blob -&blob_, const Geometry &size_, + const Blob +&blob_, const Geometry &size_, size_t depth_, const string &magick_  - const Blob -&blob_, const Geometry &size_, + const Blob +&blob_, const Geometry &size_, const string &magick_ @@ -1300,7 +1300,7 @@ number of degrees.
sample
- const Geometry + const Geometry &geometry_  Resize image by using pixel sampling algorithm @@ -1308,7 +1308,7 @@ number of degrees.
scale
- const Geometry + const Geometry &geometry_ Resize image by using simple ratio algorithm @@ -1415,7 +1415,7 @@ exposing a photographic film to light during the development process)
splice
- const Geometry + const Geometry &geometry_ splice the background color into the image @@ -1484,21 +1484,21 @@ background color.
transform
- const Geometry + const Geometry &imageGeometry_ Transform image based on image and crop geometries. Crop geometry is optional. - const Geometry -&imageGeometry_, const Geometry + const Geometry +&imageGeometry_, const Geometry &cropGeometry_ 
transparent
- const Color + const Color &color_ Add matte image to image, setting pixels matching color to transparent. @@ -1569,9 +1569,9 @@ original image will be quantized to fewer colors. Use a copy of the original if this is a problem. - Blob *blob_ + Blob *blob_ Write image to a in-memory BLOB stored in blob_. The magick_ + href="Blob.html"> BLOB stored in blob_. The magick_ parameter specifies the image format to write (defaults to magick ). The depth_ parameter species the image depth (defaults to depth ).
@@ -1582,11 +1582,11 @@ original image will be quantized to fewer colors. Use a copy of the original if this is a problem.
- Blob *blob_, + Blob *blob_, std::string &magick_ - Blob *blob_, + Blob *blob_, std::string &magick_, size_t depth_ @@ -1651,7 +1651,7 @@ values and type_ parameters.
resize
- const Geometry + const Geometry &geometry_ Resize image to specified size. @@ -1767,9 +1767,9 @@ similar to "EXIF:DateTime".

Color - Color + Color void - const Color + const Color &color_ Image background color @@ -1816,9 +1816,9 @@ texture. Does not modify image pixels.
borderColor
- Color + Color void -  const Color +  const Color &color_ Image border color @@ -1836,9 +1836,9 @@ crop(Geometry(0,0)).
boxColor
- Color + Color void - const Color + const Color &boxColor_ Base color that annotation text is rendered on. @@ -1933,10 +1933,10 @@ y=0.329)
classType
- ClassType + ClassType void -  ClassType +  ClassType class_ Image storage class.  Note that conversion from a DirectClass image to a PseudoClass image may result @@ -1972,10 +1972,10 @@ are close to the target color in RGB space.
colorMap
- Color + Color size_t index_ size_t index_, const Color &color_ + href="Color.html"> Color &color_
Color at colormap index. @@ -2003,10 +2003,10 @@ ensure that the image colormap indexes reference valid colormap entries.
<
colorSpace
- ColorspaceType + ColorspaceType colorSpace_ void - ColorspaceType + ColorspaceType colorSpace_ The colorspace (e.g. CMYK) used to represent the image pixel colors. Image pixels are always stored as RGB(A) except @@ -2034,11 +2034,11 @@ for the case of CMY(K).
compose
- CompositeOperator + CompositeOperator void CompositeOperator + href="Enumerations.html#CompositeOperator">CompositeOperator compose_ Composition operator to be used when composition is implicitly used (such as for image flattening). @@ -2049,11 +2049,11 @@ composition is implicitly used (such as for image flattening).
Type - CompressionType + CompressionType void CompressionType + href="Enumerations.html#CompressionType">CompressionType compressType_ Image compresion type. The default is the compression type of the specified image file. @@ -2119,10 +2119,10 @@ exists.
density
- Geometry   + Geometry   (default 72x72) void - const Geometry + const Geometry &density_ Vertical and horizontal resolution in pixels of the image. This option specifies an image density when decoding a @@ -2144,10 +2144,10 @@ ImageMagick is compiled with.
endian
- EndianType + EndianType void - EndianType + EndianType endian_ Specify (or obtain) endian option for formats which support it. @@ -2211,7 +2211,7 @@ objects.
fillRule
- FillRule + FillRule void const Magick::FillRule &fillRule_ @@ -2221,10 +2221,10 @@ objects.
filterType
- FilterTypes + FilterTypes void - FilterTypes + FilterTypes filterType_ Filter to use when resizing image. The reduction filter employed has a sigificant effect on the time required @@ -2258,9 +2258,9 @@ server. To use a TrueType font, precede the TrueType filename with an
fontTypeMetrics
- TypeMetric + TypeMetric const std::string &text_, TypeMetric *metrics + href="TypeMetric.html"> TypeMetric *metrics
  Update metrics with font type metrics using specified text, and current font and
geometry
- Geometry + Geometry void   Preferred size of the image when encoding. @@ -2319,12 +2319,12 @@ disposed of) when creating a GIF animation.
iccColorProfile
- Blob + Blob void - const Blob + const Blob &colorProfile_ ICC color profile. Supplied via a Blob since Magick++/ and ImageMagick do not + href="Blob.html"> Blob since Magick++/ and ImageMagick do not currently support formating this data structure directly.  Specifications are available from the International Color Consortium for the format of ICC color profiles. @@ -2335,10 +2335,10 @@ International Color Consortium for the format of ICC color profiles.<
Type - InterlaceType + InterlaceType void - InterlaceType + InterlaceType interlace_ The type of interlacing scheme (default NoInterlace ). This option is used to specify the type of  interlacing @@ -2355,12 +2355,12 @@ image.
iptcProfile
- Blob + Blob void - const Blob & + const Blob & iptcProfile_ IPTC profile. Supplied via a Blob since Magick++ and ImageMagick do not + href="Blob.html"> Blob since Magick++ and ImageMagick do not currently  support formating this data structure directly. Specifications are available from the International Press Telecommunications Council for IPTC profiles. @@ -2398,9 +2398,9 @@ an opaque one.
matteColor
- Color + Color void - const Color + const Color &matteColor_ Image matte (frame) color @@ -2455,7 +2455,7 @@ using this method.

Geometry - Geometry + Geometry void   Tile size and offset within an image montage. @@ -2492,11 +2492,11 @@ is set to true and the image has just been quantized. name="orientation">orientation
OrientationType + href="Enumerations.html#OrientationType">OrientationType void
OrientationType + href="Enumerations.html#OrientationType">OrientationType orientation_ Image orientation.  Supported by some file formats such as DPX and TIFF. Useful for @@ -2527,11 +2527,11 @@ turning the right way up.
page
- Geometry + Geometry void const Geometry &pageSize_ + href="Geometry.html#PostscriptPageSize"> Geometry &pageSize_ Preferred size and location of an image canvas.

Use this option to specify the dimensions @@ -2546,10 +2546,10 @@ image (such as for a scene in an animation)

pixelColor
- Color + Color ssize_t x_, ssize_t y_ ssize_t x_, ssize_t y_, const Color &color_ + href="Color.html"> Color &color_
Get/set pixel color at location x & y. @@ -2557,7 +2557,7 @@ image (such as for a scene in an animation)

profile
- Blob
+
Blob
const std::string name_
@@ -2598,10 +2598,10 @@ option will have any duplicate or unused colors removed.
ColorSpace - ColorspaceType + ColorspaceType void - ColorspaceType + ColorspaceType colorSpace_ Colorspace to quantize colors in (default RGB). Empirical evidence suggests that distances in color spaces such @@ -2648,10 +2648,10 @@ may be used to manually adjust the tree depth.
Intent - RenderingIntent + RenderingIntent void - RenderingIntent + RenderingIntent render_ The type of rendering intent @@ -2661,10 +2661,10 @@ render_
Units - ResolutionType + ResolutionType void - ResolutionType + ResolutionType units_ Units of image resolution @@ -2700,9 +2700,9 @@ force re-computation of signature.
size
- Geometry + Geometry void - const Geometry + const Geometry &geometry_ Width and height of a raw image (an image which does not support width and height information).  Size may @@ -2877,11 +2877,11 @@ designed to support Unicode.

type
- ImageType + ImageType void ImageType + href="Enumerations.html#ImageType"> ImageType Image type. @@ -2906,11 +2906,11 @@ designed to support Unicode.

virtualPixelMethod
- VirtualPixelMethod + VirtualPixelMethod void VirtualPixelMethod + href="Enumerations.html#VirtualPixelMethod">VirtualPixelMethod virtualPixelMethod_ Image virtual pixel method. @@ -2947,7 +2947,7 @@ or to capture image from

Low-Level Image Pixel Access

-Image pixels (of type Quantum ) +Image pixels (of type Quantum ) may be accessed directly via the Image Pixel Cache .  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 @@ -2955,12 +2955,12 @@ disk). Two interfaces exist to access the Image Pixel Cache. The interface described here (part of the Image class) supports only -one view at a time. See the Pixels +one view at a time. See the Pixels 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 Pixels class as -stdio's gets() relates to fgets(). The Pixels +here relates to the Pixels class as +stdio's gets() relates to fgets(). The Pixels class provides the more general form of the interface.

Obtain existing image pixels via getPixels(). Create a new pixel region using setPixels().

@@ -2985,7 +2985,7 @@ representation according to the format specified by QuantumTypes.

may be accessed, addressed, and updated, as shown in the following example:

-cache
+cache
 Image image("cow.png"); 
 // Ensure that there are no other references to this image.
 image.modifyImage();
@@ -3026,7 +3026,7 @@ image.write("horse.png");
       
       
getConstPixels
- const Quantum + const Quantum * const ssize_t x_, const ssize_t y_, const size_t columns_, const size_t rows_ @@ -3081,7 +3081,7 @@ images, the indexes are used to contain the alpha channel.
getPixels
- Quantum * + Quantum * const ssize_t x_, const ssize_t y_, const size_t columns_, const size_t rows_ Transfers pixels from the image to the pixel @@ -3096,7 +3096,7 @@ user.
setPixels
- Quantum * + Quantum * const ssize_t x_, const ssize_t y_, const size_t columns_, const size_t rows_ Allocates a pixel cache region to store image @@ -3119,7 +3119,7 @@ should never be deallocated by the user.
readPixels
void - QuantumTypes + QuantumTypes quantum_, unsigned char *source_, Transfers one or more pixel components from a buffer or file into the image pixel cache of an image. ReadPixels is @@ -3131,7 +3131,7 @@ corresponds to the region set by a preceding setPixels call.
writePixels
void - QuantumTypes + QuantumTypes quantum_, unsigned char *destination_ Transfers one or more pixel components from the image pixel cache to a buffer or file. WritePixels is typically diff --git a/www/Magick++/ImageDesign.html b/www/Magick++/ImageDesign.html index 2e2703928..8473c92c8 100644 --- a/www/Magick++/ImageDesign.html +++ b/www/Magick++/ImageDesign.html @@ -4,7 +4,7 @@ Magick++ API: Design Principles - +
diff --git a/www/Magick++/Install.html b/www/Magick++/Install.html index 7370e0e0c..cbb023cb9 100644 --- a/www/Magick++/Install.html +++ b/www/Magick++/Install.html @@ -4,7 +4,7 @@ Magick++ API: Install Magick++ - +
diff --git a/www/Magick++/Montage.html b/www/Magick++/Montage.html index 5369b5e11..bbcf97a3a 100644 --- a/www/Magick++/Montage.html +++ b/www/Magick++/Montage.html @@ -4,19 +4,19 @@ Magick++ API: Montage - +

Magick::Montage Class

A montage is a single image which is composed of thumbnail images composed in a uniform grid. The size of the montage image is determined by the size of the individual thumbnails and the number of rows and columns in the grid.

The following illustration shows a montage consisting of three columns and two rows of thumbnails rendered on a gray background:

-

+

Montages may be either "plain" (undecorated thumbnails) or "framed" (decorated thumbnails). In order to more easily understand the options supplied to MontageImages(), montage options are supplied by two different classes: Magick::Montage and Magick::MontageFramed.

Plain Montages

Magick::Montage is the base class to provide montage options and provides methods to set all options required to render simple (unframed) montages. See Magick::MontageFramedif you would like to create a framed montage.

Unframed thumbnails consist of four components: the thumbnail image, the thumbnail border, an optional thumbnail shadow, and an optional thumbnail label area.

-

+

Montage Methods