ImageEn for Delphi and C++ Builder ImageEn for Delphi and C++ Builder

 

ImageEn Forum
Profile    Join    Active Topics    Forum FAQ    Search this forumSearch
 All Forums
 ImageEn Library for Delphi, C++ and .Net
 ImageEn and IEvolution Support Forum
 how to decode and show image in ImageEn

Note: You must be registered in order to post a reply.
To register, click here. Registration is FREE!

View 
UserName:
Password:
Format  Bold Italicized Underline  Align Left Centered Align Right  Horizontal Rule  Insert Hyperlink   Browse for an image to attach to your post Browse for a zip to attach to your post Insert Code  Insert Quote Insert List
   
Message 

 

Emoji
Smile [:)] Big Smile [:D] Cool [8D] Blush [:I]
Tongue [:P] Evil [):] Wink [;)] Black Eye [B)]
Frown [:(] Shocked [:0] Angry [:(!] Sleepy [|)]
Kisses [:X] Approve [^] Disapprove [V] Question [?]

 
Check here to subscribe to this topic.
   

T O P I C    R E V I E W
yogiyang Posted - Dec 18 2015 : 22:09:21
Hello,

I am using a web service to interact with a remote database.

This web service is sending images in following formatted string:
data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAADwAAAA8CAIAAAC1nk4lAAAYj0lEQVRogb2aeXRd1ZXmf/tObx6kp8GSnibbsjzh.........NO0Os44dsjCKRtv+XdvNoyTJH5TS3jaOIWnPw77Ccb/cTsV9fjfP81LtkC96dEAAAAASUVORK5CYII=


How can I decode this image and load it in ImageEnView?

TIA


Yogi Yang
1   L A T E S T    R E P L I E S    (Newest First)
Uwe Posted - Dec 19 2015 : 18:19:41
Yogi, try this ...

http://www.experts-exchange.com/questions/23481720/Delphi-How-to-decode-Base64-encoded-string-into-viewable-bitmap-image.html

... or this ...

http://stackoverflow.com/questions/2644745/delphi-2010-decode-base64-encoded-image-from-xml-doc

for example.

-Uwe