Hi,
Not sure what you mean by image blob, but you can retrieve raw byte data from a DB, feed it into a MemoryStream and create an Bitmap using Image.FromStream.
You can use Bitmap.GetPixel/SetPixel to access individual pixels, or if performance is an issue, read up on Bitmap.LockBits and 'unsafe' code blocks.
On Wed, 11 May 2005 18:34:05 +0200, HackerSpiff <Ha*********@discussions.microsoft.com> wrote:
From a server process (no display access) I would like to take an image (most
likely GIF or JPG) as a blob from a DB and rummage around the pixel values.
Are there classes in the .NET framework that will enable me to decode an
image blob like this?
What classes should I look at for handling images on a pixel-bytes / color
table kind of level?
Thanks.
--
Happy coding!
Morten Wennevik [C# MVP]