Node Director
|
Determine info about an image file. More...
Public Member Functions | |
ImageInfo (File img) throws DirectorException | |
void | thumbnail (File dest, int maxwidth, int maxheight) throws DirectorException |
void | identify (File img) throws DirectorException |
int | width () |
Accessor for attribute width. | |
int | width (int width) |
Mutator for attribute width. | |
int | height () |
Accessor for attribute height. | |
int | height (int height) |
Mutator for attribute height. | |
int | horizontalResolution () |
Accessor for attribute horizontalResolution. | |
int | horizontalResolution (int horizontalResolution) |
Mutator for attribute horizontalResolution. | |
int | verticalResolution () |
Accessor for attribute verticalResolution. | |
int | verticalResolution (int verticalResolution) |
Mutator for attribute verticalResolution. |
Protected Attributes | |
int | width = 0 |
int | height = 0 |
int | horizontalResolution = 0 |
int | verticalResolution = 0 |
Determine info about an image file.
sfi.director.util.ImageInfo.ImageInfo | ( | File | img | ) | throws DirectorException |
References sfi.director.util.ImageInfo.identify().
int sfi.director.util.ImageInfo.height | ( | ) |
Accessor for attribute height.
Referenced by sfi.director.util.ImageInfo.height(), and sfi.director.util.ImageInfo.identify().
int sfi.director.util.ImageInfo.height | ( | int | height | ) |
Mutator for attribute height.
References sfi.director.util.ImageInfo.height().
int sfi.director.util.ImageInfo.horizontalResolution | ( | ) |
Accessor for attribute horizontalResolution.
Referenced by sfi.director.util.ImageInfo.horizontalResolution(), and sfi.director.util.ImageInfo.identify().
int sfi.director.util.ImageInfo.horizontalResolution | ( | int | horizontalResolution | ) |
Mutator for attribute horizontalResolution.
References sfi.director.util.ImageInfo.horizontalResolution().
void sfi.director.util.ImageInfo.identify | ( | File | img | ) | throws DirectorException |
try ImageMagick
References sfi.director.util.Tools.execUtility(), sfi.director.util.ImageInfo.height(), sfi.director.util.ImageInfo.horizontalResolution(), sfi.director.util.Tools.split(), sfi.director.util.ImageInfo.verticalResolution(), and sfi.director.util.ImageInfo.width().
Referenced by sfi.director.util.ImageInfo.ImageInfo().
void sfi.director.util.ImageInfo.thumbnail | ( | File | dest, |
int | maxwidth, | ||
int | maxheight | ||
) | throws DirectorException |
References sfi.director.util.Tools.execWait().
Referenced by sfi.director.application.autodoc.DocChapter.addImage().
int sfi.director.util.ImageInfo.verticalResolution | ( | ) |
Accessor for attribute verticalResolution.
Referenced by sfi.director.util.ImageInfo.identify(), and sfi.director.util.ImageInfo.verticalResolution().
int sfi.director.util.ImageInfo.verticalResolution | ( | int | verticalResolution | ) |
Mutator for attribute verticalResolution.
References sfi.director.util.ImageInfo.verticalResolution().
int sfi.director.util.ImageInfo.width | ( | ) |
Accessor for attribute width.
Referenced by sfi.director.util.ImageInfo.identify(), and sfi.director.util.ImageInfo.width().
int sfi.director.util.ImageInfo.width | ( | int | width | ) |
Mutator for attribute width.
References sfi.director.util.ImageInfo.width().
|
protected |
Referenced by sfi.director.application.autodoc.DocChapter.addImage().
|
protected |
|
protected |
|
protected |
Referenced by sfi.director.application.autodoc.DocChapter.addImage().