Results 1 to 2 of 2

Thread: Can't see scanned image on QTWAIN

Hybrid View

Previous Post Previous Post   Next Post Next Post
  1. #1
    Join Date
    Apr 2024
    Qt products
    Qt4 PyQt3 PyQt4

    Default Can't see scanned image on QTWAIN

    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");
    "Life's a climb. But the view is great" uno online

  2. #2
    Join Date
    Jul 2008
    Thanked 76 Times in 74 Posts
    Qt products
    Qt4 Qt5
    Unix/X11 Windows

    Default Re: Can't see scanned image on QTWAIN

    Hi, I guess something is wrong with m_hBitmap. How do you get that?


Similar Threads

  1. Replies: 0
    Last Post: 10th February 2018, 10:40
  2. Replies: 3
    Last Post: 3rd August 2012, 10:35
  3. I cant see image Scaned. QTWAIN
    By elegido03 in forum Qt Programming
    Replies: 0
    Last Post: 25th April 2011, 15:52
  4. Finding marks on scanned image for alignment
    By caduel in forum Qt Programming
    Replies: 1
    Last Post: 23rd September 2007, 02:10
  5. need help about calibrating scanned maps.
    By high_flyer in forum General Discussion
    Replies: 4
    Last Post: 26th July 2006, 18:27


Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
Digia, Qt and their respective logos are trademarks of Digia Plc in Finland and/or other countries worldwide.