Scanner encoding

Scanner encoding

Post by Richard Ban » Fri, 23 Oct 1992 08:16:40



Thanks in advance.
Richard Banks

I'm writing a finger print identification program, and I need to know
how scanners encode the information sent to the computer.
I am aware of the different file formats but I am not interested in this.
The program will convert the data to its own format.  What I'm
interested in is the bitmap coding the scanner does itself before
it is converted.

Please send me any references and sources that deals with this.
Or just send me the answer over the net if its not too long.

 
 
 

1. Bug with detection of mismatch of encoding declaration and detected encoding in ACEXML_PARSER

    ACE VERSION: 5.3.1

    HOST MACHINE and OPERATING SYSTEM:
        Windows 2000 SP3

    CONTENTS OF $ACE_ROOT/ace/config.h:
        #define ACE_HAS_STANDARD_CPP_LIBRARY 1
        #include "ace/config-win32.h"

    AREA/CLASS/EXAMPLE AFFECTED:
        ACEXML_PARSER, Parser.cpp

    DOES THE PROBLEM AFFECT:
        COMPILATION?     NO
        LINKING?                NO
        EXECUTION?          YES

    SYNOPSIS:
        In Parser.cpp, line 302 - 310:

  if (ACE_OS::strstr (astring,
       this->instream_->getEncoding()) != 0)
  {
   ACE_ERROR ((LM_ERROR,
      ACE_TEXT ("Detected Encoding is %s : Declared Encoding is %s"),
      this->instream_->getEncoding(), astring));
   this->report_fatal_error (ACE_TEXT ("Encoding declaration doesn't match detected encoding") ACEXML_ENV_ARG_PARAMETER);
   return;
  }

here the operator != in the if statement should be operator == since only when ACE_OS::strstr() returns 0, indicating detected encoding string is NOT a substring of declared encoding, the encoding declaration should be considered not matching the detected encoding.

   SAMPLE FIX/WORKAROUND:
        Change operator != to operator ==

2. Precision text move in sheet editor

3. Scanner Driver - ACTOWN Scanner

4. help in commercial speech recognition board

5. pls. help, can't see Russian or Chinese encoding

6. SP3 print problems

7. Q: What is Base64 encoding???

8. *** Update for PAS-16 users: PLEASE READ ***

9. How do I un-encode xbtoa file?

10. H261 encoding and decoding

11. MFM encoding question

12. Encoding method

13. How to encode from .wav to .mp2 (MPEG 1 layer 2) with Lame