i have a image in Base64 format, i want to decode it into image to dispaly
is there any standard code available to convert Base64 format into Byte or image.
Years ago I worked on a project with a soap protocol over a http connection and authentication. I had to decode an image which was encoded in Base64 algorithm.
Well I used ksoap2 (for the soap protocol), which has 2 methods of decoding:
byte byteArray = Base64.decode(String s);
void method Base64.decode(String s, OutputStream out);
You find the methods in this package: org.kobjects.base64.Base64 (if it didnt change)
I have the same requirement. Server sends the image in Base64 encoded form.
How can i decode it and convert it into LWUIT Image Object.
Thanks in advance.
Your use of this web site or any of its content or software indicates your agreement to be bound by these Terms of Participation.
Copyright © 2015, Oracle and/or its affiliates. All rights reserved. Oracle and Java are registered trademarks of Oracle and/or its affiliates. Other names may be trademarks of their respective owners.