Fix #1673 : Avoid interpolation for image and videos
Merge pull request #906 from romainneutron/fix-1673

[3.8] Fix #1673 : Avoid interpolation for image and videos