magick
Class ImageInfo

magick.Magick
  |
  +--magick.ImageInfo

public class ImageInfo
extends Magick

Corresponds to the ImageMagick ImageInfo structure.

Author:
Eric Yeo

Constructor Summary
ImageInfo()
          Constructor.
ImageInfo(String fileName)
          Constructor.

Method Summary
 intgetAdjoin()
           
 booleangetAffirm()
          Get the affirm attribute.
 PixelPacketgetBorderColor()
          Get the current border colour..
 intgetColorspace()
           
 intgetCompression()
           
 StringgetDensity()
           
 intgetDither()
           
 StringgetFileName()
          Return the file name attribute of the handle.
 StringgetFont()
           
 intgetInterlace()
           
 StringgetMagick()
          Return the magick attribute of the handle.
 intgetMonochrome()
           
 StringgetPage()
           
 booleangetPing()
          Get the ping attribute.
 intgetPointSize()
           
 intgetPreviewType()
          Get the preview_type attribute.
 intgetQuality()
           
 StringgetServerName()
           
 StringgetSize()
           
 intgetSubimage()
           
 intgetSubrange()
           
 StringgetTexture()
           
 StringgetTile()
           
 intgetUnits()
          Get the units attribute of the ImageInfo.
 intgetVerbose()
           
 StringgetView()
           
 voidinit()
          Initialises the internal native handle.
 voidsetAdjoin(int value)
           
 voidsetAffirm(boolean affirm)
          Set the affirm attribute.
 voidsetBorderColor(PixelPacket color)
          Set the border colour..
 voidsetColorspace(int value)
           
 voidsetCompression(int value)
           
 voidsetDensity(String density)
           
 voidsetDither(int value)
           
 voidsetFileName(String fileName)
          Set the file name attribute of the handle.
 voidsetFont(String font)
           
 voidsetInterlace(int value)
           
 voidsetMagick(String magick)
          Set the magick attribute of the handle.
 voidsetMonochrome(int value)
           
 voidsetPage(String page)
           
 voidsetPing(boolean value)
          Set the ping attribute.
 voidsetPointSize(int value)
           
 voidsetPreviewType(int value)
          Set the preview_type attribute.
 voidsetQuality(int value)
           
 voidsetServerName(String name)
           
 voidsetSize(String size)
           
 voidsetSubimage(int value)
           
 voidsetSubrange(int value)
           
 voidsetTexture(String texture)
           
 voidsetTile(String tile)
           
 voidsetUnits(int resolutionType)
          Set the units attribute of the ImageInfo.
 voidsetVerbose(int value)
           
 voidsetView(String view)
           

Methods inherited from class magick.Magick
parseImageGeometry

Constructor Detail

ImageInfo

public ImageInfo()
throws MagickException
Constructor.

ImageInfo

public ImageInfo(String fileName)
throws MagickException
Constructor.
Parameters:
fileName initial value of the file_name attribute
Method Detail

getAdjoin

public int getAdjoin()
throws MagickException

getAffirm

public boolean getAffirm()
throws MagickException
Get the affirm attribute.

getBorderColor

public PixelPacket getBorderColor()
throws MagickException
Get the current border colour..
Returns: the current border colour
Throws:
MagickException on error
See Also:
MagickImage.borderImage(java.awt.Rectangle)

getColorspace

public int getColorspace()
throws MagickException

getCompression

public int getCompression()
throws MagickException

getDensity

public String getDensity()
throws MagickException

getDither

public int getDither()
throws MagickException

getFileName

public String getFileName()
throws MagickException
Return the file name attribute of the handle.

getFont

public String getFont()
throws MagickException

getInterlace

public int getInterlace()
throws MagickException

getMagick

public String getMagick()
throws MagickException
Return the magick attribute of the handle.
author Abdulbaset Gaddah

getMonochrome

public int getMonochrome()
throws MagickException

getPage

public String getPage()
throws MagickException

getPing

public boolean getPing()
throws MagickException
Get the ping attribute.

getPointSize

public int getPointSize()
throws MagickException

getPreviewType

public int getPreviewType()
throws MagickException
Get the preview_type attribute.

getQuality

public int getQuality()
throws MagickException

getServerName

public String getServerName()
throws MagickException

getSize

public String getSize()
throws MagickException

getSubimage

public int getSubimage()
throws MagickException

getSubrange

public int getSubrange()
throws MagickException

getTexture

public String getTexture()
throws MagickException

getTile

public String getTile()
throws MagickException

getUnits

public int getUnits()
throws MagickException
Get the units attribute of the ImageInfo.
Returns: A integer representing the resolution type as defined in ResolutionType
Throws:
MagickException on error
See Also:
ResolutionType

getVerbose

public int getVerbose()
throws MagickException

getView

public String getView()
throws MagickException

init

public void init()
throws MagickException
Initialises the internal native handle.

setAdjoin

public void setAdjoin(int value)
throws MagickException

setAffirm

public void setAffirm(boolean affirm)
throws MagickException
Set the affirm attribute.
Parameters:
affirm new value of affirm

setBorderColor

public void setBorderColor(PixelPacket color)
throws MagickException
Set the border colour..
Parameters:
color the border colour
Throws:
MagickException on error
See Also:
MagickImage.borderImage(java.awt.Rectangle)

setColorspace

public void setColorspace(int value)
throws MagickException

setCompression

public void setCompression(int value)
throws MagickException

setDensity

public void setDensity(String density)
throws MagickException

setDither

public void setDither(int value)
throws MagickException

setFileName

public void setFileName(String fileName)
throws MagickException
Set the file name attribute of the handle.
Parameters:
fileName the new file name

setFont

public void setFont(String font)
throws MagickException

setInterlace

public void setInterlace(int value)
throws MagickException

setMagick

public void setMagick(String magick)
throws MagickException
Set the magick attribute of the handle.
author Abdulbaset Gaddah

setMonochrome

public void setMonochrome(int value)
throws MagickException

setPage

public void setPage(String page)
throws MagickException

setPing

public void setPing(boolean value)
throws MagickException
Set the ping attribute.
Parameters:
value new value of the ping attribute

setPointSize

public void setPointSize(int value)
throws MagickException

setPreviewType

public void setPreviewType(int value)
throws MagickException
Set the preview_type attribute.
Parameters:
value new value of the preview_type attribute

setQuality

public void setQuality(int value)
throws MagickException

setServerName

public void setServerName(String name)
throws MagickException

setSize

public void setSize(String size)
throws MagickException

setSubimage

public void setSubimage(int value)
throws MagickException

setSubrange

public void setSubrange(int value)
throws MagickException

setTexture

public void setTexture(String texture)
throws MagickException

setTile

public void setTile(String tile)
throws MagickException

setUnits

public void setUnits(int resolutionType)
throws MagickException
Set the units attribute of the ImageInfo.
Parameters:
units the resolution type as defined in ResolutionType
Throws:
MagickException on error
See Also:
ResolutionType

setVerbose

public void setVerbose(int value)
throws MagickException

setView

public void setView(String view)
throws MagickException

JMagick