Display the image into picturebox without saving image files into Hard disk

D

Dev

Dear Friends,



I am passing the image name, size (in bytes) and imgaeformat (like jpg or bmp or pdf) through the network.



I want display the image into picturebox without saving image files into Hard disk. Just display the image into PictureBox.... Is it Possible? If so how do to this?



Programming language - VC#

What is MemoryBmp (Image Format) in C#?



If any one knows....Please let me know....

Any suggestion would be greatly appreciated...



Thanks,

Dev
 
C

Chris Capel

Do you have the network path of the image? If so, you don't need the size, or the type. Just do this:

Image i = Image.FromFile(networkpath);
pictureBox1.Image = i;

Does this help?

Or do you mean you're passing the actual content of the image over a socket?

Chris
Dear Friends,



I am passing the image name, size (in bytes) and imgaeformat (like jpg or bmp or pdf) through the network.



I want display the image into picturebox without saving image files into Hard disk. Just display the image into PictureBox.... Is it Possible? If so how do to this?



Programming language - VC#

What is MemoryBmp (Image Format) in C#?



If any one knows....Please let me know....

Any suggestion would be greatly appreciated...



Thanks,

Dev
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top