magick
public class ImageInfo extends Magick
Constructor and Description |
---|
ImageInfo()
Constructor.
|
ImageInfo(java.lang.String fileName)
Constructor.
|
Modifier and Type | Method and Description |
---|---|
protected void |
finalize()
To release memory on cleanup.
|
int |
getAdjoin() |
boolean |
getAffirm()
Get the affirm attribute.
|
PixelPacket |
getBorderColor()
Get the current border colour..
|
int |
getColorspace() |
int |
getCompression() |
java.lang.String |
getDensity() |
int |
getDepth()
Return the depth of the image.
|
int |
getDither() |
java.lang.String |
getFileName()
Return the file name attribute of the handle.
|
java.lang.String |
getFont() |
int |
getInterlace() |
java.lang.String |
getMagick()
Return the magick attribute of the handle.
|
int |
getMonochrome() |
java.lang.String |
getPage() |
boolean |
getPing()
Get the ping attribute.
|
int |
getPointSize() |
int |
getPreviewType()
Get the preview_type attribute.
|
int |
getQuality() |
java.lang.String |
getServerName() |
java.lang.String |
getSize() |
int |
getSubimage() |
int |
getSubrange() |
java.lang.String |
getTexture() |
java.lang.String |
getTile() |
int |
getUnits()
Get the units attribute of the ImageInfo.
|
int |
getVerbose() |
java.lang.String |
getView() |
void |
init()
Initialises the internal native handle.
|
void |
setAdjoin(int value) |
void |
setAffirm(boolean affirm)
Set the affirm attribute.
|
void |
setBorderColor(PixelPacket color)
Set the border colour..
|
void |
setColorspace(int value) |
void |
setCompression(int value) |
void |
setDensity(java.lang.String density) |
void |
setDepth(int depth)
Set the depth of the image.
|
void |
setDither(int value) |
void |
setFileName(java.lang.String fileName)
Set the file name attribute of the handle.
|
void |
setFont(java.lang.String font) |
void |
setInterlace(int value) |
void |
setMagick(java.lang.String magick)
Set the magick attribute of the handle.
|
void |
setMonochrome(int value) |
void |
setPage(java.lang.String page) |
void |
setPing(boolean value)
Set the ping attribute.
|
void |
setPointSize(int value) |
void |
setPreviewType(int value)
Set the preview_type attribute.
|
void |
setQuality(int value) |
void |
setServerName(java.lang.String name) |
void |
setSize(java.lang.String size) |
void |
setSubimage(int value) |
void |
setSubrange(int value) |
void |
setTexture(java.lang.String texture) |
void |
setTile(java.lang.String tile) |
void |
setUnits(int resolutionType)
Set the units attribute of the ImageInfo.
|
void |
setVerbose(int value) |
void |
setView(java.lang.String view) |
parseImageGeometry
public ImageInfo() throws MagickException
MagickException
public ImageInfo(java.lang.String fileName) throws MagickException
fileName
- initial value of the file_name attributeMagickException
protected void finalize()
finalize
in class java.lang.Object
public void init() throws MagickException
MagickException
public void setFileName(java.lang.String fileName) throws MagickException
fileName
- the new file nameMagickException
public java.lang.String getFileName() throws MagickException
MagickException
public void setAffirm(boolean affirm) throws MagickException
affirm
- new value of affirmMagickException
public boolean getAffirm() throws MagickException
MagickException
public void setSubimage(int value) throws MagickException
MagickException
public int getSubimage() throws MagickException
MagickException
public void setSubrange(int value) throws MagickException
MagickException
public int getSubrange() throws MagickException
MagickException
public void setServerName(java.lang.String name) throws MagickException
MagickException
public java.lang.String getServerName() throws MagickException
MagickException
public void setFont(java.lang.String font) throws MagickException
MagickException
public java.lang.String getFont() throws MagickException
MagickException
public void setSize(java.lang.String size) throws MagickException
MagickException
public java.lang.String getSize() throws MagickException
MagickException
public void setTile(java.lang.String tile) throws MagickException
MagickException
public java.lang.String getTile() throws MagickException
MagickException
public void setDensity(java.lang.String density) throws MagickException
MagickException
public java.lang.String getDensity() throws MagickException
MagickException
public void setPage(java.lang.String page) throws MagickException
MagickException
public java.lang.String getPage() throws MagickException
MagickException
public void setTexture(java.lang.String texture) throws MagickException
MagickException
public java.lang.String getTexture() throws MagickException
MagickException
public void setView(java.lang.String view) throws MagickException
MagickException
public java.lang.String getView() throws MagickException
MagickException
public void setAdjoin(int value) throws MagickException
MagickException
public int getAdjoin() throws MagickException
MagickException
public void setColorspace(int value) throws MagickException
MagickException
public int getColorspace() throws MagickException
MagickException
public void setCompression(int value) throws MagickException
MagickException
public int getCompression() throws MagickException
MagickException
public void setDither(int value) throws MagickException
MagickException
public int getDither() throws MagickException
MagickException
public void setInterlace(int value) throws MagickException
MagickException
public int getInterlace() throws MagickException
MagickException
public void setMonochrome(int value) throws MagickException
MagickException
public int getMonochrome() throws MagickException
MagickException
public void setPointSize(int value) throws MagickException
MagickException
public int getPointSize() throws MagickException
MagickException
public void setQuality(int value) throws MagickException
MagickException
public int getQuality() throws MagickException
MagickException
public void setVerbose(int value) throws MagickException
MagickException
public int getVerbose() throws MagickException
MagickException
public void setPreviewType(int value) throws MagickException
value
- new value of the preview_type attributeMagickException
public int getPreviewType() throws MagickException
MagickException
public void setPing(boolean value) throws MagickException
value
- new value of the ping attributeMagickException
public boolean getPing() throws MagickException
MagickException
public void setMagick(java.lang.String magick) throws MagickException
MagickException
public java.lang.String getMagick() throws MagickException
MagickException
public void setUnits(int resolutionType) throws MagickException
units
- the resolution type as defined in ResolutionTypeMagickException
- on errorResolutionType
public int getUnits() throws MagickException
MagickException
- on errorResolutionType
public void setBorderColor(PixelPacket color) throws MagickException
color
- the border colourMagickException
- on errorMagickImage.borderImage(java.awt.Rectangle)
public PixelPacket getBorderColor() throws MagickException
MagickException
- on errorMagickImage.borderImage(java.awt.Rectangle)
public int getDepth() throws MagickException
MagickException
- on errorpublic void setDepth(int depth) throws MagickException
depth
- the depth of the imageMagickException
- on error