Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 6651095
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 26, 20262026-05-26T00:58:11+00:00 2026-05-26T00:58:11+00:00

I upload an image to a fileStream. Then I put it on a Image

  • 0

I upload an image to a fileStream. Then I put it on a Image object. If I want to show this image to the page, which way should I follow ?

System.Drawing.Image image = System.Drawing.Image.FromStream(file.InputStream))

**IMMEDIATE WINDOW**
image
{System.Drawing.Bitmap}
    [System.Drawing.Bitmap]: {System.Drawing.Bitmap}
    base {System.MarshalByRefObject}: {System.Drawing.Bitmap}
    Flags: 0x00013012
    FrameDimensionsList: {System.Guid[0x00000001]}
    Height: 0x0000012f
    HorizontalResolution: 95.9865952
    Palette: {System.Drawing.Imaging.ColorPalette}
    PhysicalDimension: {Width = 988.0 Height = 303.0}
    PixelFormat: Format32bppArgb
    PropertyIdList: {int[0x00000005]}
    PropertyItems: {System.Drawing.Imaging.PropertyItem[0x00000005]}
    RawFormat: {[ImageFormat: b96b3caf-0728-11d3-9d7b-0000f81ef32e]}
    Size: {Width = 0x000003dc Height = 0x0000012f}
    Tag: null
    VerticalResolution: 95.9865952
    Width: 0x000003dc

Thanks in advance,

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-26T00:58:12+00:00Added an answer on May 26, 2026 at 12:58 am

    If you want to display image on a website, I would use a Generic Handler (.ashx) to read file stream and output directly to Response object. Adding cache headers would also prevent from reading file stream on every request.

    Kris

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

How to do the following: I want to have a link [upload image] which
I want to upload image file into couchdb using javascript. For this i am
I want to upload image with the help of ajax or jQuery without page
I want to upload image on twitter.For this I used Twitpic API .I am
i want to upload image int the bitmap object from asp.net, the image is
According to this question I succeeded to create upload image, but now I need
in my page. when i upload image i did image management. after that i
I'm trying to upload image to Amazon S3 with this Ruby code: require 'net/http/post/multipart'
I want to upload the image using the .NET webservices and that will be
hi i want to upload image on server and i have done it but

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.