*/
public UriRef generateAlternativeImage(GraphNode infoBitNode, int width, int height,
boolean exact) {
try {
isAltRepresentation.set(Boolean.TRUE);
InfoDiscobit infoBit = InfoDiscobit.createInstance(infoBitNode);
BufferedImage buffImage = ImageIO.read(new ByteArrayInputStream(infoBit.getData()));
return generateAlternativeImage(buffImage, new Resolution(width, height),
MediaType.valueOf(infoBit.getContentType()), infoBitNode, exact);
} catch (IOException ex) {
throw new RuntimeException(ex);
} finally {
isAltRepresentation.set(Boolean.FALSE);
}