Example of how to resize / scale image using CUDA with C on Linux.

Is there example code anywhere to show how toesize / scale image using CUDA with C on Linux.

Or even without CUDA?

One possible method is via NPP.

There is a cuda sample code called jpegNPP that does a resize operation in it.