hi,
i want to use the function of QImage (bool Qimage save()). wat i have to do ?
First i have to declare this function as public in a class (available in header file) or
i have to use this function directly in cpp file to save images as JPG format in mainwindow?? like this
bool Qimage::save(filename, jpg,0)
{
if(isNull())
{
return false;
}
}
bool Qimage::save(filename, jpg,0)
{
if(isNull())
{
return false;
}
}
To copy to clipboard, switch view to plain text mode
if it is worng , can u plz give me correct to implement the save function.
Bookmarks