webMethods

webMethods

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

converting base64 encoded string as an image

  • 1.  converting base64 encoded string as an image

    Posted Thu July 17, 2014 06:01 AM

    Hi All,

    I am trying to convert base64 encoded string back to image and sending it as a mail attachment.
    but it is not working…the resulting image file seems to be corrupted,unable to open it.

    i have passed base64 encoded string as input to pub.string:base64Decode
    and then passed the resulting byte array to content of pub.client:smtp service.
    (contentType=image/tiff).

    Thanks,
    Shiva


    #webMethods
    #Flow-and-Java-services
    #Integration-Server-and-ESB