Decoding the base-64 encoded image

Discussions

XML & Web services: Decoding the base-64 encoded image

  1. Decoding the base-64 encoded image (2 messages)

    Hi, I need to decode the base 64 encoded image to a jpeg or gif file. I'm getting the encoded image (series of characters) from a webservice. How I can decode this using Java? Thanks for your suggestions in advance. Regards, Prasanna
  2. Hi,

    I need to decode the base 64 encoded image to a jpeg or gif file. I'm getting the encoded image (series of characters) from a webservice. How I can decode this using Java?
    Thanks for your suggestions in advance.

    Regards,
    Prasanna
    ---------------------------------------------------- I got the solution by making use of common-codec.jar, http://commons.apache.org/codec/. Thanks.
  3. Hi Prasanna, Can to please tell the exact code for converting Base 64 encoded image string to Jpg file I need it to save the images returned by Selenium grid members which are in 64 encoded string form. Also let me know if you need any selenium expertise.. Thanks in Advance..