MagickCore  6.9.11
transform.c File Reference
#include "magick/studio.h"
#include "magick/attribute.h"
#include "magick/cache.h"
#include "magick/cache-view.h"
#include "magick/color.h"
#include "magick/color-private.h"
#include "magick/colorspace-private.h"
#include "magick/composite.h"
#include "magick/distort.h"
#include "magick/draw.h"
#include "magick/effect.h"
#include "magick/exception.h"
#include "magick/exception-private.h"
#include "magick/geometry.h"
#include "magick/image.h"
#include "magick/memory_.h"
#include "magick/layer.h"
#include "magick/list.h"
#include "magick/monitor.h"
#include "magick/monitor-private.h"
#include "magick/pixel-private.h"
#include "magick/property.h"
#include "magick/resource_.h"
#include "magick/resize.h"
#include "magick/statistic.h"
#include "magick/string_.h"
#include "magick/thread-private.h"
#include "magick/transform.h"
Include dependency graph for transform.c:

Go to the source code of this file.

Macros

#define ChopImageTag   "Chop/Image"
 
#define CropImageTag   "Crop/Image"
 
#define ExcerptImageTag   "Excerpt/Image"
 
#define FlipImageTag   "Flip/Image"
 
#define FlopImageTag   "Flop/Image"
 
#define RollImageTag   "Roll/Image"
 
#define SpliceImageTag   "Splice/Image"
 
#define TransposeImageTag   "Transpose/Image"
 
#define TransverseImageTag   "Transverse/Image"
 

Functions

MagickExport ImageAutoOrientImage (const Image *image, const OrientationType orientation, ExceptionInfo *exception)
 
MagickExport ImageChopImage (const Image *image, const RectangleInfo *chop_info, ExceptionInfo *exception)
 
MagickExport ImageConsolidateCMYKImages (const Image *images, ExceptionInfo *exception)
 
MagickExport ImageCropImage (const Image *image, const RectangleInfo *geometry, ExceptionInfo *exception)
 
static double ConstrainPixelOffset (double x)
 
static ssize_t PixelRoundOffset (double x)
 
MagickExport ImageCropImageToTiles (const Image *image, const char *crop_geometry, ExceptionInfo *exception)
 
MagickExport ImageExcerptImage (const Image *image, const RectangleInfo *geometry, ExceptionInfo *exception)
 
MagickExport ImageExtentImage (const Image *image, const RectangleInfo *geometry, ExceptionInfo *exception)
 
MagickExport ImageFlipImage (const Image *image, ExceptionInfo *exception)
 
MagickExport ImageFlopImage (const Image *image, ExceptionInfo *exception)
 
static MagickBooleanType CopyImageRegion (Image *destination, const Image *source, const size_t columns, const size_t rows, const ssize_t sx, const ssize_t sy, const ssize_t dx, const ssize_t dy, ExceptionInfo *exception)
 
MagickExport ImageRollImage (const Image *image, const ssize_t x_offset, const ssize_t y_offset, ExceptionInfo *exception)
 
MagickExport ImageShaveImage (const Image *image, const RectangleInfo *shave_info, ExceptionInfo *exception)
 
MagickExport ImageSpliceImage (const Image *image, const RectangleInfo *geometry, ExceptionInfo *exception)
 
MagickExport MagickBooleanType TransformImage (Image **image, const char *crop_geometry, const char *image_geometry)
 
MagickExport MagickBooleanType TransformImages (Image **images, const char *crop_geometry, const char *image_geometry)
 
MagickExport ImageTransposeImage (const Image *image, ExceptionInfo *exception)
 
MagickExport ImageTransverseImage (const Image *image, ExceptionInfo *exception)
 
MagickExport ImageTrimImage (const Image *image, ExceptionInfo *exception)
 

Macro Definition Documentation

◆ ChopImageTag

#define ChopImageTag   "Chop/Image"

Referenced by ChopImage().

◆ CropImageTag

#define CropImageTag   "Crop/Image"

Referenced by CropImage().

◆ ExcerptImageTag

#define ExcerptImageTag   "Excerpt/Image"

Referenced by ExcerptImage().

◆ FlipImageTag

#define FlipImageTag   "Flip/Image"

Referenced by FlipImage().

◆ FlopImageTag

#define FlopImageTag   "Flop/Image"

Referenced by FlopImage().

◆ RollImageTag

#define RollImageTag   "Roll/Image"

Referenced by RollImage().

◆ SpliceImageTag

#define SpliceImageTag   "Splice/Image"

Referenced by SpliceImage().

◆ TransposeImageTag

#define TransposeImageTag   "Transpose/Image"

Referenced by TransposeImage().

◆ TransverseImageTag

#define TransverseImageTag   "Transverse/Image"

Referenced by TransverseImage().

Function Documentation

◆ AutoOrientImage()

◆ ChopImage()

◆ ConsolidateCMYKImages()

◆ ConstrainPixelOffset()

static double ConstrainPixelOffset ( double  x)
inlinestatic

Definition at line 833 of file transform.c.

Referenced by PixelRoundOffset().

◆ CopyImageRegion()

static MagickBooleanType CopyImageRegion ( Image destination,
const Image source,
const size_t  columns,
const size_t  rows,
const ssize_t  sx,
const ssize_t  sy,
const ssize_t  dx,
const ssize_t  dy,
ExceptionInfo exception 
)
static

◆ CropImage()

◆ CropImageToTiles()

◆ ExcerptImage()

◆ ExtentImage()

◆ FlipImage()

◆ FlopImage()

◆ PixelRoundOffset()

static ssize_t PixelRoundOffset ( double  x)
inlinestatic

Definition at line 842 of file transform.c.

References ConstrainPixelOffset().

Referenced by CropImageToTiles().

◆ RollImage()

◆ ShaveImage()

◆ SpliceImage()

◆ TransformImage()

◆ TransformImages()

MagickExport MagickBooleanType TransformImages ( Image **  images,
const char *  crop_geometry,
const char *  image_geometry 
)

◆ TransposeImage()

◆ TransverseImage()

◆ TrimImage()