Corresponds to the ImageMagick ImageInfo structure.
finalize
protected void finalize()
To release memory on cleanup.
getAffirm
public boolean getAffirm()
throws MagickException Get the affirm attribute.
getBorderColor
public PixelPacket getBorderColor()
throws MagickException Get the current border colour..
- the current border colour
getFileName
public String getFileName()
throws MagickException Return the file name attribute of the handle.
getMagick
public String getMagick()
throws MagickException Return the magick attribute of the handle.
getPing
public boolean getPing()
throws MagickException Get the ping attribute.
getPreviewType
public int getPreviewType()
throws MagickException Get the preview_type attribute.
getUnits
public int getUnits()
throws MagickException Get the units attribute of the ImageInfo.
- A integer representing the resolution type as defined
in ResolutionType
init
public void init()
throws MagickException Initialises the internal native handle.
setAffirm
public void setAffirm(boolean affirm)
throws MagickException Set the affirm attribute.
affirm - new value of affirm
setBorderColor
public void setBorderColor(PixelPacket color)
throws MagickException Set the border colour..
color - the border colour
setFileName
public void setFileName(String fileName)
throws MagickException Set the file name attribute of the handle.
fileName - the new file name
setMagick
public void setMagick(String magick)
throws MagickException Set the magick attribute of the handle.
setPing
public void setPing(boolean value)
throws MagickException Set the ping attribute.
value - new value of the ping attribute
setPreviewType
public void setPreviewType(int value)
throws MagickException Set the preview_type attribute.
value - new value of the preview_type attribute
setUnits
public void setUnits(int resolutionType)
throws MagickException Set the units attribute of the ImageInfo.