# montage.c File Reference

`#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/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"`

## 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 Documentation

#define MontageImageTag "Montage/Image"

#define TileImageTag "Tile/Image"

## Function Documentation

MagickExport MontageInfo* CloneMontageInfo | ( | const ImageInfo * | image_info,
|  | const MontageInfo * | montage_info |
| ) |  |  |

MagickExport MontageInfo* DestroyMontageInfo | ( | 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]`

MagickExport void GetMontageInfo | ( | const ImageInfo * | image_info,
|  | MontageInfo * | montage_info |
| ) |  |  |

static long MagickMax | ( | const long | x,
|  | const long | y |
| ) |  |  | `[inline, static]`

static long MagickMin | ( | const long | x,
|  | const long | y |
| ) |  |  | `[inline, static]`

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

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

static int SceneCompare | ( | const void * | x,
|  | const void * | y |
| ) |  |  | `[static]`