Hello All!

Consider the following simple code example
//////////////////////////////////////////////////////////////////////
#include<QtGui>

int main(int argc, char** argv)
{
QImage img("1.png","png");
assert(img.save("1.jpg","jpg")); // BOOM
//assert(img.save("1.jpeg","jpeg")); // BOOM
//assert(img.save("2.png","png")); // Works fine
}
//////////////////////////////////////////////////////////////////////

Can I save my image as JPEG???

P.S.
QT-4.0.1
MinGW gcc-3.4