Twain Scanning Color
Twain Scanning Color
What is the twain instruction or configuration to send scan in color
Example
m_GdPictureImaging.Twain XXXXXXX
Thanks
Example
m_GdPictureImaging.Twain XXXXXXX
Thanks
Re: Twain Scanning Color
Hello,
You have to use the TwainSetPixelType method.
See:
https://www.gdpicture.com/guides/gdpicture/web ... lType.html
Kind regards,
Loïc
You have to use the TwainSetPixelType method.
See:
https://www.gdpicture.com/guides/gdpicture/web ... lType.html
Kind regards,
Loïc
Re: Twain Scanning Color
When I include the line m_GdPictureImaging.TwainSetPixelType(true); in acquireTWAINadf function, she not scan, if I delete the line the scan work, i need scan documents in color
if (status == 0)
{
m_GdPictureImaging.TwainSetAutoFeed(true);
m_GdPictureImaging.TwainSetAutoScan(true);
m_GdPictureImaging.TwainSetHideUI(true);
m_GdPictureImaging.TwainSetPixelType(true); // Error
if (status == 0)
{
m_GdPictureImaging.TwainSetAutoFeed(true);
m_GdPictureImaging.TwainSetAutoScan(true);
m_GdPictureImaging.TwainSetHideUI(true);
m_GdPictureImaging.TwainSetPixelType(true); // Error
Re: Twain Scanning Color
I change m_GdPictureImaging.TwainSetPixelType (true); by m_GdPictureImaging.TwainSetPixelType (2); and it worked me, thank you very much
Who is online
Users browsing this forum: No registered users and 2 guests