parse{Image,Port} helpers