Bitmap on page
-
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.
-
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.
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