Available in LEADTOOLS Imaging Pro, Vector, Document, and Medical Imaging toolkits.
LTwain::GetJPEGCompression
LTwain::SetJPEGCompression