Hello guys,

I used the class Qtwain for scaned image. scans, the image is not shown.

What is this??

QPixmap::fromWinHBITMAP(), failed to get bitmap info ()

Any suggestions to solve this problem?

This is my code:

bool QTwain::save(QString dir)
{
return QPixmap::fromWinHBITMAP(m_hBitmap).toImage().save( dir,"jpg");