creates an mpr file from a picture