Microscan MS-4X User Manual Page 367

  • Download
  • Add to my manuals
  • Print
  • Page
    / 374
  • Table of contents
  • BOOKMARKS
  • Rated. / 5. Based on customer reviews
Page view 366
MS-4X Imager User Manual
A-33
Appendices
Bit Stream Method
A more difficult method is to parse and decode the bit stream data. The bit stream is a mix
of EXIF format & TIFF format. You will need to use the <op,4> command.
<op,4,arg>
To load a bitmap, send <op,4> and the entire grayscale image will load.
To load a JPEG, set arg for the full-size JPEG image, with adjustable quality:
<op,4,1280x1024_qnnn.jpg>
There is only one variable: nnn is a number from 1 to 100, and it represents the image
quality. 1 will load fastest, but will be extremely low-quality. 100 will load slowly, but will be
highest-quality.
<op,4,1280x1024_q1.jpg> = low-quality image, short load time
<op,4,1280x1024_q100.jpg> = high-quality image, long load time
Response Format
The user will need to write an application that can receive the image (8-bit format – 7 data
bit communication will not work), split up the data, and write the file. The data is format info
and then image data, so an ASCII terminal will not work.
The format of the data will be (_ added for readability):
SOH_DATALEN_FRAMETYPE_SCHEMA_DATA_CRC
SOH = SOH character
DATALEN = the length of data to follow, 32 bit integer from ‘00000000’ to ‘FFFFFFFF’
FRAMETYPE = 1
SCHEMA = 2
DATA = image data
CRC = CRC16 check digit at the end includes SOH, and everything after,
except the CRC
More information on these formats is available at:
http://partners.adobe.com/public/developer/en/tiff/TIFF6.pdf
and
http://www.exif.org/specifications.html
Page view 366

Comments to this Manuals

Vikitpm 04 Jan 2024 | 15:20:38

urenrjrjkvnm

Evapsi 07 Jan 2024 | 00:41:38

Med