Changing Color depth of a jpeg image

O

Onwuka Emeka

is there a way to reduce or modify the color depth of a jpeg image, i
currently need to programatically change the color depth of a jpeg image
from 24bits to 8bits. any help would be appreciated
 
?

=?ISO-8859-1?Q?G=F6ran_Andersson?=

The color depth of a JPEG image is 8 bits per color channel. There is no
JPEG format (except grayscale) with a color depth of 8 bits per pixel.
 
O

Onwuka Emeka

I found a solution. http://freeimage.sourceforge.net/. there is a nice
though incomplete .NET wrapper for it, it has a method that converted the
24bit to 8bit, and yeah its grayscale :).

I updated the wrapper and would be posting it to my blog soon.

Thanks.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top