Parse image