IBM webMethods Hybrid Integration

IBM webMethods Hybrid Integration

Join this online group to communicate across IBM product users and experts by sharing advice and best practices with peers and staying up to date regarding product enhancements.

 View Only
Expand all | Collapse all

Base64 To Image Conversion

  • 1.  Base64 To Image Conversion

    Posted Thu February 25, 2016 01:53 AM

    Hello Team,

    Could you please guide me how to convert the base-64 string to image format?

    I am using base64Decode, byteToString,StringToFile sequence to achieve this, but seems its not the right approach as the images are getting corrupted.

    Regards
    Sasanka


    #Integration-Server-and-ESB
    #webMethods


  • 2.  RE: Base64 To Image Conversion

    Posted Thu February 25, 2016 05:30 PM

    after decoding, write bytes directly to file.
    You shouldn’t convert it to string.


    #Integration-Server-and-ESB
    #webMethods