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.
Un-framed thumbnails consist of four components: the thumbnail image,
the thumbnail border, an optional thumbnail shadow, and an optional thumbnail
label area.
|
|
|
|
|
void | Default constructor | |
|
void | const Color &backgroundColor_ | Specifies the background color that thumbnails are imaged upon. |
Color | void | ||
|
void | CompositeOperator compose_ | Specifies the image composition algorithm for thumbnails. This controls the algorithm by which the thumbnail image is placed on the background. Use of OverCompositeOp is recommended for use with images that have transparency. This option may have negative side-effects for images without transparency. |
CompositeOperator | void | ||
|
void | std::string fileName_ | Specifies the image filename to be used for the generated montage images. To handle the case were multiple montage images are generated, a printf-style format may be embedded within the filename. For example, a filename specification of image%02d.miff names the montage images as image00.miff, image01.miff, etc. |
std::string | void | ||
|
void | const Color &pen_ | Specifies the fill color to use for the label text. |
Color | void | ||
|
void | std::string font_ | Specifies the thumbnail label font. |
std::string | void | ||
|
void | const Geometry &geometry_ | Specifies the size of the generated thumbnail. |
Geometry | void | ||
|
void | GravityType gravity_ | Specifies the thumbnail positioning within the specified geometry area. If the thumbnail is smaller in any dimension than the geometry, then it is placed according to this specification. |
GravityType | void | ||
|
void | std::string label_ | Specifies the format used for the image label. Special format characters may be embedded in the format string to include information about the image. |
std::string | void | ||
|
void | const Color &pen_ | Specifies the pen color to use for the label text (same as fill). |
Color | void | ||
|
void | unsigned int pointSize_ | Specifies the thumbnail label font size. |
unsigned int | void | ||
|
void | bool shadow_ | Enable/disable drop-shadow on thumbnails. |
bool | void | ||
|
void | const Color &pen_ | Specifies the stroke color to use for the label text . |
Color | void | ||
|
void | std::string texture_ | Specifies a texture image to use as montage background. The built-in textures "granite:" and "plasma:" are available. A texture is the same as a background image. |
std::string | void | ||
|
void | const Geometry &tile_ | Specifies the maximum number of montage columns and rows in the montage. The montage is built by filling out all cells in a row before advancing to the next row. Once the montage has reached the maximum number of columns and rows, a new montage image is started. |
Geometry | void | ||
|
void | const Color &transparentColor_ | Specifies a montage color to set transparent. This option can be set the same as the background color in order for the thumbnails to appear without a background when rendered on an HTML page. For best effect, ensure that the transparent color selected does not occur in the rendered thumbnail colors. |
Color | void |
Framed thumbnails consist of four components: the thumbnail image, the
thumbnail frame, the thumbnail border, an optional thumbnail shadow, and
an optional thumbnail label area.
|
|
|
|
|
void | Default constructor (enable frame via frameGeometry). | |
|
void | const Color &borderColor_ | Specifies the background color within the thumbnail frame. |
Color | void | ||
|
void | unsigned int borderWidth_ | Specifies the border (in pixels) to place between a thumbnail and its surrounding frame. This option only takes effect if thumbnail frames are enabled (via frameGeometry) and the thumbnail geometry specification doesn't also specify the thumbnail border width. |
unsigned int | void | ||
|
void | const Geometry &frame_ | Specifies the geometry specification for frame to place around thumbnail. If this parameter is not specified, then the montage is un-framed. |
Geometry | void | ||
|
void | const Color &matteColor_ | Specifies the thumbnail frame color. |
Color | void |