please, kindly replace the useless screenshot with TEXT, thank you.
then, how do you call ‘resize()’ ? (show code)
it complains about an unknown interpolation flag here, so, what do you have ?