Just found a second silent data corruption bug in ImageMagick's convert, I'm too tired of it and I don't trust these are the only ones.

Can anyone offer me alternatives?
I need a tool to convert BMP to PNM.
It would be nice to have something that would split PNGs into rgb/alpha parts; I used ImageMagick here and I haven't seen any problem, but I don't trust it. I think I'll have to verify it somehow.