Retain qximage accordingly