Results 1 to 1 of 1
- 05-25-2011, 01:07 PM #1
Member
- Join Date
- May 2011
- Posts
- 1
- Rep Power
- 0
Decode base64 string to an image(pdf, png, ....)
Hi,
I wanted to decode base64 string to an image(pdf,png,....)
Originally, image type (pdf, png,...) is getting encoded into base64 file in xml response as below
I am trying to decode value from Image body to pdf or png.Java Code:<ns1:Label> <ns1:Name>Label01</ns1:Parts> <ns1:Parts> <ns1:DocumentPartSequenceNumber>1</ns1:DocumentPartSequenceNumber> <ns1:Image>HOJBAAAElFTkSuQmCC.....</ns1:Image> </ns1:Parts> </ns1:Label>
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:
Java Code:<ns1:Label> <ns1:Name>Label01</ns1:Parts> <ns1:Parts> <ns1:DocumentPartSequenceNumber>1</ns1:DocumentPartSequenceNumber> <ns1:Image>HOJBAAAElFTkSuQmCC.....</ns1:Image> </ns1:Parts> </ns1:Label> <ns1:Label> <ns1:Name>Label02</ns1:Parts> <ns1:Parts> <ns1:DocumentPartSequenceNumber>1</ns1:DocumentPartSequenceNumber> <ns1:Image>dfdJBAAAElFTkSuQmCC.....</ns1:Image> </ns1:Parts> </ns1:Label>
Thanks
Rohit
Similar Threads
-
Base64
By hardcorebadger in forum New To JavaReplies: 4Last Post: 01-27-2011, 08:40 PM -
Encode Image into Base64 value.
By onlyabhinav in forum New To JavaReplies: 3Last Post: 01-25-2011, 07:44 AM -
Problem with Base64 encoding
By Smirgu in forum Advanced JavaReplies: 1Last Post: 04-15-2010, 11:05 AM -
allowable characters from URLDecoder.decode(String
By Nicholas Jordan in forum NetworkingReplies: 4Last Post: 10-18-2008, 05:46 PM -
Include Base64 encoded data into XML
By afolli in forum New To JavaReplies: 0Last Post: 09-11-2008, 10:22 AM


LinkBack URL
About LinkBacks
Reply With Quote
Bookmarks