MagickCore 7.1.0
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"

◆ TileImageTag

#define TileImageTag   "Tile/Image"

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, _Image::background_color, _ImageInfo::background_color, _MontageInfo::background_color, _ImageInfo::border_color, _MontageInfo::border_color, _MontageInfo::border_width, BorderImage(), CenterGravity, _Image::client_data, CloneDrawInfo(), CloneImage(), CloneImageInfo(), CloneString(), _Image::columns, _Image::compose, CompositeImage(), ConcatenateMagickString(), CopyMagickString(), DefaultChannels, _TypeMetric::descent, DestroyDrawInfo(), DestroyImage(), DestroyImageInfo(), DestroyImageList(), DestroyString(), _Image::directory, DstOutCompositeOp, _Image::filename, _ImageInfo::filename, _MontageInfo::filename, _DrawInfo::fill, _MontageInfo::fill, _DrawInfo::font, _MontageInfo::font, FormatLocaleString(), _MontageInfo::frame, FrameImage(), _DrawInfo::geometry, _MontageInfo::geometry, GetFirstImageInList(), GetGeometry(), GetImageListLength(), GetImageProperty(), GetMagickModule, GetMontageGeometry(), GetNextImageInList(), GetTypeMetrics(), _DrawInfo::gravity, _Image::gravity, _MontageInfo::gravity, _FrameInfo::height, _RectangleInfo::height, HeightValue, ImageListToArray(), _FrameInfo::inner_bevel, InterpretImageProperties(), IsEventLogging(), LocaleCompare(), LogMagickEvent(), _Image::magick, MagickCoreSignature, MagickFalse, MagickMax, MagickMin, MagickPathExtent, MagickTrue, _Image::montage, MontageImageTag, MultilineCensus(), NegateImage(), NewImageList(), OptionError, _FrameInfo::outer_bevel, OverCompositeOp, _Image::page, ParseAbsoluteGeometry(), ParseGravityGeometry(), ParseMetaGeometry(), ParseRegionGeometry(), _DrawInfo::pointsize, _MontageInfo::pointsize, _Image::progress_monitor, PsiValue, QueryColorCompliance(), ReadImage(), RelinquishMagickMemory(), ResourceLimitError, RhoValue, _Image::rows, _Image::scene, SceneCompare(), SetGeometry(), SetImageBackgroundColor(), SetImageProgress(), SetImageProgressMonitor(), SetPixelChannelMask(), _MontageInfo::shadow, ShadowImage(), SigmaValue, _ExceptionInfo::signature, _Image::signature, _MontageInfo::signature, _DrawInfo::stroke, _MontageInfo::stroke, _DrawInfo::text, _MontageInfo::texture, TextureImage(), ThrowImageException, ThrowMagickException(), 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().