Have you tried the freely downloadable Amiga program Hamlab? There was a thread about it here somewhere. It could open JPGs (maybe other formats, I forget) and convert to various types of ILBM, including sliced/HAM
That program gave me some ideas that I used to make my own color reduction/optimization utilities targetting other platforms.
see this converted image for an Atari (80x200 resolution, 128 available colors, 9 colors per line)
http://www.hyakushiki.net/bc320.pngsame image on MSX2 (512x424 resolution (interlaced), 512 available colors, 14 colors per line)
http://www.hyakushiki.net/bc512.pngan image converted for the TurboGrafx16 (352x224 resolution, 512 available colors, 16 palettes of 15 colors)
http://www.hyakushiki.net/j-idols.pngOCS Amiga can do even a little better than MSX2