|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectmagick.Magick
magick.ImageInfo
public class ImageInfo
Corresponds to the ImageMagick ImageInfo structure.
Constructor Summary | |
---|---|
ImageInfo()
Constructor. |
|
ImageInfo(java.lang.String fileName)
Constructor. |
Method Summary | |
---|---|
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()
Get the verbose attribute. |
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)
Set the verbose attribute. |
void |
setView(java.lang.String view)
|
Methods inherited from class magick.Magick |
---|
parseImageGeometry |
Methods inherited from class java.lang.Object |
---|
clone, equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public ImageInfo() throws MagickException
MagickException
public ImageInfo(java.lang.String fileName) throws MagickException
fileName
- initial value of the file_name attribute
MagickException
Method Detail |
---|
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 name
MagickException
public java.lang.String getFileName() throws MagickException
MagickException
public void setAffirm(boolean affirm) throws MagickException
affirm
- new value of affirm
MagickException
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
TIFF Directory at offset 0x0 Image Width: 102 Image Length: 68 Resolution: 72, 72 pixels/inch Bits/Sample: 8 Compression Scheme: None Photometric Interpretation: RGB color FillOrder: msb-to-lsb Document Name: "test/output/black_and_White_In_RGBRGB.tif" Orientation: row 0 top, col 0 lhs Samples/Pixel: 3 Rows/Strip: 26 Planar Configuration: single image plane ICC Profile:, 560 bytes Software: ImageMagick 6.2.6 10/06/06 Q8 http://www.imagemagick.org
MagickException
MagickImage.writeImage(ImageInfo)
public int getVerbose() throws MagickException
MagickException
public void setPreviewType(int value) throws MagickException
value
- new value of the preview_type attribute
MagickException
public int getPreviewType() throws MagickException
MagickException
public void setPing(boolean value) throws MagickException
value
- new value of the ping attribute
MagickException
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
resolutionType
- the resolution type as defined in ResolutionType
MagickException
- on errorResolutionType
public int getUnits() throws MagickException
MagickException
- on errorResolutionType
public void setBorderColor(PixelPacket color) throws MagickException
color
- the border colour
MagickException
- 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 image
MagickException
- on error
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |