public interface IPageImage
Modifier and Type | Method and Description |
---|---|
List<IProblemItem> |
checkCharacters(LowVisionType type,
String urlS,
int frameId)
Check accessibility issues inside the image.
|
void |
extractCharacters()
Extract character position in the image
|
BufferedImage |
getBufferedImage()
Convert image data into
BufferedImage |
int |
getHeight()
Get height of image
|
ImagePositionInfo[] |
getInteriorImagePosition()
Get interior image position (e.g.,
|
int |
getWidth()
Get width of image
|
boolean |
hasInteriorImageArraySet()
Check existence of interior image position information
|
void |
setInteriorImagePosition(ImagePositionInfo[] infoArray)
Set interior image position (e.g.,
|
void |
writeToBMPFile(String _fileName)
Write image to File as Bitmap
|
void |
writeToBMPFile(String _fileName,
int _bitCount)
Write image to File as Bitmap
|
int getWidth()
int getHeight()
void extractCharacters() throws ImageException
ImageException
ImagePositionInfo[] getInteriorImagePosition()
ImagePositionInfo
void setInteriorImagePosition(ImagePositionInfo[] infoArray)
infoArray
- array of ImagePositionInfo
boolean hasInteriorImageArraySet()
List<IProblemItem> checkCharacters(LowVisionType type, String urlS, int frameId) throws ImageException, org.eclipse.actf.visualization.internal.engines.lowvision.problem.LowVisionProblemException
type
- target low vision typeurlS
- target's URLframeId
- target's frame IDIProblemItem
)ImageException
org.eclipse.actf.visualization.internal.engines.lowvision.problem.LowVisionProblemException
BufferedImage getBufferedImage()
BufferedImage
BufferedImage
void writeToBMPFile(String _fileName) throws LowVisionIOException
_fileName
- target file pathLowVisionIOException
void writeToBMPFile(String _fileName, int _bitCount) throws LowVisionIOException
_fileName
- target file path_bitCount
- depth of color (16 or 24)LowVisionIOException