I am currently displaying a WebControls.Image within a container panel
on my web form.

I need to be able to sometimes display a relected version of the
image, and other times just the normal unaltered image.

I have tried playing with:

RotateFlip(RotateFlipType.RotateNoneFlipY)

but it doesn't seem to work with this type of image- only images of
type system.Drawing.Image.bitmap.

What I would like to do is save this image to memory (rather than just
saving it onto the server- a nightmare if there are multiple users),
then get the image object objphoto to read it instead of just reading
the original unflipped file.

I've never used memorystream before. This is the code I'm attempting
to use to read the image into the stream:

Dim MemStream As New MemoryStream
objBitmap.Save(MemStream, ImageFormat.Png)
How do I get it back out again?

Previously I set the file location directly (i.e. objphoto.ImageUrl="..
\filename.png"). Can I fetch this stored image a similar way?

Reply via email to