(config.getBackend()==config.PDFTEX && MIMETypes.JPEG_EXT.equals(sExt)) ||
(config.getBackend()==config.PDFTEX && MIMETypes.PNG_EXT.equals(sExt)) ||
(config.getBackend()==config.DVIPS && MIMETypes.EPS_EXT.equals(sExt)));
}
else { // embedded or base64 encoded image
BinaryGraphicsDocument bgd = palette.getImageLoader().getImage(node);
if (bgd!=null) {
palette.addDocument(bgd);
sFileName = bgd.getFileName();
String sMIME = bgd.getDocumentMIMEType();
bCommentOut = !(
(config.getBackend()==config.PDFTEX && MIMETypes.JPEG.equals(sMIME)) ||
(config.getBackend()==config.PDFTEX && MIMETypes.PNG.equals(sMIME)) ||
(config.getBackend()==config.DVIPS && MIMETypes.EPS.equals(sMIME)));
}