tmpSize = 1;
}
logger.trace("tmpSize: " + tmpSize);
if (ConfigMain.getParameter("goobiContentServerUrl", "").equals("")) {
logger.trace("api");
ImageManager im = new ImageManager(new File(inFileName).toURI().toURL());
logger.trace("im");
RenderedImage ri = im.scaleImageByPixel(tmpSize, tmpSize, ImageManager.SCALE_BY_PERCENT, intRotation);
logger.trace("ri");
JpegInterpreter pi = new JpegInterpreter(ri);
logger.trace("pi");
FileOutputStream outputFileStream = new FileOutputStream(outFileName);
logger.trace("output");