|
MagickCore
6.7.5
|
#include "MagickCore/studio.h"#include "MagickCore/annotate.h"#include "MagickCore/client.h"#include "MagickCore/color.h"#include "MagickCore/composite.h"#include "MagickCore/constitute.h"#include "MagickCore/decorate.h"#include "MagickCore/draw.h"#include "MagickCore/effect.h"#include "MagickCore/enhance.h"#include "MagickCore/exception.h"#include "MagickCore/exception-private.h"#include "MagickCore/fx.h"#include "MagickCore/gem.h"#include "MagickCore/geometry.h"#include "MagickCore/image.h"#include "MagickCore/image-private.h"#include "MagickCore/list.h"#include "MagickCore/memory_.h"#include "MagickCore/monitor.h"#include "MagickCore/monitor-private.h"#include "MagickCore/montage.h"#include "MagickCore/option.h"#include "MagickCore/pixel.h"#include "MagickCore/quantize.h"#include "MagickCore/property.h"#include "MagickCore/resize.h"#include "MagickCore/resource_.h"#include "MagickCore/string_.h"#include "MagickCore/utility.h"#include "MagickCore/utility-private.h"#include "MagickCore/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 size_t number_images, ssize_t *x_offset, ssize_t *y_offset, size_t *tiles_per_column, size_t *tiles_per_row) |
| static ssize_t | MagickMax (const ssize_t x, const ssize_t y) |
| static ssize_t | MagickMin (const ssize_t x, const ssize_t 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 103 of file montage.c.
References AcquireMagickMemory(), ThrowFatalException, ResourceLimitFatalError, GetMontageInfo(), _MontageInfo::geometry, AcquireString(), _MontageInfo::tile, _MontageInfo::title, _MontageInfo::frame, _MontageInfo::texture, _MontageInfo::font, _MontageInfo::pointsize, _MontageInfo::border_width, _MontageInfo::shadow, _MontageInfo::fill, _MontageInfo::stroke, _MontageInfo::background_color, _MontageInfo::border_color, _MontageInfo::matte_color, _MontageInfo::gravity, CopyMagickString(), _MontageInfo::filename, MaxTextExtent, _MontageInfo::debug, and IsEventLogging().
Referenced by PreviewImage().
| MagickExport MontageInfo* DestroyMontageInfo | ( | MontageInfo * | montage_info | ) |
Definition at line 165 of file montage.c.
References _MontageInfo::debug, MagickFalse, LogMagickEvent(), TraceEvent, GetMagickModule, _MontageInfo::signature, MagickSignature, _MontageInfo::geometry, RelinquishMagickMemory(), _MontageInfo::tile, DestroyString(), _MontageInfo::title, _MontageInfo::frame, _MontageInfo::texture, and _MontageInfo::font.
Referenced by PreviewImage().
| static void GetMontageGeometry | ( | char * | geometry, |
| const size_t | number_images, | ||
| ssize_t * | x_offset, | ||
| ssize_t * | y_offset, | ||
| size_t * | tiles_per_column, | ||
| size_t * | tiles_per_row | ||
| ) | [static] |
Definition at line 273 of file montage.c.
References GetGeometry().
Referenced by MontageImageList().
| MagickExport void GetMontageInfo | ( | const ImageInfo * | image_info, |
| MontageInfo * | montage_info | ||
| ) |
Definition at line 215 of file montage.c.
References _ImageInfo::signature, MagickSignature, _ImageInfo::debug, MagickFalse, LogMagickEvent(), TraceEvent, GetMagickModule, _ImageInfo::filename, ResetMagickMemory(), CopyMagickString(), _MontageInfo::filename, MaxTextExtent, _MontageInfo::geometry, AcquireString(), DefaultTileGeometry, _ImageInfo::font, _MontageInfo::font, _MontageInfo::gravity, CenterGravity, _MontageInfo::pointsize, _ImageInfo::pointsize, _MontageInfo::fill, _PixelInfo::alpha, OpaqueAlpha, _MontageInfo::stroke, TransparentAlpha, _MontageInfo::background_color, _ImageInfo::background_color, _MontageInfo::border_color, _ImageInfo::border_color, _MontageInfo::matte_color, _ImageInfo::matte_color, _MontageInfo::debug, IsEventLogging(), and _MontageInfo::signature.
Referenced by CloneMontageInfo().
| static ssize_t MagickMax | ( | const ssize_t | x, |
| const ssize_t | y | ||
| ) | [inline, static] |
Definition at line 290 of file montage.c.
Referenced by MontageImageList().
| static ssize_t MagickMin | ( | const ssize_t | x, |
| const ssize_t | y | ||
| ) | [inline, static] |
Definition at line 297 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 338 of file montage.c.
References MaxTextExtent, _Image::signature, MagickSignature, _Image::debug, MagickFalse, LogMagickEvent(), TraceEvent, GetMagickModule, _Image::filename, _MontageInfo::signature, _ExceptionInfo::signature, GetImageListLength(), ImageListToArray(), ThrowImageException, ResourceLimitError, NewImageList(), CloneImage(), MagickTrue, ParseAbsoluteGeometry(), _Image::page, SetImageProgressMonitor(), _Image::client_data, ParseRegionGeometry(), _MontageInfo::geometry, ThumbnailImage(), _RectangleInfo::width, _RectangleInfo::height, SetImageProgress(), TileImageTag, DestroyImage(), RelinquishMagickMemory(), SceneCompare(), _MontageInfo::tile, GetMontageGeometry(), SetGeometry(), _RectangleInfo::x, _MontageInfo::border_width, _RectangleInfo::y, GetGeometry(), RhoValue, SigmaValue, _MontageInfo::frame, ResetMagickMemory(), _FrameInfo::width, _FrameInfo::height, FormatLocaleString(), ParseMetaGeometry(), _FrameInfo::outer_bevel, _FrameInfo::inner_bevel, HeightValue, XiValue, PsiValue, _FrameInfo::x, _FrameInfo::y, MagickMax(), _Image::columns, _Image::rows, CloneImageInfo(), _ImageInfo::background_color, _MontageInfo::background_color, _ImageInfo::border_color, _MontageInfo::border_color, CloneDrawInfo(), _MontageInfo::font, CloneString(), _DrawInfo::font, _MontageInfo::pointsize, _DrawInfo::pointsize, _DrawInfo::gravity, CenterGravity, _DrawInfo::stroke, _MontageInfo::stroke, _DrawInfo::fill, _MontageInfo::fill, _DrawInfo::text, AcquireString(), GetTypeMetrics(), _MontageInfo::texture, CopyMagickString(), _ImageInfo::filename, ReadImage(), InterpretImageProperties(), _MontageInfo::title, _TypeMetric::ascent, _TypeMetric::descent, MultilineCensus(), GetImageProperty(), AcquireImage(), _Image::background_color, _Image::scene, _MontageInfo::shadow, _MontageInfo::filename, SetImageBackgroundColor(), _Image::montage, MagickMin(), _Image::directory, AcquireQuantumMemory(), ConcatenateMagickString(), TextureImage(), _DrawInfo::geometry, AnnotateImage(), DestroyDrawInfo(), BorderImage(), _Image::compose, DstOutCompositeOp, SetPixelChannelMapMask(), AlphaChannel, NegateImage(), DefaultChannels, _Image::gravity, _MontageInfo::gravity, UndefinedGravity, ParseGravityGeometry(), FrameImage(), LocaleCompare(), _Image::magick, QueryColorCompliance(), AllCompliance, ShadowImage(), CompositeImage(), OverCompositeOp, _Image::progress_monitor, MontageImageTag, AcquireNextImage(), GetNextImageInList(), DestroyImageList(), DestroyImageInfo(), and GetFirstImageInList().
Referenced by MontageImages().
| MagickExport Image* MontageImages | ( | const Image * | images, |
| const MontageInfo * | montage_info, | ||
| ExceptionInfo * | exception | ||
| ) |
Definition at line 323 of file montage.c.
References AcquireImageInfo(), MontageImageList(), and DestroyImageInfo().
Referenced by PreviewImage().
| static int SceneCompare | ( | const void * | x, |
| const void * | y | ||
| ) | [static] |
Definition at line 308 of file montage.c.
Referenced by MontageImageList().