Title: Image Printing Post by: Gary C. on October 14, 2016, 10:08:58 am Hi
I have a report that contains images (product details) and for some images the report works fine, for others it errors with: Premature end of file Cause:/opt3/teq/rpt/tcmstr2.4rp:Product Overview Image, url:error:(GS-31326) Failed to load image from data URL "data:image/jpg;base64,/9j/7QAs..." (cause=Unsupported Image Type) The images are stored as blobs and sent to the report in a fashion like this: Code
Within the report the image box that is to contain the image has a Location value of: Code: "data:image/jpg;base64,"+imagefile I am sure it is image related as if I take the an image that errors (a jpg) and save it as a png version then the report works. So, can anyone see any issues with the above approach and are there any limitations when trying to print jpg images? I would have attached some example images but the attachment size limit is woefully small. Thanks Title: Re: Image Printing Post by: Alex G. on October 14, 2016, 11:09:19 am Hi Gary,
from the top of my head I think to remember that we can't render certain CMYK jpeg images (a limitation of current Java image rendering plugins). This might be the issue here. I suggest that you send the image to our support so that they can take a look. Kind regards, Alex |