Rotating 90º In a Blob Image in JasperReports
问题 So I have a small jrxml with this: The two images are of the field type BLOB in a firebird database and to show it correctly I'm using new ByteArrayInputStream((byte[])$F{FOFU}) on the image expression. After reading a bit I figured the only way to rotate this image is to do it programmatically on java and I have no idea how to do, even after reading some posts here and other places. Can anyone help me with this ? 回答1: private byte[] rotateImage(byte[] originalImageAsBytes , double radians)