February 28th, 2012, 08:45 AM
PDF to JPEG in memory(on the fly)nd write the response stream obj directly on browser
Following is the problem statement :
Conversion of PDF to JPEG - needs to happen in memory but not using the physical storage/File Location. Write the response stream object containing images directly to the Client Browser without storing images.
To show the JPEG images in the JSP we are calling the third party web service to fetch PDF file as byte array.
The Third Party web-service will return the PDF file content in base64Binary Format as two dimensional byte arrays.
Then we need to convert it into JPEG and display it on JSP w/o storing it on any physical location.
Earlier we were writing it in a temporary folder (Physical location) and deleting it as soon as user navigates from that page. But that was not acceptable solution.
So we're looking for On-the-Fly conversion.
Thanx in advance.
February 28th, 2012, 01:51 PM
Re: PDF to JPEG in memory(on the fly)nd write the response stream obj directly on bro
Click Here to Expand Forum to Full Width
This is a Codeguru.com survey!