Results 1 to 4 of 4
  1. #1
    onlyabhinav is offline Member
    Join Date
    Jan 2011
    Posts
    6
    Rep Power
    0

    Default Encode Image into Base64 value.

    How can I encode Image into Base64 value. I got help on encoding string but not for the images. Please help.

    -
    Abhinav

  2. #2
    masijade is offline Senior Member
    Join Date
    Jun 2008
    Posts
    2,571
    Rep Power
    9

    Default

    And how would it be any different for an Image?

  3. #3
    onlyabhinav is offline Member
    Join Date
    Jan 2011
    Posts
    6
    Rep Power
    0

    Default

    I thought the same. But I am having problem while decoding the encoded value in other platform. I have to use that base64 value to render image in PDF file. Because it only accepts base64 value. I try it in .Net & it works fine. But I have to use only Java & its not working.

  4. #4
    masijade is offline Senior Member
    Join Date
    Jun 2008
    Posts
    2,571
    Rep Power
    9

    Default

    Well, describe "not working" as that is a useless problem description, and then, maybe, you should show the relevant code.

Similar Threads

  1. Xml Rendering BASE64 break line problem
    By justinazz in forum XML
    Replies: 0
    Last Post: 01-05-2011, 05:46 PM
  2. Encode data to torrent?
    By greatmajestics in forum AWT / Swing
    Replies: 0
    Last Post: 04-28-2010, 05:12 PM
  3. Problem with Base64 encoding
    By Smirgu in forum Advanced Java
    Replies: 1
    Last Post: 04-15-2010, 12:05 PM
  4. Url Encode
    By Sean_J in forum New To Java
    Replies: 0
    Last Post: 03-19-2010, 03:54 PM
  5. Include Base64 encoded data into XML
    By afolli in forum New To Java
    Replies: 0
    Last Post: 09-11-2008, 11:22 AM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •