Just use FFMpeg.exe. It can resize, convert, resize, etc. And also it works with almost all known types of video / audio / images. It also works on linux / unix, and there is open source code for it written in C ++. You can get it here (for Windows / compiled exe) or Here (source code, etc.).
If you are developing a program, I recommend that you use the standard GDIPlus library. He does everything with photos.
Searush
source share