Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 6141835
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 23, 20262026-05-23T18:18:15+00:00 2026-05-23T18:18:15+00:00

I am writing a program to get the images from a twain device. The

  • 0

I am writing a program to get the images from a twain device. The problem is when I set the mode to landscape from the scanner gui not my program, I cannot detect it and the image is rotated wrong. If I understand the spec right ICAP_ORIENTATION should return if it is landscape or portrait or different rotation. The one scanner I try it on always returns TWOR_ROT180 whether I set landscape or portrait. With a different scanner I get TWOR_ROT90 so I think it is sending the right code to get it. Do I understand this wrong or am I doing something else wrong? Is there a different way to detect landscape? Thanks.

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-23T18:18:16+00:00Added an answer on May 23, 2026 at 6:18 pm

    I figured out I was getting the capability ICAP_ORIENTATION the wrong way, so it was sending me wrong information before making the changes.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

If you are writing a program that is executable from the command line, you
I'm writing a program to read from a POP3 mailbox and upload the email
I'm writing a little Java program (it's an ImageJ plugin, but the problem is
I am writing a program in Python, and want to get it to make
I am writing a program that will parse and manipulate logs from Darwin Streaming
I am writing a program in which I need to get a random value
I'm writing a program that involves a ton of images, over 100 per screen
I am writing an iphone (IOS 4) program that capture live video from the
I'm writing a simple program using SDL, but I'm running into a strange problem.
I've encountered a problem while writing code in Delphi. Namely I can't get acces

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.