The im4java Library, Version 1.4.0

Class GMOperation

  extended by org.im4java.core.Operation
      extended by org.im4java.core.GMOps
          extended by org.im4java.core.GMOperation

public class GMOperation
extends GMOps

This class models the command-line of GraphicsMagick. It extends the class GMOps and adds some utility-methods (like appendVertically()) not found in GraphicsMagick, mainly for ease of use.

If you want to switch between GraphicsMagick and ImageMagick at runtime (using the system-property im4java.useGM=true), you have to limit yourself to the subset of options common to both implementations.

$Revision: 1.3 $
$Author: bablokb $

Field Summary
Fields inherited from class org.im4java.core.Operation
Constructor Summary
Method Summary
 GMOperation appendHorizontally()
          Append images horizontally (same as +append)
 GMOperation appendVertically()
          Append images vertically (same as -append)
Methods inherited from class org.im4java.core.GMOps
adjoin, affine, affine, affine, affine, affine, affine, affine, antialias, append, authenticate, authenticate, average, backdrop, background, background, blackThreshold, blackThreshold, blackThreshold, bluePrimary, bluePrimary, bluePrimary, blur, blur, blur, border, border, border, bordercolor, bordercolor, borderwidth, borderwidth, borderwidth, borderwidth, borderwidth, borderwidth, box, box, channel, channel, charcoal, charcoal, chop, chop, chop, chop, chop, chop, clip, clippath, coalesce, colorize, colorize, colorize, colorize, colors, colors, colorspace, colorspace, comment, comment, compress, compress, contrast, convolve, convolve, convolve, convolve, convolve, convolve, convolve, convolve, convolve, convolve, convolve, convolve, convolve, convolve, convolve, convolve, convolve, crop, crop, crop, crop, crop, crop, cycle, cycle, debug, debug, deconstruct, define, define, delay, delay, delay, delay, density, density, density, depth, depth, despeckle, display, display, display, display, dispose, dispose, dither, dither, draw, draw, edge, edge, emboss, emboss, encoding, encoding, endian, endian, enhance, equalize, fill, fill, filter, filter, flatten, flip, flop, font, font, frame, frame, frame, frame, frame, fuzz, fuzz, fuzz, gamma, gamma, gaussian, gaussian, gaussian, geometry, geometry, geometry, geometry, geometry, gravity, gravity, greenPrimary, greenPrimary, greenPrimary, help, implode, implode, intent, intent, interlace, interlace, label, label, lat, lat, lat, lat, lat, level, level, level, level, level, limit, limit, list, list, log, log, loop, loop, map, map, mask, mask, matte, median, median, modulate, modulate, modulate, modulate, monitor, monochrome, morph, morph, mosaic, motionBlur, motionBlur, motionBlur, motionBlur, negate, noise, noise, noop, normalize, opaque, opaque, operator, operator, operator, operator, operator, orderedDither, orderedDither, orderedDither, outputDirectory, outputDirectory, p_adjoin, p_antialias, p_append, p_borderwidth, p_compress, p_contrast, p_debug, p_define, p_define, p_dither, p_endian, p_frame, p_gamma, p_gamma, p_label, p_map, p_mask, p_matte, p_negate, p_noise, p_noise, p_page, p_ping, p_profile, p_profile, p_progress, p_raise, p_raise, p_raise, p_remap, p_render, p_shade, p_shade, p_shade, p_write, p_write, page, page, page, page, page, page, paint, paint, pause, pause, pen, pen, ping, pointsize, pointsize, preview, preview, process, process, profile, profile, quality, quality, raise, raise, raise, randomThreshold, randomThreshold, randomThreshold, randomThreshold, redPrimary, redPrimary, redPrimary, region, region, region, region, region, render, resample, resample, resample, resize, resize, resize, resize, roll, roll, roll, rotate, rotate, rotate, sample, sample, sample, sample, sample, samplingFactor, samplingFactor, samplingFactor, scale, scale, scale, scale, scale, scene, scene, seed, segment, segment, segment, set, set, set, shade, shade, shade, sharpen, sharpen, sharpen, shave, shave, shave, shave, shear, shear, shear, size, size, size, size, solarize, solarize, spread, spread, stroke, stroke, strokewidth, strokewidth, swirl, swirl, texture, texture, threshold, threshold, threshold, tile, tile, transform, transparent, transparent, treedepth, treedepth, trim, type, type, undercolor, undercolor, units, units, unsharp, unsharp, unsharp, unsharp, unsharp, verbose, version, view, view, virtualPixel, virtualPixel, wave, wave, wave, whitePoint, whitePoint, whitePoint, whiteThreshold, whiteThreshold, whiteThreshold, write, write
Methods inherited from class org.im4java.core.Operation
addDynamicOperation, addImage, addImage, addImage, addOperation, addRawArgs, addRawArgs, cloneObject, getCmdArgs, getDynamicOperations, toString
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait

Constructor Detail


public GMOperation()

Method Detail


public GMOperation appendHorizontally()
Append images horizontally (same as +append)


public GMOperation appendVertically()
Append images vertically (same as -append)

The im4java Library, Version 1.4.0

Released under the LGPL, (c) Bernhard Bablok 2008-2010