Products | Support | Send comments on this topic. | Email a link to this topic. | Back to Getting Started | Help Version 18.0.10.23
LEADTOOLS TWAIN C DLL Help

Using JPEG Compression for a TWAIN Source

Show in webframe

LEADTOOLS provides the functionality to get and set JPEG compression for a TWAIN source. Use the L_TwainGetJPEGCompression function to obtain the current TWAIN JPEG compression settings by passing LTWAIN_GET_JPEG_COMPRESSION to the uFlag parameter. Similarly, obtain the default TWAIN JPEG compression settings by passing LTWAIN_GET_DEFAULT_JPEG_COMPRESSION to the uFlag parameter when calling the L_TwainGetJPEGCompression function.

To set JPEG compression for a TWAIN source, call the L_TwainSetJPEGCompression function, and pass LTWAIN_SET_JPEG_COMPRESSION to the uFlag parameter. To restore the default TWAIN JPEG compression, call the L_TwainSetJPEGCompression function and pass LTWAIN_RESET_JPEG_COMPRESSION to the uFlag parameter.

Products | Support | Contact Us | Copyright Notices
© 2006-2014 All Rights Reserved. LEAD Technologies, Inc.