MagickCore  7.0.7
Convert, Edit, Or Compose Bitmap Images
montage.c File Reference
Include dependency graph for montage.c:

Go to the source code of this file.

Macros

#define MontageImageTag   "Montage/Image"
 
#define TileImageTag   "Tile/Image"
 

Functions

MagickExport MontageInfoCloneMontageInfo (const ImageInfo *image_info, const MontageInfo *montage_info)
 
MagickExport MontageInfoDestroyMontageInfo (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 int SceneCompare (const void *x, const void *y)
 
MagickExport ImageMontageImages (const Image *images, const MontageInfo *montage_info, ExceptionInfo *exception)
 
MagickExport ImageMontageImageList (const ImageInfo *image_info, const MontageInfo *montage_info, const Image *images, ExceptionInfo *exception)
 

Macro Definition Documentation

◆ MontageImageTag

#define MontageImageTag   "Montage/Image"

Referenced by MontageImageList().

◆ TileImageTag

#define TileImageTag   "Tile/Image"

Referenced by MontageImageList().

Function Documentation

◆ CloneMontageInfo()

◆ DestroyMontageInfo()

◆ GetMontageGeometry()

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 272 of file montage.c.

References GetGeometry().

Referenced by MontageImageList().

◆ GetMontageInfo()

◆ MontageImageList()

MagickExport Image* MontageImageList ( const ImageInfo image_info,
const MontageInfo montage_info,
const Image images,
ExceptionInfo exception 
)

Definition at line 321 of file montage.c.

References AcquireImage(), AcquireNextImage(), AcquireQuantumMemory(), AcquireString(), AllCompliance, AlphaChannel, AnnotateImage(), _TypeMetric::ascent, _MontageInfo::background_color, _Image::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, DefaultChannels, _TypeMetric::descent, DestroyDrawInfo(), DestroyImage(), DestroyImageInfo(), DestroyImageList(), DestroyString(), _Image::directory, DstOutCompositeOp, _MontageInfo::filename, _Image::filename, _ImageInfo::filename, _MontageInfo::fill, _DrawInfo::fill, _MontageInfo::font, _DrawInfo::font, FormatLocaleString(), _MontageInfo::frame, FrameImage(), _MontageInfo::geometry, _DrawInfo::geometry, GetFirstImageInList(), GetGeometry(), GetImageListLength(), GetImageProperty(), GetMagickModule, GetMontageGeometry(), GetNextImageInList(), GetTypeMetrics(), _MontageInfo::gravity, _Image::gravity, _DrawInfo::gravity, _FrameInfo::height, _RectangleInfo::height, HeightValue, ImageListToArray(), _FrameInfo::inner_bevel, InterpretImageProperties(), LocaleCompare(), LogMagickEvent(), _Image::magick, MagickCoreSignature, MagickFalse, MagickMax, MagickMin, MagickPathExtent, MagickTrue, _Image::montage, MontageImageTag, MultilineCensus(), NegateImage(), NewImageList(), _FrameInfo::outer_bevel, OverCompositeOp, _Image::page, ParseAbsoluteGeometry(), ParseGravityGeometry(), ParseMetaGeometry(), ParseRegionGeometry(), _MontageInfo::pointsize, _DrawInfo::pointsize, _Image::progress_monitor, PsiValue, QueryColorCompliance(), ReadImage(), RelinquishMagickMemory(), ResetMagickMemory(), ResourceLimitError, RhoValue, _Image::rows, _Image::scene, SceneCompare(), SetGeometry(), SetImageBackgroundColor(), SetImageProgress(), SetImageProgressMonitor(), SetPixelChannelMask(), _MontageInfo::shadow, ShadowImage(), SigmaValue, _MontageInfo::signature, _ExceptionInfo::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().

◆ MontageImages()

MagickExport Image* MontageImages ( const Image images,
const MontageInfo montage_info,
ExceptionInfo exception 
)

Definition at line 306 of file montage.c.

References AcquireImageInfo(), DestroyImageInfo(), and MontageImageList().

Referenced by PreviewImage().

◆ SceneCompare()

static int SceneCompare ( const void *  x,
const void *  y 
)
static

Definition at line 291 of file montage.c.

Referenced by MontageImageList().