I'm trying to make a new tileset from scratch. I am having problems with the pallette. When I take a ZNES screenshot it comes out as 24 bit. What's the best way to convert this to ZQ compatible without losing the color?

Does anyone know of a good freeware program that can convert images to 16 bit, without distorting the colors?