TWAIN Working Group

Newsletter Signup
Donate
Help keep TWAIN free
  • About TWAIN
    • What’s New?
    • News
    • Events
    • Membership
    • Consider a Donation
    • Contact Us
  • Why TWAIN?
  • Developers
    • Driver Developer
    • Application Developer
    • TWAIN Features
    • Specification & Tools
    • Self Certification Process
  • Support Forums
  • Scanner End-User
  • Find Certified Drivers
    • Facebook
    • LinkedIn
    • Vimeo

Reply To: scan in .jpg

Forums › TWAIN Classic › scan in .jpg › Reply To: scan in .jpg

June 1, 2007 at 7:14 am #23824
gabe
Participant
  • Topics - 9
  • Replies - 583
  • Total Posts - 592

1) Check that source supports jpg with ImageFileFormat.Get.
2) Set to jpg is it isn’t already set with ImageFileFormat.Set.
3) Double check that #2 is right with ImageFileFormat.Get.
4) Execute Control.SetupFileXfer.Set and pass in a twSetupFileXfer structure making sure you set the .Format and .Filename fields appropriately.

It shouldn’t be much trickier than this. If you read .net code look at the method TransferPicturesAsFile in the ctwain.vb file in my source over at codeplex/openTwain.

If you have more questions, just ask.

.

Quick Links

Service Providers
TWAIN Support Forums
Membership
Contact Us
Privacy Policy

Newsletter Signup

TWAIN Working Group Family

TWAIN Working Group
TWAIN Direct®
TWAIN Resources
TWAIN Certified Drivers
PDF/raster

  • Facebook
  • GitHub
  • LinkedIn
  • Vimeo

Recent Topics

  • Girls of Desire: All babes in one place, crazy, art
  • EPSON V600 TWAIN and WIA on Windows 10
  • When and how to use WaitForEvents command ?
  • Problem enumerating list of installed scanners in windows server 2012
  • Failed to create TWAIN progress! Error code is 1260.
  • Quarterly Newsletter
  • TWAIN Working Group Membership
  • Logo Usage
  • TWAIN License
  • Contact Us
Privacy Policy • Privacy Tools • Copyright © 2021 TWAIN Working Group • by iHwy, LLC • Log in