- This topic has 0 replies, 1 voice, and was last updated 9 years, 8 months ago by .
Viewing 1 post (of 1 total)
Viewing 1 post (of 1 total)
Forums › TWAIN Classic › I can not see the scanned image
Hi,
the scanner works, scans. but after the function acquire () I have to do to see the image that I scanned.
I try this but not work
in main.cpp
if (!m_pTwain->save(“out.jpg”))
qWarning(“save() call not successful!”);
in qtwain.cpp
bool QTwain::save(QString dir)
{
return QPixmap::fromWinHBITMAP(m_hBitmap).toImage().save(dir,”jpg”);
}
qt creator show :
QPixmap::fromWinHBITMAP(), failed to get bitmap info ()
what is this??
please help!!! help help help