Saving Tiff as 16 bpp ?
- From: "news@xxxxxxxxxxxxxxx" <news@xxxxxxxxxxxxxxx>
- Date: Sat, 24 Sep 2005 21:35:49 +0100
I have a bitmap and Im trying to save it as a 16bpp Tiff. I have the code
below to save it as 8bpp but can't find how to save as 16bit. Any help
appreciated.
myImageCodecInfo = GetEncoderInfo("image/tiff");
myEncoder = Encoder.ColorDepth;
myEncoderParameters = new EncoderParameters(1);
myEncoderParameter = new EncoderParameter(myEncoder, 24L);
myEncoderParameters.Param[0] = myEncoderParameter;
myPicture.Save(filename, myImageCodecInfo, myEncoderParameters);
Regards
Todd
.
- Prev by Date: Re: Logon with Digital Siganture (PKI/OCES - or what else they're called)
- Next by Date: Re: set property of a control
- Previous by thread: Databinding
- Next by thread: IEnumerable semantics
- Index(es):
Relevant Pages
|