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

  • Thread starter Thread starter Dev
  • Start date Start date
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
 
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
 
Back
Top