rm img def