Fix commit: image serialization