PC Review


Reply
Thread Tools Rate Thread

Display base64 image in web application

 
 
BC
Guest
Posts: n/a
 
      18th Mar 2005
Hello,

I have a resource file that contains an image that has been converted to
base64 data. Now what I need to do is glab the base64 data from the
resource file and display it in the browser as an image. I'm having
trouble on how to display it in the web browser as an image.


Cheers,

Benny

*** Sent via Developersdex http://www.developersdex.com ***
Don't just participate in USENET...get rewarded for it!
 
Reply With Quote
 
 
 
 
=?UTF-8?B?TWFyY2luIEdyesSZYnNraQ==?=
Guest
Posts: n/a
 
      18th Mar 2005
Hi Benny,

I had not much to do with HTTP in C#, but i can recomend to
use Convert.FromBase64String(...) to get image bytes.
Then you need to pass it by HTTP stream.

HTH
Marcin

> Hello,
>
> I have a resource file that contains an image that has been converted to
> base64 data. Now what I need to do is glab the base64 data from the
> resource file and display it in the browser as an image. I'm having
> trouble on how to display it in the web browser as an image.
>
>
> Cheers,
>
> Benny
>
> *** Sent via Developersdex http://www.developersdex.com ***
> Don't just participate in USENET...get rewarded for it!

 
Reply With Quote
 
BC
Guest
Posts: n/a
 
      18th Mar 2005
Im able to get the base64 data and convert it back to image. but im
having trouble on how to display it. i can use response.binarywrite,
however the image will display, but not the rest of my controls. any
idea how?


cheers,

benny

*** Sent via Developersdex http://www.developersdex.com ***
Don't just participate in USENET...get rewarded for it!
 
Reply With Quote
 
 
 
Reply

Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Convert image to Base64 string in VBA SpeeD Microsoft Excel Programming 3 8th Nov 2011 12:28 PM
Decode a PNG image from Base64 =?Utf-8?B?QmVnaW5uZXI=?= Microsoft ASP .NET 0 9th Mar 2006 10:04 PM
c# . Convert image to Base64 string! marcelo szwarc via .NET 247 Microsoft Dot NET 1 31st May 2005 07:18 PM
Ways to convert an image to base64 and back James dean Microsoft C# .NET 1 1st Apr 2005 03:16 PM
Decode base64 image and display in PictureBox control Steve Montague Microsoft C# .NET 3 21st Oct 2004 09:55 PM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 10:07 PM.