fix image equality for file images by directly rendering in equality