If you're getting the information stripe by stripe you can use a bitmap with
values that you're getting to suit an 8 bit value (rotate right by 1 bit).
"andi" <charon@schiefermueller.com> wrote in message
news:a2d0b2b3.0404052347.501850e7@posting.google.com...
> thanks bob,
>
> i get those images from an CCD-cam stripe per stripe. these are
> greyscale images. i handle these images with marox-active-mil 7.5 in
> c# (this is painful, too...). but i need to generate thumbnails out of
> it, so i can use them in an thumbnail-image navigator.
>
> is there any other possibility to face my needs? is there any way to
> generate thumbnails? how can i read just the imageinformation out of
> the picture - or - is it possible to convert it in an other format -
> like 24bpp or something else?
>
> bob, please help me!!
>
> thanks so far!
> andi
>
>
> "Bob Powell [MVP]" <bob@_spamkiller_bobpowell.net> wrote in message
news:<uHdJEd2GEHA.3164@TK2MSFTNGP11.phx.gbl>...
> > How do you get the image?
> >
> > If it's in a stream or byte array we may be able to read it byte for
byte
> > and decode it while creating a GDI+ style bitmap
> >
> >
> > --
> > Bob Powell [MVP]
> > Visual C#, System.Drawing
> >
> > All you ever wanted to know about ListView custom drawing is in Well
Formed.
> >
http://www.bobpowell.net/currentissue.htm > >
> > Answer those GDI+ questions with the GDI+ FAQ
> >
http://www.bobpowell.net/gdiplus_faq.htm > >
> > Read my Blog at
http://bobpowelldotnet.blogspot.com > >
> > "andi" <charon@schiefermueller.com> wrote in message
> > news:a2d0b2b3.0404051141.73f38810@posting.google.com...
> > > Hi!!
> > >
> > > i just asked this question, under another circumstances:
> > > I get 16bit greyscale from an scanner, and i want to generate
> > > thumbnails out of it. i thought it would be quite easy to use an
> > > picturebox under c#, but i have problems to open the files, couse i
> > > get "an generic error occured in gdi+"
> > >
> > > i dont have any clue what to do?!?
> > >
> > > is there any other way, i cant see??
> > >
> > > please help!
> > >
> > > andi