return;
QByteArray recoData = new QByteArray(recoResource.getRecognition().getBody());
String xml = recoData.toString();
// Get a painter for the image. This is the background (the initial image).
QPixmap pix = new QPixmap(f.fileName());
QPixmap hilightedPix = new QPixmap(pix.size());
QPainter p = new QPainter(hilightedPix);
p.drawPixmap(0,0, pix);
// Create a transparent pixmap. The only non-transparent
// piece is the hilight that will be overlayed to hilight text no the background
QPixmap overlayPix = new QPixmap(pix.size());
overlayPix.fill(QColor.transparent);
QPainter p2 = new QPainter(overlayPix);
p2.setBackgroundMode(BGMode.TransparentMode);
p2.setRenderHint(RenderHint.Antialiasing, true);
QColor yellow = QColor.yellow;
// yellow.setAlphaF(0.4);