:: AForge.NET Framework :: Articles :: Forums ::

How to reduce color depth to 4bits?

Forum to discuss AForge.NET Framework, its features, API, how-tos, etc.

How to reduce color depth to 4bits?

Postby raf1hh » Thu Sep 30, 2010 9:01 pm

Hi guys,

does anybody know how to convert a grayscale image from 8bpp to 4bpp (16 shades of gray, no dithering)?

I tried the usual approaches like cloning an image into another with 4bit pixel format but the results where horrible. Ideally I would like to achieve similar result to what xnview does (you can reduce the shades of gray from 256 all the way down to 4).


Posts: 1
Joined: Thu Sep 30, 2010 8:53 pm

Return to AForge.NET Framework