Image Magick re-encodes into an internal format, before output. If reproducibility is the goal, I'm afraid it just isn't the right tool.
(The IR used to be PixelPacket. Not sure how modern versions handle it.)