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) |
parseImageGeometrypublic ImageInfo()
throws MagickException
MagickExceptionpublic ImageInfo(java.lang.String fileName)
throws MagickException
fileName - initial value of the file_name attributeMagickExceptionprotected void finalize()
finalize in class java.lang.Objectpublic void init()
throws MagickException
MagickExceptionpublic void setFileName(java.lang.String fileName)
throws MagickException
fileName - the new file nameMagickExceptionpublic java.lang.String getFileName()
throws MagickException
MagickExceptionpublic void setAffirm(boolean affirm)
throws MagickException
affirm - new value of affirmMagickExceptionpublic boolean getAffirm()
throws MagickException
MagickExceptionpublic void setSubimage(int value)
throws MagickException
MagickExceptionpublic int getSubimage()
throws MagickException
MagickExceptionpublic void setSubrange(int value)
throws MagickException
MagickExceptionpublic int getSubrange()
throws MagickException
MagickExceptionpublic void setServerName(java.lang.String name)
throws MagickException
MagickExceptionpublic java.lang.String getServerName()
throws MagickException
MagickExceptionpublic void setFont(java.lang.String font)
throws MagickException
MagickExceptionpublic java.lang.String getFont()
throws MagickException
MagickExceptionpublic void setSize(java.lang.String size)
throws MagickException
MagickExceptionpublic java.lang.String getSize()
throws MagickException
MagickExceptionpublic void setTile(java.lang.String tile)
throws MagickException
MagickExceptionpublic java.lang.String getTile()
throws MagickException
MagickExceptionpublic void setDensity(java.lang.String density)
throws MagickException
MagickExceptionpublic java.lang.String getDensity()
throws MagickException
MagickExceptionpublic void setPage(java.lang.String page)
throws MagickException
MagickExceptionpublic java.lang.String getPage()
throws MagickException
MagickExceptionpublic void setTexture(java.lang.String texture)
throws MagickException
MagickExceptionpublic java.lang.String getTexture()
throws MagickException
MagickExceptionpublic void setView(java.lang.String view)
throws MagickException
MagickExceptionpublic java.lang.String getView()
throws MagickException
MagickExceptionpublic void setAdjoin(int value)
throws MagickException
MagickExceptionpublic int getAdjoin()
throws MagickException
MagickExceptionpublic void setColorspace(int value)
throws MagickException
MagickExceptionpublic int getColorspace()
throws MagickException
MagickExceptionpublic void setCompression(int value)
throws MagickException
MagickExceptionpublic int getCompression()
throws MagickException
MagickExceptionpublic void setDither(int value)
throws MagickException
MagickExceptionpublic int getDither()
throws MagickException
MagickExceptionpublic void setInterlace(int value)
throws MagickException
MagickExceptionpublic int getInterlace()
throws MagickException
MagickExceptionpublic void setMonochrome(int value)
throws MagickException
MagickExceptionpublic int getMonochrome()
throws MagickException
MagickExceptionpublic void setPointSize(int value)
throws MagickException
MagickExceptionpublic int getPointSize()
throws MagickException
MagickExceptionpublic void setQuality(int value)
throws MagickException
MagickExceptionpublic int getQuality()
throws MagickException
MagickExceptionpublic void setVerbose(int value)
throws MagickException
MagickExceptionpublic int getVerbose()
throws MagickException
MagickExceptionpublic void setPreviewType(int value)
throws MagickException
value - new value of the preview_type attributeMagickExceptionpublic int getPreviewType()
throws MagickException
MagickExceptionpublic void setPing(boolean value)
throws MagickException
value - new value of the ping attributeMagickExceptionpublic boolean getPing()
throws MagickException
MagickExceptionpublic void setMagick(java.lang.String magick)
throws MagickException
MagickExceptionpublic java.lang.String getMagick()
throws MagickException
MagickExceptionpublic void setUnits(int resolutionType)
throws MagickException
units - the resolution type as defined in ResolutionTypeMagickException - on errorResolutionTypepublic int getUnits()
throws MagickException
MagickException - on errorResolutionTypepublic 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