Resources and Support | |
![]() |
![]() |
![]() ![]() |
Author | Message |
torguen
Midshipman ![]() Joined: 26 January 2016 Online Status: Offline Posts: 59 |
![]() ![]() ![]() Posted: 06 March 2015 at 7:49am |
Hello, please, ¿does anyone know any program that can reduce the number of colors in an image to 4 colors?.
No phosothop. I want to reduce to 4 colors of this picture. ![]() |
|
![]() |
|
surt
Commander ![]() ![]() Joined: 30 December 2015 Online Status: Offline Posts: 413 |
![]() ![]() ![]() |
Every halfway decent image editor ever.
GraphicsGale, Gimp, Photoshop. Most do a pretty crappy job though. eg. Gimp: ![]() |
|
![]() |
|
![]() |
|
neota
Commander ![]() ![]() Joined: 27 November 2018 Online Status: Offline Posts: 158 |
![]() ![]() ![]() |
Given that your image is indexed already, you could use GrafX2's palette editor to reduce it. First, use the reduce function to reduce it to a manageable number of colors, say, about 16 colors -- whatever looks 'decent quality' to you. Then you can Merge remaining colors as you see fit, until you end up with a 4-color result. This gives you a fair bit of control over the result.
Surt: Most image editors use some kind of median cut. GIMP in particular uses a median cut in LAB colorspace. The overall effect tends to reduce extreme values. You can compensate for this effect by preprocessing the image with color adjustments (Saturation, Contrast, Brightness) and sharpening (my favorite is GMIC 'freaky details' filter on default settings), possibly Retinex or tone mapping. This is.. kind of something you should really consider doing anyway, get the image just right before you go nuking its colorcount. Here's what you get, quantizing after applying Freaky Details once. ![]() IMO this is pretty acceptable; it's about as good a result as you could hope for from such a poorly defined input image. BTW NeuQuant is pretty much the best quantization algorithm I've come across.. IF you want 64-256c palette. It's not very helpful for palettes this small, unfortunately. Edited by neota - 07 March 2015 at 2:16am |
|
absolutely.
|
|
![]() |
|
torguen
Midshipman ![]() Joined: 26 January 2016 Online Status: Offline Posts: 59 |
![]() ![]() ![]() |
Ok thanks, I tested with gale graphics but the results did not like.
In the end I adapted a program I found for my needs. |
|
![]() |
|
![]() ![]() |
||
Forum Jump |
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot delete your posts in this forum You cannot edit your posts in this forum You cannot create polls in this forum You cannot vote in polls in this forum |