New in this version: better default conversion settings, more detailed ham operation map and fixed error map generation.
Download:
Main mirror (all stable and testing versions)
External mirror
Changelog:
- Amiga modes: additional more aggressive palette generator modes (8, 9).
- Amiga modes: fixed error map generation.
- HAM map saving: added 3 new operations – set using adjusted palette index (dual/triple mode only), modify red using adjusted value and modify blue using adjusted value (triple mode only). They’re modify operations using different value than quantized channel value of the source pixel (-1 or +1) to smoothen difficult color transitions. Adjusted set works in similar manner by using a different palette index.
Your program is very impressive. One thing I noticed is that some images produced by Ham_Convert are lighter. I’m writing a picture viewer/converter to be used on the Amiga. I’m writing the viewer in c code and I have completed all the main conversion functions. I would like to be able to convert 24bit images to Ham6/8 and I have found several sample programs including NetPBM>PpmToIlbm, DataTypeToHam, and Ham_Convert. After doing some conversions to Ham8, clearly Ham_Convert creates superior Ham images. Would it be permitted to view the source code for Ham_Convert, though I don’t use Java. It might provide some new insights into Ham conversion.
The source code is a little bit messy (some parts were written years ago). Send me an e-mail with a list of what you need so I can share some code fragments and describe what is going on there. Address:
http://mrsebe2.bplaced.net/ham_convert/INFO.txt