cancel
Showing results for 
Search instead for 
Did you mean: 

uploading a image file and it has to convert into PDF file and store

Former Member
0 Kudos

Hi Gurus,

I am uploading a image file and it has to convert into PDF file

and store in C-folder.

can anybody suggest me How to do that.

Thanks & Reagrds

kalyan.

Accepted Solutions (0)

Answers (1)

Answers (1)

thomas_jung
Developer Advocate
Developer Advocate
0 Kudos

You can use the FileUpload UI element to upload the image. You will then have it in memory on the application server (as an XSTRING). Conversion to PDF is going to be more difficult. Are you really sure you want PDF. That doesn't seem like an efficient way to store/display an image. With the IGS you can convert between the common image types - JPG, TIFF, BMP, GIF - but not PDF. You would have to create an adobe form template that has an image element within it. You can then pass the XSTRING of the image through the context of the adobe form and into the image UI element on the form.

I would suggest going the route of a print based (function module) form interface. You could then call the rendering of the form and receive back the PDF stream without needing the InteractiveForm UI element.