public class ImageMagickImageProcessor extends ERImageProcessor
Name | Description |
---|---|
er.attachment.ImageProcessor.imageMagickBinFolder | er.attachment.ImageProcessor.imageMagickBinFolder |
IERImageProcessor.Quality
_imageProcessor, log
Constructor and Description |
---|
ImageMagickImageProcessor(File imageMagickConvertBinary,
File imageMagickCompositeBinary)
Constructs a new ImageMagickImageProcessor using a max memory setting of 128M.
|
ImageMagickImageProcessor(File imageMagickConvertBinary,
File imageMagickCompositeBinary,
long maxMemory)
Constructs a new ImageMagickImageProcessor.
|
Modifier and Type | Method and Description |
---|---|
static IERImageProcessor |
imageMagickImageProcessor()
Returns an ImageMagick image processor.
|
void |
processImage(int resizeWidth,
int resizeHeight,
IERImageProcessor.Quality resizeQuality,
int dpi,
float sharpenRadius,
float sharpenIntensity,
float gamma,
int cropX,
int cropY,
int cropWidth,
int cropHeight,
File watermarkFile,
boolean tileWatermark,
float compressionQuality,
File colorProfileFile,
File inputFile,
File outputFile,
ERMimeType outputMimeType)
Processes the given image with all of the given configuration settings.
|
imageProcessor, thumbnail, thumbnail
public ImageMagickImageProcessor(File imageMagickConvertBinary, File imageMagickCompositeBinary)
imageMagickConvertBinary
- the "convert" binary pathimageMagickCompositeBinary
- the "composite" binary pathpublic ImageMagickImageProcessor(File imageMagickConvertBinary, File imageMagickCompositeBinary, long maxMemory)
imageMagickConvertBinary
- the "convert" binary pathimageMagickCompositeBinary
- the "composite" binary pathmaxMemory
- the memory limit in bytespublic void processImage(int resizeWidth, int resizeHeight, IERImageProcessor.Quality resizeQuality, int dpi, float sharpenRadius, float sharpenIntensity, float gamma, int cropX, int cropY, int cropWidth, int cropHeight, File watermarkFile, boolean tileWatermark, float compressionQuality, File colorProfileFile, File inputFile, File outputFile, ERMimeType outputMimeType) throws IOException
IERImageProcessor
resizeWidth
- resizeHeight
- resizeQuality
- dpi
- sharpenRadius
- sharpenIntensity
- gamma
- cropX
- cropY
- cropWidth
- cropHeight
- watermarkFile
- tileWatermark
- compressionQuality
- colorProfileFile
- inputFile
- outputFile
- outputMimeType
- IOException
- public static IERImageProcessor imageMagickImageProcessor() throws IOException
IOException
- if an ImageMagick cannot be createdCopyright © 2002 – 2024 Project Wonder.