Package org.im4java.core
Class IMOperation
java.lang.Object
org.im4java.core.Operation
org.im4java.core.IMOps
org.im4java.core.IMOperation
- Direct Known Subclasses:
ChannelMixer
,NoiseFilter
This class models the command-line of ImageMagick.
It extends the class IMOps and adds some utility-methods
(like appendVertically()) not
found in ImageMagick, mainly for ease of use. Subclasses of IMOperation
implement more specific operations (e.g. ChannelMixer).
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.
-
Field Summary
Fields inherited from class org.im4java.core.Operation
IMG_PLACEHOLDER
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionaddSubOperation
(Operation pSubOperation) Add a IMOperation as a suboperation.Append images horizontally (same as +append)Append images vertically (same as -append)Close a sub-operation (add a closing parenthesis).Open a sub-operation (add a opening parenthesis).Methods inherited from class org.im4java.core.IMOps
adaptiveBlur, adaptiveBlur, adaptiveBlur, adaptiveResize, adaptiveResize, adaptiveResize, adaptiveResize, adaptiveSharpen, adaptiveSharpen, adaptiveSharpen, adjoin, affine, affine, affine, affine, affine, affine, affine, alpha, alpha, annotate, annotate, annotate, annotate, annotate, annotate, antialias, append, attenuate, attenuate, authenticate, authenticate, autoOrient, average, backdrop, backdrop, background, background, bench, bench, bias, bias, bias, blackPointCompensation, blackThreshold, blackThreshold, blackThreshold, blend, blend, blend, bluePrimary, bluePrimary, bluePrimary, blur, blur, blur, border, border, bordercolor, bordercolor, borderwidth, borderwidth, borderwidth, borderwidth, borderwidth, cache, cache, caption, caption, channel, channel, charcoal, charcoal, chop, chop, chop, chop, chop, chop, clip, clipMask, clipPath, clipPath, clone, clone, clone, clone, clone, clut, coalesce, colorize, colorize, colorize, colorize, colormap, colormap, colors, colors, colorspace, colorspace, combine, comment, comment, compose, compose, composite, compress, compress, contrast, contrastStretch, contrastStretch, contrastStretch, contrastStretch, 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, decipher, decipher, deconstruct, define, define, delay, delay, delay, delay, delete, delete, delete, delete, delete, density, density, density, depth, depth, descend, deskew, deskew, despeckle, displace, displace, displace, display, display, display, display, dispose, dispose, dissolve, dissolve, distort, distort, distort, dither, dither, draw, draw, edge, edge, emboss, emboss, encipher, encipher, encoding, encoding, endian, endian, enhance, equalize, evaluate, evaluate, evaluate, extent, extent, extent, extent, extent, extract, extract, extract, extract, extract, fill, fill, filter, filter, flatten, flip, floodfill, floodfill, floodfill, floodfill, flop, font, font, foreground, foreground, format, format, frame, frame, frame, frame, frame, fuzz, fuzz, fuzz, fx, fx, gamma, gamma, gaussianBlur, gaussianBlur, gaussianBlur, geometry, geometry, geometry, geometry, geometry, gravity, gravity, greenPrimary, greenPrimary, greenPrimary, help, highlightColor, highlightColor, iconGeometry, iconGeometry, iconGeometry, iconGeometry, iconGeometry, iconic, identify, immutable, implode, implode, insert, insert, intent, intent, interlace, interlace, interpolate, interpolate, interwordSpacing, interwordSpacing, kerning, kerning, label, label, lat, lat, lat, lat, lat, layers, layers, level, level, level, level, levelColors, levelColors, levelColors, limit, limit, linearStretch, linearStretch, linearStretch, linearStretch, linewidth, liquidRescale, liquidRescale, liquidRescale, liquidRescale, liquidRescale, list, list, log, log, loop, loop, lowlightColor, lowlightColor, magnify, magnify, map, map, mask, mask, mattecolor, mattecolor, median, median, metric, metric, mode, mode, modulate, modulate, modulate, modulate, monitor, monochrome, morph, morph, mosaic, motionBlur, motionBlur, motionBlur, motionBlur, name, negate, noise, noise, normalize, opaque, opaque, orderedDither, orderedDither, orderedDither, orient, orient, p_adjoin, p_antialias, p_append, p_channel, p_clone, p_compress, p_contrast, p_debug, p_define, p_define, p_delete, p_dispose, p_distort, p_distort, p_distort, p_dither, p_endian, p_gamma, p_gamma, p_label, p_level, p_level, p_level, p_level, p_levelColors, p_levelColors, p_levelColors, p_map, p_mask, p_negate, p_noise, p_noise, p_opaque, p_opaque, p_page, p_polaroid, p_profile, p_profile, p_raise, p_raise, p_raise, p_remap, p_render, p_repage, p_shade, p_shade, p_shade, p_sigmoidalContrast, p_sigmoidalContrast, p_sigmoidalContrast, p_swap, p_write, p_write, page, page, page, page, page, page, paint, paint, path, path, pause, pause, ping, pointsize, pointsize, polaroid, polaroid, posterize, posterize, preview, preview, print, print, process, process, profile, profile, quality, quality, quantize, quantize, quiet, radialBlur, radialBlur, raise, raise, raise, randomThreshold, randomThreshold, randomThreshold, randomThreshold, recolor, recolor, redPrimary, redPrimary, redPrimary, regardWarnings, region, region, region, region, region, remap, remap, remote, render, repage, repage, repage, repage, repage, resample, resample, resample, resize, resize, resize, resize, respectParenthesis, reverse, roll, roll, roll, rotate, rotate, rotate, sample, sample, sample, sample, sample, samplingFactor, samplingFactor, samplingFactor, sarseColor, sarseColor, sarseColor, scale, scale, scale, scale, scale, scene, scene, screen, seed, segment, segment, segment, separate, sepiaTone, sepiaTone, set, set, set, shade, shade, shade, shadow, shadow, shadow, shadow, shadow, shadow, sharedMemory, sharpen, sharpen, sharpen, shave, shave, shave, shave, shear, shear, shear, sigmoidalContrast, sigmoidalContrast, sigmoidalContrast, silent, size, size, size, size, sketch, sketch, sketch, sketch, snaps, snaps, solarize, solarize, splice, splice, splice, splice, splice, splice, spread, spread, stegano, stegano, stereo, stereo, stereo, storageType, storageType, strip, stroke, stroke, strokewidth, strokewidth, swap, swap, swap, swirl, swirl, taint, textFont, textFont, texture, texture, threshold, threshold, threshold, threshold, threshold, threshold, thumbnail, thumbnail, thumbnail, thumbnail, tile, tile, tile, tile, tile, tile, tileOffset, tileOffset, tileOffset, tint, tint, title, title, transform, transparent, transparentColor, transparentColor, transpose, transverse, treedepth, treedepth, trim, type, type, undercolor, undercolor, uniqueColors, units, units, unsharp, unsharp, unsharp, unsharp, unsharp, update, update, verbose, version, view, view, vignette, vignette, vignette, vignette, vignette, vignette, virtualPixel, virtualPixel, visual, visual, watermark, watermark, wave, wave, wave, whitePoint, whitePoint, whitePoint, whiteThreshold, whiteThreshold, whiteThreshold, window, windowGroup, write, write
Methods inherited from class org.im4java.core.Operation
addDynamicOperation, addImage, addImage, addImage, addOperation, addRawArgs, addRawArgs, cloneObject, getCmdArgs, getDynamicOperations, toString
-
Constructor Details
-
IMOperation
public IMOperation()Constructor.
-
-
Method Details
-
openOperation
Open a sub-operation (add a opening parenthesis). -
closeOperation
Close a sub-operation (add a closing parenthesis). -
addSubOperation
Add a IMOperation as a suboperation. -
appendHorizontally
Append images horizontally (same as +append) -
appendVertically
Append images vertically (same as -append)
-