| View previous topic :: View next topic |
| Author |
Message |
guest
Joined: 08 Oct 2006 Posts: 3949
|
Posted: Sun Jul 22, 2007 3:40 pm Post subject: Command Line Tool to reduce colour depth of PNG-Tiles |
|
|
| Duffa wrote: |
| Quote: |
| Duffa what did you use in tb_cutter to decrease the bit depth? It actually produces better output than for example pngcrush an opensource command line utility (it produced strange results for bit_depth 4). |
I use CxImage library for loading, saving and cutting bitmaps and CQuantizer for decreasing bit depth of bitmaps. |
PNG-tiles reduced to 4 bpp by TB Cutter have indeed very good quality!!
Who knows or could create a simple command line tool which reduces a given PNG file to a given bit depth??? This could be used universally with or by every map/atlas creation tool and for every png processing. Something delivering better quality than pngcrush seems to be missing out there...  |
|
| Back to top |
|
 |
guest
Joined: 08 Oct 2006 Posts: 3949
|
Posted: Tue Sep 25, 2007 10:16 pm Post subject: |
|
|
Who wants to create this tool?  |
|
| Back to top |
|
 |
smee0815
Joined: 20 Sep 2007 Posts: 1
|
|
| Back to top |
|
 |
guest
Joined: 08 Oct 2006 Posts: 3949
|
Posted: Sun Sep 30, 2007 12:21 am Post subject: |
|
|
Thanks for the link, it's some nice tool.
However I tried it out and I'm sorry to say it's not reaching the quality of tb_cutter's output. This might be because pngquant seems to use dithering for reducing the number of colors, while tb_cutter seems to use the nearest available color without dithering. This is better for the readability of letters, i.e. in streetnames. Also when looking at the file properties pngquant does NOT actually reduce the bit depth of the file to 4, it only reduces the number of colors to 16.
So still looking out for an appropriate utility...  |
|
| Back to top |
|
 |
guest
Joined: 08 Oct 2006 Posts: 3949
|
|
| Back to top |
|
 |
|