PDA

View Full Version : I cant see image Scaned. QTWAIN



elegido03
25th April 2011, 15:52
I used the class Qtwain for scaned image. scans but i cant see the image for this:

what is this??

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

how to fix that problem??

my code

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