| Author |
Decode base64 string to an image(pdf, png, ....)
|
Rohit Borse
Greenhorn
Joined: May 26, 2011
Posts: 1
|
|
Hi,
I wanted to decode base64 string to an image(pdf,png,....)
Originally, image type (pdf, png,...) is getting encoded into base64 file in SOAP response as below
I am trying to decode value from Image body to pdf or png.
Please suggest a script for this.
Again, I need help for generating images if there exists more than 1 image parts in an xml response as below:
Thanks
Rohit
|
Thansk
Rohit Borse
|
 |
Elchin Asgarli
Ranch Hand
Joined: Mar 08, 2010
Posts: 222
|
|
|
Try Apache Commons Codec library that has base64 decoder and encoder.
|
Personal page, SCJP 6 with 91%, SCWCD 5 with 84%, OCMJD
|
 |
 |
|
|
subject: Decode base64 string to an image(pdf, png, ....)
|
|
|