By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
435,319 Members | 1,963 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 435,319 IT Pros & Developers. It's quick & easy.

ImageFormatConverter to convert a 32Bit BMP image to a 256 BMP Ima

P: n/a
Hi,

VS2005 - C# - .NET2

I am trying to convert a 32Bit BMP image to a 256 BMP Image, after various
searches, i found the class: ImageFormatConverter.

In the MSDN is stated: “ImageFormatConverter is a class that can be used to
convert colors from one data type to another.”

Does someone have an example of how to use it?

Or can someone example how to create a 256 Color BMP file from a 32Bit BMP
image using .NET2 and C#?
Many Thanks,
Filippo

Sep 13 '06 #1
Share this Question
Share on Google+
1 Reply


P: n/a
>
I am trying to convert a 32Bit BMP image to a 256 BMP Image, after various
searches, i found the class: ImageFormatConverter.

In the MSDN is stated: "ImageFormatConverter is a class that can be used to
convert colors from one data type to another."

Does someone have an example of how to use it?

Or can someone example how to create a 256 Color BMP file from a 32Bit BMP
image using .NET2 and C#?
Many Thanks,
Filippo
In fact, 32bmp image and 256 bmp image has same types. So I think
ImageFormatConverter doesn't used for this. If you want convert image
to grayscale and save it, you can use direct access to values through
BitmapData.

Alex

Sep 14 '06 #2

This discussion thread is closed

Replies have been disabled for this discussion.