#include "magick/studio.h"#include "magick/annotate.h"#include "magick/client.h"#include "magick/color.h"#include "magick/composite.h"#include "magick/constitute.h"#include "magick/decorate.h"#include "magick/draw.h"#include "magick/effect.h"#include "magick/enhance.h"#include "magick/exception.h"#include "magick/exception-private.h"#include "magick/fx.h"#include "magick/gem.h"#include "magick/geometry.h"#include "magick/image.h"#include "magick/image-private.h"#include "magick/list.h"#include "magick/memory_.h"#include "magick/monitor.h"#include "magick/monitor-private.h"#include "magick/montage.h"#include "magick/option.h"#include "magick/quantize.h"#include "magick/property.h"#include "magick/resize.h"#include "magick/resource_.h"#include "magick/string_.h"#include "magick/utility.h"#include "magick/version.h"
Go to the source code of this file.
Defines | |
| #define | MontageImageTag "Montage/Image" |
| #define | TileImageTag "Tile/Image" |
Functions | |
| MagickExport MontageInfo * | CloneMontageInfo (const ImageInfo *image_info, const MontageInfo *montage_info) |
| MagickExport MontageInfo * | DestroyMontageInfo (MontageInfo *montage_info) |
| MagickExport void | GetMontageInfo (const ImageInfo *image_info, MontageInfo *montage_info) |
| static void | GetMontageGeometry (char *geometry, const unsigned long number_images, long *x_offset, long *y_offset, unsigned long *tiles_per_column, unsigned long *tiles_per_row) |
| static long | MagickMax (const long x, const long y) |
| static long | MagickMin (const long x, const long y) |
| static int | SceneCompare (const void *x, const void *y) |
| MagickExport Image * | MontageImages (const Image *images, const MontageInfo *montage_info, ExceptionInfo *exception) |
| MagickExport Image * | MontageImageList (const ImageInfo *image_info, const MontageInfo *montage_info, const Image *images, ExceptionInfo *exception) |
| #define MontageImageTag "Montage/Image" |
Referenced by MontageImageList().
| #define TileImageTag "Tile/Image" |
Referenced by MontageImageList().
| MagickExport MontageInfo* CloneMontageInfo | ( | const ImageInfo * | image_info, | |
| const MontageInfo * | montage_info | |||
| ) |
Definition at line 101 of file montage.c.
References AcquireMagickMemory(), AcquireString(), _MontageInfo::background_color, _MontageInfo::border_color, _MontageInfo::border_width, CopyMagickString(), _MontageInfo::debug, _MontageInfo::filename, _MontageInfo::fill, _MontageInfo::font, _MontageInfo::frame, _MontageInfo::geometry, GetMontageInfo(), _MontageInfo::gravity, IsEventLogging(), _MontageInfo::matte_color, MaxTextExtent, _MontageInfo::pointsize, ResourceLimitFatalError, _MontageInfo::shadow, _MontageInfo::stroke, _MontageInfo::texture, ThrowFatalException, _MontageInfo::tile, and _MontageInfo::title.
Referenced by PreviewImage().
| MagickExport MontageInfo* DestroyMontageInfo | ( | MontageInfo * | montage_info | ) |
Definition at line 163 of file montage.c.
References _MontageInfo::debug, DestroyString(), _MontageInfo::font, _MontageInfo::frame, _MontageInfo::geometry, GetMagickModule, LogMagickEvent(), MagickFalse, MagickSignature, RelinquishMagickMemory(), _MontageInfo::signature, _MontageInfo::texture, _MontageInfo::tile, _MontageInfo::title, and TraceEvent.
Referenced by PreviewImage().
| static void GetMontageGeometry | ( | char * | geometry, | |
| const unsigned long | number_images, | |||
| long * | x_offset, | |||
| long * | y_offset, | |||
| unsigned long * | tiles_per_column, | |||
| unsigned long * | tiles_per_row | |||
| ) | [static] |
Definition at line 271 of file montage.c.
References GetGeometry().
Referenced by MontageImageList().
| MagickExport void GetMontageInfo | ( | const ImageInfo * | image_info, | |
| MontageInfo * | montage_info | |||
| ) |
Definition at line 213 of file montage.c.
References AcquireString(), _ImageInfo::background_color, _MontageInfo::background_color, _ImageInfo::border_color, _MontageInfo::border_color, CenterGravity, CopyMagickString(), _MontageInfo::debug, _ImageInfo::debug, DefaultTileGeometry, _MontageInfo::filename, _ImageInfo::filename, _MontageInfo::fill, _MontageInfo::font, _ImageInfo::font, _MontageInfo::geometry, GetMagickModule, _MontageInfo::gravity, IsEventLogging(), LogMagickEvent(), MagickFalse, MagickSignature, _ImageInfo::matte_color, _MontageInfo::matte_color, MaxTextExtent, _PixelPacket::opacity, OpaqueOpacity, _ImageInfo::pointsize, _MontageInfo::pointsize, ResetMagickMemory(), _MontageInfo::signature, _ImageInfo::signature, _MontageInfo::stroke, TraceEvent, and TransparentOpacity.
Referenced by CloneMontageInfo().
| static long MagickMax | ( | const long | x, | |
| const long | y | |||
| ) | [inline, static] |
Definition at line 288 of file montage.c.
Referenced by MontageImageList().
| static long MagickMin | ( | const long | x, | |
| const long | y | |||
| ) | [inline, static] |
Definition at line 295 of file montage.c.
Referenced by MontageImageList().
| MagickExport Image* MontageImageList | ( | const ImageInfo * | image_info, | |
| const MontageInfo * | montage_info, | |||
| const Image * | images, | |||
| ExceptionInfo * | exception | |||
| ) |
Definition at line 336 of file montage.c.
References AcquireImage(), AcquireNextImage(), AcquireQuantumMemory(), AcquireString(), AnnotateImage(), _TypeMetric::ascent, _Image::background_color, _MontageInfo::background_color, _ImageInfo::background_color, _MontageInfo::border_color, _ImageInfo::border_color, _MontageInfo::border_width, BorderImage(), CenterGravity, _Image::client_data, CloneDrawInfo(), CloneImage(), CloneImageInfo(), CloneString(), _Image::columns, _Image::compose, CompositeImage(), ConcatenateMagickString(), CopyMagickString(), _Image::debug, _TypeMetric::descent, DestroyDrawInfo(), DestroyImage(), DestroyImageInfo(), DestroyImageList(), _Image::directory, DstOutCompositeOp, _Image::exception, _MontageInfo::filename, _ImageInfo::filename, _Image::filename, _MontageInfo::fill, _DrawInfo::fill, _DrawInfo::font, _MontageInfo::font, FormatMagickString(), _MontageInfo::frame, FrameImage(), _DrawInfo::geometry, _MontageInfo::geometry, GetGeometry(), GetImageListLength(), GetImageProperty(), GetMagickModule, GetMontageGeometry(), GetNextImageInList(), GetPreviousImageInList(), GetTypeMetrics(), _MontageInfo::gravity, _Image::gravity, _DrawInfo::gravity, _FrameInfo::height, _RectangleInfo::height, HeightValue, ImageListToArray(), InheritException(), _FrameInfo::inner_bevel, InterpretImageProperties(), LocaleCompare(), LogMagickEvent(), _Image::magick, MagickFalse, MagickMax(), MagickMin(), MagickSignature, MagickTrue, MaxTextExtent, _Image::montage, MontageImageTag, MultilineCensus(), NegateImageChannel(), NewImageList(), OpacityChannel, _FrameInfo::outer_bevel, OverCompositeOp, _Image::page, ParseAbsoluteGeometry(), ParseGravityGeometry(), ParseMetaGeometry(), ParseRegionGeometry(), _DrawInfo::pointsize, _MontageInfo::pointsize, _Image::progress_monitor, PsiValue, QuantumTick(), QueryColorDatabase(), ReadImage(), RelinquishMagickMemory(), ResetMagickMemory(), ResourceLimitError, RhoValue, _Image::rows, _Image::scene, SceneCompare(), SetGeometry(), SetImageBackgroundColor(), SetImageProgress(), SetImageProgressMonitor(), _MontageInfo::shadow, ShadowImage(), SigmaValue, _ExceptionInfo::signature, _MontageInfo::signature, _Image::signature, _MontageInfo::stroke, _DrawInfo::stroke, _DrawInfo::text, _MontageInfo::texture, TextureImage(), ThrowImageException, ThumbnailImage(), _MontageInfo::tile, TileImageTag, _MontageInfo::title, TraceEvent, UndefinedGravity, _FrameInfo::width, _RectangleInfo::width, _FrameInfo::x, _RectangleInfo::x, XiValue, _FrameInfo::y, and _RectangleInfo::y.
Referenced by MontageImages().
| MagickExport Image* MontageImages | ( | const Image * | images, | |
| const MontageInfo * | montage_info, | |||
| ExceptionInfo * | exception | |||
| ) |
Definition at line 321 of file montage.c.
References AcquireImageInfo(), DestroyImageInfo(), and MontageImageList().
Referenced by PreviewImage().
| static int SceneCompare | ( | const void * | x, | |
| const void * | y | |||
| ) | [static] |
Definition at line 306 of file montage.c.
Referenced by MontageImageList().
1.6.1