Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
  1. Home
  2. Web Development
  3. ASP.NET
  4. Bitmap on page

Bitmap on page

Scheduled Pinned Locked Moved ASP.NET
winformsgraphics
2 Posts 2 Posters 0 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • S Offline
    S Offline
    sabrown100
    wrote on last edited by
    #1

    I'm creating an image editing tool website and I want to know how I can display a bitmap class on a webpage like you can do in windows forms. There is an image control supplied but that only lets me specify a url. I could just save it to a file and set the image url to that but then if they refresh the page they will see someone else's work.

    G 1 Reply Last reply
    0
    • S sabrown100

      I'm creating an image editing tool website and I want to know how I can display a bitmap class on a webpage like you can do in windows forms. There is an image control supplied but that only lets me specify a url. I could just save it to a file and set the image url to that but then if they refresh the page they will see someone else's work.

      G Offline
      G Offline
      Guffa
      wrote on last edited by
      #2

      If you would want to do that, you would have to create a component that you could run in the browser, that would display the image. It would not be very efficient, though, as the data in a bitmap object is not compressed. The browser itself is only capable of displaying images in the form of an image file. They don't have to be saved on the server as an actual file, though, you can create a page that creates the image file data and sends it as a response to the browser.

      --- "Anything that is in the world when you're born is normal and ordinary and is just a natural part of the way the world works. Anything that's invented between when you're fifteen and thirty-five is new and exciting and revolutionary and you can probably get a career in it. Anything invented after you're thirty-five is against the natural order of things." -- Douglas Adams

      1 Reply Last reply
      0
      Reply
      • Reply as topic
      Log in to reply
      • Oldest to Newest
      • Newest to Oldest
      • Most Votes


      • Login

      • Don't have an account? Register

      • Login or register to search.
      • First post
        Last post
      0
      • Categories
      • Recent
      • Tags
      • Popular
      • World
      • Users
      • Groups