move PartMode to image data