prevent resampling and format conversion