I want to display some tiff's which a stored in BLOB's in an oracle database. I just tried to convert them from tiff to jpg or png using im4java, but that didn't work. Maybe there is a possibility to display .tiff and other img data types in Jasper without converting them?! Or if not, does anybody have a detailed solution how to convert them? (which image class do I need to configure, how to implement in a scriptlet etc.)
Thanks everybody!
IMOperation op = new IMOperation();
op.addImage();
op.addImage();
ConvertCmd convert = new ConvertCmd();
convert.run(op, new Object[]{inputImage.getAbsolutePath(), outputImage.getAbsolutePath()});
return outputImage;`