Make image conversions using QT ?
From QT Wikipedia
Sample CPP code using <QImage> library
#include <QImage> //Somewhere in application QImage b; QString curr_app_path = QApplication::applicationDirPath()+"/"; if ( !b.load( bgpath /*Original image path*/ ) ) { #ifdef DEBUG qDebug() << "Could not load image"; #endif }else { #ifdef DEBUG qDebug() << "Image loaded"; #endif b.save(destdirpath+"testas.bmp"); //In this case we want to convert to bmp format ? bgpath = curr_app_path+"testas.bmp"; }
