Load Image from a byte array

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

Hi
Could anyone tell me how to load an image from a byte array without storing the image file on the disk
My image is basically saved in the database in an 'Image; column, I get the same as a byte array and need to load the image from this
Thanks
 
Not sure if this is possible, but the BitMap class is able to get it's data
from a stream, so I'd guess you should be able to create is based on a
memorystream....

Søren



Nonnie said:
Hi,
Could anyone tell me how to load an image from a byte array without
storing the image file on the disk?
My image is basically saved in the database in an 'Image; column, I get
the same as a byte array and need to load the image from this.
 
The freely-available framework extensions libraries I have developed contain
methods for handling binary data. One of them returns an image from a
database field.

Fully documented. Requires .NET framework 1.1 or later.

You will be allowed to use the libraries in any application - private or
commercial, and distribute them as part of your application, royalty-free.

E-mail me for your free copy: (e-mail address removed)
Your acceptance of the license agreement will be required.

Ori


Nonnie said:
Hi,
Could anyone tell me how to load an image from a byte array without
storing the image file on the disk?
My image is basically saved in the database in an 'Image; column, I get
the same as a byte array and need to load the image from this.
 
Back
Top