Groups | Blog | Home
all groups > dotnet general > may 2006 >

dotnet general : Changing Color depth of a jpeg image


Göran_Andersson
5/27/2006 12:00:00 AM
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.

[quoted text, click to view]
Onwuka Emeka
5/27/2006 12:25:20 AM
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


Onwuka Emeka
5/28/2006 2:50:09 AM
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.

[quoted text, click to view]

AddThis Social Bookmark Button