Package | Description |
---|---|
org.gm4java.im4java |
Provides the integration between gm4java and im4java.
|
Modifier and Type | Method and Description |
---|---|
GMOperation |
GMOperation.addImage(File file)
Add image to operation.
|
GMOperation |
GMOperation.addRawArg(String arg)
Add raw text to the list of arguments.
|
GMOperation |
GMOperation.drawText(String text,
int offsetX,
int offsetY)
Draws text overlay on image with the upper-right corner defined by the
offsetX and offsetY
parameters. |
GMOperation |
GMOperation.font(String style,
int size,
String color)
Defines font for text overlay.
|
GMOperation |
GMOperation.gravity(GMOperation.Gravity value)
Defines the gravity for geometry-based operations.
|
GMOperation |
GMOperation.grayscale(int depth)
Convert the image to grayscale (i.e.
|
GMOperation |
GMOperation.limitThreads(int threadsPerProcess)
Limits the number of threads used by the GraphicsMagick process during execution.
|
GMOperation |
GMOperation.quality(double quality)
Add option -quality to the GraphicsMagick commandline (see the documentation of GraphicsMagick for details).
|
GMOperation |
GMOperation.resize(int width,
int height,
Collection<GMOperation.GeometryAnnotation> annotations)
Resize source to desired target dimensions, using default resizing filter algorithm.
|
GMOperation |
GMOperation.rotate(double degrees,
GMOperation.RotationAnnotation annotation)
Rotates the image, with empty triangles back-filled using default background color.
|
GMOperation |
GMOperation.scale(int width,
int height,
Collection<GMOperation.GeometryAnnotation> annotations)
Scale source to desired target dimensions, using simplified resizing algorithm with pixel averaging.
|
GMOperation |
GMOperation.source(File file,
Integer width,
Integer height)
Specifies the source image to convert.
|
GMOperation |
GMOperation.stripProfiles()
Strips out ICC profiles.
|
Copyright © 2013. All Rights Reserved.