Devildib
asked on
Image upload and format
Hi experts,
I am having a wcf client and a proxy layer in my project, that calls a wcf service hosted by anither team.Via my UI, i allow users to upload valid .gif imaged that show as preview and on save , is passed via the proxy layer after xml serialization in byte array format to the service.Now, the service is such that it accepts of base64 bit only,hence its having issue with the byte array i send.
Please suggest if there is a quick way to change the format just before sending the image file back to service.While uploading and displaying on UI with byte array format i dont have any issues.So i would prefer to convert the format only while sending.
I am having a wcf client and a proxy layer in my project, that calls a wcf service hosted by anither team.Via my UI, i allow users to upload valid .gif imaged that show as preview and on save , is passed via the proxy layer after xml serialization in byte array format to the service.Now, the service is such that it accepts of base64 bit only,hence its having issue with the byte array i send.
Please suggest if there is a quick way to change the format just before sending the image file back to service.While uploading and displaying on UI with byte array format i dont have any issues.So i would prefer to convert the format only while sending.
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.