home *** CD-ROM | disk | FTP | other *** search
/ OS/2 Shareware BBS: 10 Tools / 10-Tools.zip / leaddemo.zip / README.1ST next >
Text File  |  1992-08-05  |  48KB  |  848 lines

  1.                              LEADTOOLS - DEMO
  2.           Copyright c LEAD Technologies, Inc. 1992 ALL RIGHTS RESERVED
  3.  
  4. JPEG.ZIP or LEADJPEG.ZIP are the official evaluation files of LEADTOOLS.
  5. This file does not have the complete list of programs (functions) for you
  6. to evaluate the capability of LEADTOOLS. This file is only in response
  7. to the hundred of requests that we upload the files separately insetted of
  8. one 700K file.
  9.  
  10.  
  11. The file JPGF2F.ZIP contains:
  12. LEADCOMP.EXE    A file to file compression utility linked with LEADTOOLS.
  13. LEADCOMP.C      The 'C' source of LEADCOMP.EXE.
  14. LEADECOMP.EXE   A file to file decompression utility linked with LEADTOOLS.
  15. LEADECOMP.C     The 'C' source of LEADECOMP.EXE
  16.  
  17.  
  18. The file JPGVIEW.ZIP contains:
  19. LEADSHOW.EXE  An File to Screen decompression utility linked with LEADTOOLS.
  20. LEADSHOW.C    The 'C' source of LEADSHOW.EXE
  21.  
  22.  
  23. The file JPGMEN.ZIP contains:
  24. TOOL4.EXE   A program that calls the commonly used LEADTOOLS functions.
  25. TOOL.C     The 'C' source of DEMO.EXE.
  26.  
  27.  
  28. The official evaluation of LEADTOOLS JPG.ZIP or LEADJPEG.ZIP contains.
  29. The official evaluation of LEADTOOLS contains.
  30. README.1st    The file you are currently reading.
  31. TOOL.C        The source code of the tool4.EXE file.
  32. DEMO4.EXE     TOOL.C compiled and linked with LEADTOOLS "C" run-time library
  33.               for VGA/SVGA/TARGA16,24,32. LEADTOOLS also includes a TARGA+
  34.               library but this EXE was linked only with TARGA16,24,32.
  35. LEADCOMP.C    The source code of LEADCOMP.EXE.
  36. LEADCOMP.EXE  DOS file to file software compression utility compiled
  37.               and linked with LEADTOOLS "C" run-time library.
  38. LEADECOM.C    The source code of LEADCOMP.EXE.
  39. LEADECOM.EXE  DOS file to file software decompression utility compiled
  40.               and linked with LEADTOOLS "C" run-time library.
  41. LEADSHOW.C    The source code of LEADCOMP.EXE.
  42. LEADSHOW.EXE  DOS file to screen software decompression utility compiled
  43.               and linked with LEADTOOLS "C" run-time library. The Show
  44.               program has not been linked with all the libraries.  LEADTOOLS
  45.               supports over 120 graphics cards including the Sierria RAM DAC
  46.               versions of the ET4000, Trident, and ATI XL. All Truevision
  47.               TARGA Graphics cards are supported, (8 bit 256 color, 16 bit
  48.               32,000 color, and 24 and 32 bit 16,777,000 color). The library
  49.               supports additional true color cards, and is capable of many
  50.               more features than is shown here.
  51. Ship.cmp      The original is a 24 bit TIFF with a size of 1.14 Mbytes,
  52.               and was compressed using this LEADTOOLS DEMO with the QS
  53.               setting. Note that you can decompress this image and
  54.               re-compress it.  Also note that the compression Q factors are
  55.               user selectable.
  56. Girl.cmp      Is an image captured with a JVC RGB camera and a Truevision
  57.               TARGA+ board.  The original is a 32 bit TGA file with a size of
  58.               983 kbytes.  It was also compressed using this DEMO program
  59.               with the setting of QS.
  60.  
  61.  
  62. This is not a demo software but a fully functional EXE programs. 
  63. This shareware version of LEADTOOLS does not contain the library files
  64. that allow you to incorporate LEADTOOLS functions directly to your own 
  65. application, but contains EXE's designed for you to evaluate LEAD
  66. Technologies product line.
  67.  
  68. This shareware version contains four (4) .EXE files which demonstrates some of the
  69. functions that are included with LEADTOOLS Real mode DOS "note LEADTOOLS 32
  70. runs 8 to 10 times faster than LEADTOOLS Real mode DOS". The sharware version
  71. program is designed to give you a working understanding of LEAD Technologies' 
  72. image processing capabilities, and how the image processing functions may be
  73. incorporated in your application.
  74.  
  75. Your license to use this software will expire after 3 weeks from 
  76. the date you receive it.
  77.  
  78. You are free to distribute this shareware copy of LEADTOOLS as long as all 
  79. files listed are all included (README.1ST, DEMO.C, DEMO4.EXE, LEADSHOW.C,
  80. LEADSHOW.EXE, LEADCOMP.C, LEADCOMP.EXE, LEADECOM.C, and LEADECOM.EXE).
  81. You may not distribute any of the files separately.
  82.  
  83.  
  84. To optain the usage of the programs run each individual program without any
  85. parameters and the program will display the "USAGE" menue.
  86.  
  87. You are required to have a minimum of VGA color card to view any image.
  88. The programs also support TARGA, Hi color SVGA (Trident, Everex, Genoa, 
  89. Et4000, SpeedStar, ATI), & SVGA.
  90.  
  91. If you get a mussage "TARGA Initialization ERROR" and you have a VGA 
  92. don't worry this feture is to let developers detect for the presence of a 
  93. TARGA graphics card.
  94.  
  95.  
  96. Q factor settings.
  97.  
  98.               Typing in a factor of 1 to 255 will alter the Q factor and
  99.               therefore change the image file size and the image quality. A
  100.               factor of 1 will produce the best image quality and the largest
  101.               file size, while a factor of 255 will produce the smallest file
  102.               size and lowest image quality.
  103.  
  104.               LEAD also has defined several Q factor settings at breaks
  105.               between the size vs. quality trade off.  The selections are
  106.               given in abbreviated form in the EXE program.  The abbreviations
  107.               represent the following:
  108.                  PQ1 - Perfect Quality Option1
  109.                  PQ2 - Perfect Quality Option2
  110.                  QFS - Quality is far more important than size.
  111.                  QMS - Quality is more important than size.
  112.                  QS  - Quality and size are equally important.
  113.                  SQS - Size is more important than quality (sharp - images
  114.                        with sharp contrasts in color or content, or with text).
  115.                  SQT - Size is more important than quality (less tiling - for
  116.                        images with a lot of the same color tones, such as
  117.                        portraits).
  118.                  MCQ - Maximum compression with quality still important.
  119.                  MC  - Maximum compression.
  120.  
  121.  
  122. All .EXE programs are not designed as end user products.  They all are a quick
  123. collection of calls to LEADTOOLS functions.  Menus were not included to avoid
  124. confusion when evaluating the code as to the processing calls versus the
  125. menuing code.
  126.  
  127. When compressing with JPEG (JFIF, or JTIF) notice that support has been given
  128. for 4:4:4 (1:1:1), 4:2:2, and 4:1:1 color sub-samplings. (4:4:4 will produce
  129. the best Quality compressed image, while 4:1:1 will produce the smallest file
  130. size.  4:2:2 is a middle ground between the two.)
  131.  
  132. LEAD Technologies' offers several end user products as well as several
  133. variations to the tool kit.  LEAD's products are listed below.
  134.  
  135. LEADVIEW     - Software only compression, decompression, file format
  136.                conversion, and communication.  Operate from menuing system,
  137.                DOS command line.
  138.                Retail = $129.00
  139.  
  140. LEADVIEW for Windows  
  141.              - Software only compression, decompression, file
  142.                format conversion, as well as the ability to flip,
  143.                rotate, and reverse images. Also includes a palette
  144.                editor.
  145.                Retail = $179.00
  146.  
  147.  
  148. LEADVIEW32 (DOS & WINDOWS) 
  149.              - The Fastest, Software only, solution on the market, for
  150.                compression, decompression, file format conversion, and 
  151.                image processing (flip, rotate, resize, lighten, darken, etc). 
  152.                Operate from menuing system, DOS command line or TSR from other 
  153.                applications
  154.                Retail = $495.00
  155.  
  156.  
  157. LEADVIEW 255  - PC/AT add-on board that accelerates the compression and
  158.                    decompression process of both LEADVIEW and LEADVIEW for
  159.                    Windows. Conducts compression and decompression in real-time.
  160.                    Retail = $1,495.00   special summer price $995.00
  161.  
  162. LEADTOOLS  - Real mode DOS Software compression - $995.00 No royalties.
  163.            - Hardware compression via LEADVIEW 255 - FREE with the purchase
  164.              of 2 LEADVIEW 255 boards.
  165.            - Conversion - $249.00 - All conversion and other image
  166.              processing functions are included. (Compression functions not
  167.              included).
  168.  
  169. LEADTOOLS 386 
  170.            - Is software only compression for 386 or higher computers.
  171.              This version of LEADTOOLS will RUN at least 8 to 10 times as
  172.              fast as the current version REAL mode version, and requires a 
  173.              386 compiler like (Intel 386/486 Code Builder Kit) or 
  174.              (Watcom C). Retall = $ 995.00
  175.  
  176.  
  177. LEADTOOLS DLL for Windows 
  178.            - Software compression - $995.00   No royalties.
  179.            -  32bit fast Software compression - 995.00
  180.            - Hardware compression via LEADVIEW 255 - FREE
  181.              with purchase of 2 LEADVIEW 255 boards.
  182.            - Conversion - $249.00 - All conversion and
  183.              other image processing functions are included.
  184.              (Compression functions not included).
  185.              Both work with any product that uses DLL's.
  186.  
  187. LEADTOOLS Custom Control for Visual Basic.
  188.            - Software compression - $399.00   No royalties.
  189.      
  190.  
  191. Please do not hesitate to contact LEAD's technical staff if you have any
  192. questions while you are evaluating LEADTOOLS.
  193.  
  194. *********************************************************************************
  195.                         LEADVIEW  by LEAD Technologies, Inc.
  196.                         Software Only Image Compression.
  197. *********************************************************************************
  198. LEADVIEW is an image compression, conversion, viewing and processing utility
  199. for DOS. Compresses images to smaller than 200 times their original size while
  200. maintaining unprecedented image quality.  LEADVIEW supports the JPEG standard
  201. as well as LEAD Technologies' proprietary compression format.
  202.  
  203. LEAD's compression file format produces a smaller file size and better image
  204. quality than other compression techniques, including JPEG. LEAD's compression
  205. file format can store a palette in the compressed file to allow decompression
  206. to a 24-bit medium at 24-bit true color and to an 8-bit medium at 8-bit 256
  207. color without sacrificing image quality.  The compressed file stills contains
  208. the original 24-bit 16 million colors.  Storing the palette adds a table that
  209. contains the best 256 colors.  The palette is only used when the file is
  210. decompressed to an 8-bit medium, and is ignored when decompressing to a
  211. 24-bit or 16-bit medium.  There is no need to convert all images to 8-bit or
  212. to save one 8-bit image and one 24-bit image.  The result is one much smaller
  213. file that can be viewed on a 24-bit graphics card at 24-bit true color as
  214. well as on a VGA card at 8-bit 256 color.
  215.  
  216. Easily switch between JPEG and LEAD depending on the situation. If an image,
  217. or series of images needs JPEG file format compatibility, use JPEG.  If the
  218. image will be used in a closed environment, that is compression and
  219. decompression will be done on the same PC, LAN, or with a LEAD Technologies,
  220. Inc. product, use LEAD. Note that an image that was originally compressed
  221. with LEAD can be easily convert between any of the supported formats
  222.  
  223. LEADVIEW can be operated from an easy to use menu interface, as a TSR that
  224. can be run under popular graphics programs, or from the DOS command line.
  225.  
  226. LEADVIEW not only compresses and decompressed images but also contains a
  227. complete file format conversion utility. Images can be converted, scaled,
  228. resized, and viewed. Supported file formats include;
  229. TGA (8-, 16-, 24-, and 32 bit), TIFF (8- and 24-bit), BMP (4-, 8- and 24-bit),
  230. GIF and PCX.
  231.  
  232.  
  233. *********************************************************************************
  234.                         LEADVIEW for Windows by LEAD Technologies, Inc.
  235.                         Software Only Windows 3.x Compatible Image Compression.
  236. *********************************************************************************
  237. LEADVIEW For Windows is an image compression, conversion, viewing and processing
  238. utility. Compress images to smaller than 200 times their original size while
  239. maintaining unprecedented image quality.  LEADVIEW for Windows supports the JPEG
  240. standard as well as LEAD Technologies' proprietary compression format.
  241.  
  242. LEAD's compression file format produces a smaller file size and better image
  243. quality than other compression techniques, including JPEG. LEAD's compression
  244. file format can store a palette in the compressed file to allow decompression
  245. to a 24-bit medium at 24-bit true color and to an 8-bit medium at 8-bit 256
  246. color without sacrificing image quality.  The compressed file stills contains
  247. the original 24-bit 16 million colors.  Storing the palette adds a table that
  248. contains the best 256 colors.  The palette is only used when the file is
  249. decompressed to an 8-bit medium, and is ignored when decompressing to a
  250. 24-bit or 16-bit medium.  There is no need to convert all images to 8-bit or
  251. to save one 8-bit image and one 24-bit image.  The result is one much smaller
  252. file that can be viewed on a 24-bit graphics card at 24-bit true color as
  253. well as on a VGA card at 8-bit 256 color.
  254.  
  255. Easily switch between JPEG and LEAD compression processes depending on the
  256. situation. If an image, or series of images, needs JPEG file format
  257. compatibility, use JPEG. If the image is to be used in a closed environment,
  258. that is compression and decompression will be done on the same PC, LAN, or
  259. with a LEAD  Technologies product, use LEAD. Note that an image that was
  260. originally compressed with LEAD can be decompressed and then re-compressed
  261. with JPEG.
  262.  
  263. LEADVIEW for Windows also contains a complete file format conversion utility.
  264. Images can be viewed converted, darkened, lightened, scaled, resized, flipped,
  265. rotated, and reversed. With LEADVIEW for Windows you have an option to display
  266. multiple images with an excellent average palette on 8-bit devices without
  267. destroying background images, and a palette editor that lets you change
  268. any of your image colors.
  269.  
  270. Supported file formats include: TGA (8-, 16-, 24-, and 32 bit),
  271. TIFF (8- and 24-bit), BMP (4-, 8- and 24-bit), GIF , PCX ,JPG, JFIF,
  272. JTIF and CMP.
  273.  
  274. *********************************************************************************
  275.                                 LEADVIEW 255
  276.                          by LEAD Technologies, Inc.
  277.           Real Time Compression Hardware for LEADVIEW and LEADVIEW for Windows
  278. *********************************************************************************
  279.  
  280. The LEADVIEW 255 is a hardware board that is designed to accelerate the
  281. compression and decompression processes of LEADVIEW and LEADVIEW Windows.
  282. The board is based around C-Cube Microsystems CL550B compression chip,
  283. and is capable of producing both JPEG compliant files and LEAD's proprietary
  284. CMP file formats.
  285.  
  286. When combined with LEADVIEW or LEADVIEW for Windows, the LEADVIEW 255 can
  287. compress images smaller than 200 times their original size while maintaining
  288. unprecedented image quality in real time. The LEADVIEW 255 supports the
  289. JPEG compression standard as well as LEAD Technologies' proprietary
  290. compression process.  LEAD's algorithm delivers a smaller file size with a
  291. better image quality than other compression techniques, including JPEG.
  292.  
  293. LEADVIEW 255 was designed to compress and decompress images in real time.
  294. Bench mark tests on the LEADVIEW 255 show compression and decompression times
  295. of under one second while processing a 1 Mbytes 32 bit TGA file on a 386 25
  296. MHz IBM clone. LEAD Technologies recommends the 255 to anyone who requires
  297. split second decompression times, or who frequently needs to compress and
  298. decompress multiple images.
  299.  
  300. *********************************************************************************
  301.                                 LEADTOOLS
  302.                         by LEAD Technologies, Inc.
  303.      Put Image Compression, Conversion, and Processing Into Your Application
  304. *********************************************************************************
  305.  
  306. LEADTOOLS is a "C" run-time library enabling developers to incorporate image
  307. compression, conversion, and processing into their applications.
  308. LEADTOOLS allows images to be compressed to smaller than 200 times their
  309. original size while maintaining unprecedented image quality.  Ideal for
  310. applications such as image databases, medical, mapping, real estate,
  311. graphics, and much more. LEADTOOLS is essential in any image or graphics
  312. application. There are three versions of LEADTOOLS:
  313.         LEADTOOLS with software compression,
  314.         LEADTOOLS with hardware compression, and
  315.         LEADTOOLS - conversion only.
  316.  The need for compression stems from the large file sizes that are generated
  317. by color and grey scale graphic images. Image file sizes can range from
  318. 100 Kbytes to over 200 Mbytes. The size of the files can be very prohibitive
  319. to applications because of storage requirements, I/O time of moving the image
  320. files through the system, or transmission time over networks or phone lines.
  321. Compression reduces the file size of an image and may make the use of images
  322. feasible, in any applications. Several popular PC image
  323. file formats such as TGA, TIFF, BMP, PCX, and GIF currently use compression
  324. in their file formats to reduce the size the image creates. However, even
  325. with the compression in the image file format, the file sizes of these
  326. images are still extremely large. LEADTOOLS allows you to add additional
  327. compression to all supported image file formats. The amount of compression
  328. is controllable, allowing the compressed image quality to match the needs
  329. of your application. LEAD Technologies' extended compression ratios and the
  330. powerful LEAD CMP compressed file format enable "C" developers to produce
  331. imaging applications with LEADTOOLS to significantly improve available image
  332. processing and transmission times. LEADTOOLS supports both the JPEG standard
  333. compression and LEAD Technologies' proprietary compression.
  334.  
  335. LEADTOOLS Features
  336. -       Choice of real time rates with hardware compression, or 8-10 second
  337.         compression with software only.
  338.  
  339. -       Compression and decompression of graphic images while retaining very
  340.         high image resolution quality.
  341.  
  342. -       Direct decompression from a compressed file to video memory.
  343.  
  344. -       Support for both JPEG compliant formats, JFIF and JTIF, as well as
  345.         LEAD's CMP extended compression file format. LEAD's CMP compression
  346.         file format delivers a much smaller file size and better image
  347.         quality than other compression techniques including JPEG.
  348.  
  349. -       Ability to control the quality of the compressed image with a
  350.         selection of compression factors ranging from 2 to 255.
  351.  
  352. -       Ability to display graphic images to a variety of different screen
  353.         types: TARGA, VGA, and Super VGA.
  354.  
  355. -       Ability to convert and compress/decompress images to and from several
  356.         file formats:
  357.         TGA     8 bit grey scale, 8 bit color mapped, 16, 24, and 32 bit
  358.                 color.
  359.         PCX     8 bit grey scale and 8 bit color mapped.
  360.         GIF     8 bit grey scale and 8 bit color mapped.
  361.         TIFF    8 bit grey scale, 8 bit color mapped, and 24 bit color
  362.         BMP     Presentation Manager and Windows 4, 8 bit color mapped, and
  363.                 24 bit color.
  364.         JFF     (JFIF) JPEG File Interchange Format, (extended as JPG).
  365.         JTF     (JTIF) JPEG TIF.
  366.         CMP     (LEAD) LEAD Technologies, Inc. proprietary compression file
  367.                 format.
  368.  
  369. -       Ability to (Optimize VGA Palette) find the best 256 colors from 16,
  370.         24, and 32 bit image file formats.
  371.  
  372. -       Ability to flip, reverse, rotate and resize images.
  373.  
  374. -       Ability to use all of the system's resources to its maximum power
  375.         including support of extended memory, expanded memory, and swapping
  376.         to disk capability.
  377.  
  378. -       Tools for viewing all supported file formats, including resizing an
  379.         image "on the fly" for optimal displaying and the ability to display
  380.         the image to specified locations on the screen.
  381.  
  382. -       Support for a bit map handle allowing you to use all of LEADTOOLS'
  383.         functions in mediums that LEAD Technologies, Inc. does not currently
  384.         support. A "BITMAPHANDLE" is a structure containing image information
  385.         and data, which is made up of fields that describe an image completely,
  386.         including Format, Width, Height, BitsPerPixel, BytesPerLine, where to
  387.         find the pixel data, flags about the image, and many more.  A
  388.         BITMAPHANDLE is used for functions involving images. For instance,
  389.         when you load an image, you load it into the BITMAPHANDLE; then you
  390.         may view, convert, flip, etc. the image using the BITMAPHANDLE. As
  391.         a developer you may use any of the fields in the BITMAPHANDLE.
  392.  
  393.         Example of the usage of LEADTOOLS in mediums that LEAD Technologies
  394.         does not currently support.
  395.          1 - For the compression/decompression of image file formats not
  396.              currently supported by LEAD, you can write your own routines
  397.              to read the unrecognized file format into the bit map handle and
  398.              then compress the bit map handle. You can also decompress the
  399.              compressed file to a bit map handle and write your own routines
  400.              to save the file in the unsupported file format.
  401.  
  402.          2 - For graphics cards and printers not currently supported by LEAD,
  403.              you can decompress to a bit map handle and resize, flip, reverse,
  404.              optimize, and write your own routines to view or print directly
  405.              from the bit map handle.
  406.  
  407. LEADTOOLS - Easy to use
  408.  
  409. LEADTOOLS is designed to allow you to concentrate on your applications and
  410. end user needs. With this goal in mind, LEAD Technologies has built in the
  411. most common hardware and graphic file format support.
  412. All you have to do is call the appropriate LEADTOOLS function. When your
  413. application needs compression, call LEADTOOLS'  compression functions, pass
  414. the appropriate parameters, and allow LEADTOOLS to perform the complex task
  415. of image compression.
  416.  
  417. Additionally, when the application requires an image to be viewed, you may
  418. call one of LEADTOOLS viewing functions. LEADTOOLS takes care of the time
  419. consuming programming support for different file formats and different
  420. hardware configurations.
  421.  
  422. integrating LEADTOOLS' Functions into your applications is as follows:
  423.                 1 - Use #include preprocessor directive for the header files
  424.                     required.
  425.                 2 - Call the desired functions from within your program.
  426.                 3 - Compile the program.
  427.                 4 - Link with the appropriate library.
  428.  
  429. The Compression Concept
  430. The concept of compression is to reduce file sizes by either finding
  431. redundancies and storing as few of them as possible, or with image and
  432. audio files eliminating some information to produce more redundancies, then
  433. combining them to produce even a smaller file size.
  434.  
  435. There are basically three ways to compress an image :
  436.  
  437.         1) Lossless compression, which deals with redundancies of the image
  438.            data.
  439.         2) Lossey compression, which discards the color shadings that the
  440.            human eye cannot detect, and then compresses the image with a
  441.            lossless compression. This process allows for more compression
  442.            since it provides more redundancies. There is technically a loss of
  443.            data because color shadings have been eliminated and hence the
  444.            name for the technique.
  445.  
  446.         3) The lossey compression can also eliminate color shadings that are
  447.            visible to the human eye. This too is loss of data. The amount of
  448.            loss is controllable by setting parameters of the range of colors
  449.            that will be treated as the same. The larger the range, the more
  450.            loss will occur, and the smaller the resulting compressed image
  451.            file size.
  452.  
  453.  
  454. LEADTOOLS' Supported Compression
  455.  
  456. LEADTOOLS supports LEAD CMP, JPEG, LZW and RLE compression methods.
  457.  
  458. LEAD    LEADTOOLS supports LEAD Technologies' proprietary CMP file which
  459.         delivers a smaller file size combined with better image quality than
  460.         other compression techniques, including JPEG.
  461.         LEAD's compression file format can also store a palette in the
  462.         compressed file to allow decompression to a 24 bit medium at 24 bit
  463.         color and  to an 8 bit medium at 8 bit 256 color without sacrificing
  464.         image quality. The file still contains the original 24 bit 16 million
  465.         colors.
  466.         Storing the palette adds a table that contains the best 256 colors.
  467.         The palette is only used when the file is decompressed to an 8 bit
  468.         medium and is ignored when decompressing to a 32, 24, or 16 bit
  469.         medium. There is no need to convert all images to 8 bits or to save
  470.         one 8 bit  image and one 24 bit image. The result is one much smaller
  471.         file size that can be viewed on a 24 bit graphics card at 24 bit true
  472.         color, as well as, on an 8 bit VGA card at 256 colors.
  473.  
  474. JPEG    JPEG stands for the Joint Photographers Experts Group and grew out of
  475.         two standardized groups, the CCITT and the ISO. The basic idea behind
  476.         JPEG is to provide a unified standard under which hardware and
  477.         software developers can operate. Images compressed with JPEG can be
  478.         exchanged between a wide variety of platforms and applications. The
  479.         JPEG specification consists of two parts:
  480.         lossless encoding and lossey encoding. The lossless compression uses
  481.         the predictive/adaptive technique and Huffman coding. The lossey
  482.         compression operates in three steps:
  483.               1. Discreet Cosine Transformation
  484.               2. Coefficient Quantization
  485.               3. Lossless Compression
  486.  
  487. LEADTOOLS supports two forms of JPEG: JPEG Interchange File Format (JFIF) or
  488. (JPG) and JPEG TIFF (JTIF).
  489.  
  490. Supported Graphics Cards
  491. TARGA M8, 16, 24, 32, TARGA+, standard VGA/MCGA at 320 X 200, Super VGAs
  492. (including:Paradise, Tseng Labs 3000/4000, ATI Wonder, Trident 8800CS,
  493. Video Seven, all up to 1024 X 1024), and VESA compliant standard up to
  494. 640 X 480.
  495.  
  496. Supported Compilers
  497. Microsoft C 6.0, 7.0 Medium and Large memory modules
  498. Borland C, C++ Medium and Large memory modules
  499. Call for updated list of compilers. Including DOS Extenders.
  500.  
  501. Compatible with LEAD Technologies' real time compression hardware LEADVIEW 255
  502.  
  503. LEADTOOLS' commonly used functions:
  504.  
  505. L_AllocateBitmap        Allocate storage to hold an image in a bitmap handle
  506. L_ChangeBitmapIntensity Change the intensity of an image currently in a bitmap handle
  507. L_ClearBitmap           Clear storage located in bitmap handle
  508. L-ClearVGAScreen        Clear the VGA screen
  509. L_CompressALL           Compress all  supported file formats
  510. L_CompressBitmap        Compress an image contained in a bitmap handle
  511. L_CompressBMP           Compress a BMP image file format to LEAD, JFIF, or JTIF
  512. L_CompressGIF           Compress a GIF image file format to LEAD, JFIF, or JTIF
  513. L_CompressPCX           Compress a PCX image file format to LEAD, JFIF, or JTIF
  514. L_CompressTarga         Compress the current image in the TARGA or TARGA+ video memory
  515. L_CompressTGA           Compress a TGA image file format to LEAD, JFIF, or JTIF
  516. L_CompressTIF           Compress a TIFF image file format to LEAD, JFIF, or JTIF
  517. L_CopyBitmapData        Copy image data from one bitmap handle to another
  518. L_CopyBitmapHandle      Copy one bitmap handle to another
  519. L_DecompressALL         Decompress LEAD, JFIF, or JTIF to any of the supported file formats
  520. L_DecompressBitmap      Decompress LEAD, JTIF, or JFIF  to bitmap handle
  521. L_DecompressBMP         Decompress LEAD, JTIF, or JFIF to BMP image file format
  522. L_DecompressGIF         Decompress LEAD, JTIF, or JFIF to GIF image file format
  523. L_DecompressPCX         Decompress LEAD, JTIF, or JFIF to PCX image file format
  524. L_DecompressTARGAScreen Decompress LEAD, JFIF, or JTIF to TARGA or  TARGA+
  525. L_DecompressTGA         Decompress LEAD, JTIF, or JFIF to TGA image file format
  526. L_DecompressTIF         Decompress LEAD, JTIF, or JFIF to TIFF image file format
  527. L_DecompressVGAScreen   Decompress LEAD, JTIF, or JFIF to VGA or Super VGA
  528. L_FileConvert           Convert any supported image file to another supported image file format
  529. L_FileInfo              Return information on any supported image file format
  530. L_FlipBitmap            Flip an image (top to bottom) located in a bitmap handle
  531. L_FreeBitmap            Free the storage allocated for an image contained in a bitmap handle
  532. L_GetBitmapRow          Retrieve a row from an image in a bitmap handle
  533. L_GetScreenBitmap       Retrieve an image from the VGA or Super VGA screen
  534. L_GetTargaWindow        Save TARGA or TARGA+ pixel data from a specified location
  535. L_GetVideoInfo          Calculate the best VGA width and height
  536. L_GetVideoMode          Get current VGA video display mode and page
  537. L_InitBitmap            Initialize the fields in a bitmap handle
  538. L_InitVideoScreen       Initialize the VGA video screen and switches to that mode
  539. L_LoadBMPScreen         Load a BMP image file into VGA, Super VGA, and/or bitmap handle
  540. L_LoadBMPTarga          Load a BMP image file into TARGA, TARGA+, and/or bitmap handle
  541. L_LoadGIFScreen         Load a GIF image file into VGA, Super VGA, and/or bitmap handle
  542. L_LoadGIFTarga          Load a GIF image file into TARGA, TARGA+, and/or bitmap handle
  543. L_LoadPCXScreen         Load a PCX image file into VGA, Super VGA, and/or bitmap handle
  544. L_LoadPCXTarga          Load a PCX image file into TARGA, TARGA+, and/or bitmap handle
  545. L_LoadTGAScreen         Load a TGA image file into VGA, or Super VGA, and/or bitmap handle
  546. L_LoadTGATarga          Load a TGA image file into TARGA, TARGA+, and/or bitmap handle
  547. L_LoadTIFScreen         Load a TIFF image file into VGA, Super VGA, and/or bitmap handle
  548. L_LoadTIFTarga          Load a TIFF image file into TARGA, TARGA+, and/or bitmap handle
  549. L_OptimizeBitmap        Optimize a (16, 24, or 32bit) image into 256 colors
  550. L_PutBitmapRow          Store a row of an image data into a bitmap handle
  551. L_ResizeBitmap          Resize an image in a bitmap handle
  552. L_RestoreWindow         Restore a buffer to current text screen
  553. L_ReverseBitmap         Reverse an image (left to right) located in a bitmap handle
  554. L_RotateBitmap          Rotate an image in a bitmap handle
  555. L_SaveBMPBitmap         Save a bitmap to a BMP image file format
  556. L_SaveGIFBitmap         Save a bitmap to a GIF image file format
  557. L_SavePCXBitmap         Save a bitmap to a PCX image file format
  558. L_SaveTGABitmap         Save a bitmap to a TGA image file format
  559. L_SaveTIFBitmap         Save a bitmap to a TIF image file format
  560. L_SaveWindow            Save the current VGA text screen and cursor location
  561. L_SetBitmapPos          Set a new X and Y positions in a bitmap handle
  562. L_SetCheckStatus        Status for checking  the Escape key
  563. L_SetTARGAMode          Set the TARGA+ graphics resolution
  564. L_SetVGASize            Set the desired size for the VGA screen.
  565. L_SetVideoMemory        Set the amount of VGA video RAM install
  566. L_SetVideoMode          Set the VGA video mode and page
  567. L_ShowBMPScreen         Display a BMP image file to VGA or SuperVGA
  568. L_ShowBMPTarga          Display a BMP image file to TARGA or TARGA+
  569. L_ShowGIFScreen         Display a GIF  image file to VGA or SuperVGA
  570. L_ShowGIFTarga          Display a GIF  image file to TARGA or TARGA+
  571. L_ShowPCXScreen         Display a PCX image file to VGA or SuperVGA
  572. L_ShowPCXTarga          Display a PCX  image file to TARGA or TARGA+
  573. L_ShowTGAScreen         Display a TGA image file to VGA or SuperVGA
  574. L_ShowTGATarga          Display a TGA image file to TARGA or TARGA+
  575. L_ShowTIFScreen         Display a TIFF  image file to VGA or SuperVGA
  576. L_ShowTIFTarga          Display a TIFF image file  to TARGA or TARGA+
  577. L_SizeBitmap            Resize an image in a bitmap to a new width and height
  578. L_SleepKey              Delay until a key is pressed or time out occurs
  579. L_TARGAEND              Perform clean up for TARGA or TARGA+ graphics environment
  580. L_TARGAInit             Initialize TARGA or TARGA+ graphics Environment
  581. L_ViewBitmapScreen      Display an image in a bitmap handle to VGA or Super VGA screen
  582. L_ViewBitmapTarga       Display an image in a bitmap handle to TARGA or TARGA+
  583.  
  584.  
  585.  
  586.  
  587. *********************************************************************************
  588.                           LEADTOOLS for WINDOWS DLL
  589.                         by LEAD Technologies, Inc.
  590.         Put Image Compression, Conversion, and Processing Into Your Windows
  591.                                 Application.
  592. *********************************************************************************
  593.  
  594. LEADTOOLS for Windows DLL is a Dynamic Link Library (DLL) enabling developers
  595. to incorporate image compression, conversion, and processing into their
  596. Windows applications. LEADTOOLS for Windows DLL allows images to be compressed
  597. to smaller than 200 times their original size while maintaining unprecedented
  598. image quality.  Ideal for applications such as image databases, medical,
  599. mapping, real estate, graphics, and much more. LEADTOOLS for Windows DLL is
  600. essential in any Windows image or graphics application.
  601.  
  602. There are three versions of LEADTOOLS for Windows DLL:
  603.         LEADTOOLS for Windows DLL with software compression.
  604.         LEADTOOLS for Windows DLL with hardware compression.
  605.         LEADTOOLS for Windows DLL without compression.
  606.  
  607. The need for compression stems from the large file sizes that are generated
  608. by color and grey scale graphic images. Image file sizes can range from
  609. 100 Kbytes to over 200 Mbytes. The size of the files can be very prohibitive
  610. to applications because of storage requirements, I/O time of moving the image
  611. files through the system, or transmission time over networks or phone lines.
  612. Compression reduces the file size of an image and may make the use of images
  613. feasible, and even practical, in many applications. Several popular PC image
  614. file formats such as TGA, TIFF, BMP, PCX, and GIF currently use compression
  615. in their file formats to reduce the size the image creates. However, even
  616. with the compression in the image file format, the file sizes of these images
  617. are still extremely large. LEADTOOLS for Windows DLL allows you to add
  618. additional compression to all supported image file formats. The amount of
  619. compression is controllable, allowing the compressed image quality to match
  620. the needs of your application. LEAD Technologies' extended compression ratios
  621. and the powerful LEAD CMP compressed file format enable Windows developers to
  622. produce imaging applications with LEADTOOLS for Windows DLL to significantly
  623. improve available image processing and transmission times. LEADTOOLS for
  624. Windows DLL supports both the JPEG standard compression and LEAD Technologies'
  625. proprietary compression.
  626.  
  627. LEADTOOLS for Windows DLL Features
  628. -       Choice of real time rates with hardware compression, or 8-10 second
  629.         compression with software only.
  630.  
  631. -       Compression and decompression of graphic images while retaining very
  632.         high image quality.
  633.  
  634. -       Direct decompression from a compressed file to registered Windows
  635.         class.
  636.  
  637. -       Support for both JPEG compliant formats, JFIF and JTIF, as well as
  638.         LEAD's CMP extended compression file format. LEAD's CMP compression
  639.         file format delivers a much smaller file size and better image quality
  640.         than other compression techniques including JPEG.
  641.  
  642. -       Ability to control the quality of the compressed image with a selection
  643.         of compression factors ranging from 2 to 255.
  644.  
  645. -       Ability to convert and compress/decompress images to and from several
  646.         file formats:
  647.         TGA     8 bit grey scale, 8 bit color mapped, 16, 24, and 32 bit color.
  648.         PCX     8 bit grey scale and 8 bit color mapped.
  649.         GIF     8 bit grey scale and 8 bit color mapped.
  650.         TIFF    8 bit grey scale, 8 bit color mapped, and 24 bit color
  651.         BMP     Presentation Manager and Windows 4, 8 bit color mapped, and
  652.                 24 bit color.
  653.         JFF     (JFIF) JPEG File Interchange Format, (extended as JPG).
  654.         JTF     (JTIF) JPEG TIF.
  655.         CMP     (LEAD) LEAD Technologies, Inc. proprietary compression
  656.                 file format.
  657.  
  658. -       Ability to (Optimize VGA Palette) find the best 256 colors from 16,
  659.         24, and 32 bit image file formats.
  660.  
  661. -       An option to display multiple images with an excellent average palette
  662.         on 8-bit devices without destroying background images.
  663.  
  664. -       Ability to flip, reverse, rotate and resize images.
  665.  
  666. -       A registered Windows class freeing developers from the details of
  667.         displaying an image under Windows
  668.  
  669. -       Support for a bit map handle allowing you to use all of LEADTOOLS'
  670.         Windows DLL functions in mediums that LEAD Technologies, Inc. does
  671.         not currently support. A "BITMAPHANDLE" is a structure containing
  672.         image information and data, which is made up of fields that describe
  673.         an image completely, including Format, Width, Height, BitsPerPixel,
  674.         BytesPerLine, where to find the pixel data, flags about the image,
  675.         and many more. A BITMAPHANDLE is used for functions involving
  676.         images. For instance, when you load an image, you load it into the
  677.         BITMAPHANDLE; then you may view, convert, flip, etc. the image using
  678.         the BITMAPHANDLE. As a developer you may use any of the fields in the
  679.         BITMAPHANDLE.
  680.  
  681. Example of the usage of LEADTOOLS for Windows DLL in mediums that LEAD
  682. Technologies does not currently support.
  683. For the compression/decompression of image file formats not currently
  684. supported by LEAD, you can write your own routines to read the unrecognized
  685. file format into the bit map handle and then compress the bit map handle.
  686. You can also decompress the compressed file to a bit map handle and write
  687. your own routines to save the file in the unsupported file format.
  688.  
  689.  
  690. LEADTOOLS for Windows DLL-Easy to use.
  691.  
  692. LEADTOOLS for  Windows DLL is designed to allow you to concentrate on your
  693. applications and end user needs. With this goal in mind, LEAD Technologies
  694. has built in the most common hardware and graphic file format support. All
  695. you have to do is call the appropriate LEADTOOLS for Windows DLL function.
  696. When your application needs compression, call LEADTOOLS' Windows DLL
  697. compression functions, and allow LEADTOOLS to perform the complex task of
  698. image compression.
  699.  
  700. Additionally, when the application requires an image to be viewed, you may
  701. call one of LEADTOOLS Windows DLL viewing functions. LEADTOOLS for Windows
  702. DLL takes care of the time consuming programming support for different file
  703. formats and different hardware configurations.
  704.  
  705. Integrating LEADTOOLS' Windows DLL Functions into your applications is as
  706. follows:
  707.      1 - Use #include preprocessor directive for the header files required.
  708.      2 - Call the desired functions from within your program.
  709.      3 - Compile the program.
  710.      4 - Link with the appropriate library.
  711.  
  712. The Compression Concept.
  713. The concept of compression is to reduce file sizes by either finding
  714. redundancies and storing as few of them as possible, or with image and
  715. audio files eliminating some information to produce more redundancies, then
  716. combining them to produce even a smaller file size.
  717.  
  718. There are basically three ways to compress an image :
  719.  
  720.  1) Lossless compression, which deals with redundancies of the image data.
  721.  
  722.  2) Lossey compression, which discards the color shadings that the human eye cannot detect, and
  723.     then compresses the image with a lossless compression. This process allows for more compression
  724.     since it provides more redundancies. There is technically a loss of data because color shadings
  725.     have been eliminated and hence the name for the technique.
  726.  
  727.  3) The lossey compression can also eliminate color shadings that are visible
  728.     to the human  eye. This too is loss of data. The amount of loss is
  729.     controllable by setting parameters of the range of colors that will be
  730.     treated as the same. The larger the range, the more loss will occur, and
  731.     the smaller the resulting compressed image file size.
  732.  
  733. LEADTOOLS' Windows DLL Supported Compression
  734.  
  735. LEADTOOLS for Windows DLL supports LEAD CMP, JPEG, LZW and RLE compression
  736. methods.
  737.  
  738. LEAD    LEADTOOLS for Windows DLL supports LEAD Technologies' proprietary
  739.         CMP file which delivers a smaller file size combined with better
  740.         image quality than other compression techniques, including JPEG.
  741.         LEAD's compression file format can also store a palette in the
  742.         compressed file to allow decompression to a 24 bit medium at 24 bit
  743.         color and  to an 8 bit medium at 8 bit 256 color without sacrificing
  744.         image quality. The file still contains the original 24 bit 16 million
  745.         colors.
  746.         Storing the palette adds a table that contains the best 256 colors.
  747.         The palette is only used when the file is decompressed to an 8 bit
  748.         medium and is ignored when decompressing to a 32, 24, or 16 bit
  749.         medium. There is no need to convert all images to 8 bits or to save
  750.         one 8 bit  image and one 24 bit image. The result is one much smaller
  751.         file size that can be viewed on a 24 bit graphics card at 24
  752.         bit true color, as well as, on an 8 bit VGA card at 256 colors.
  753.  
  754. JPEG    JPEG stands for the Joint Photographers Experts Group and grew out of
  755.         two standardized groups, the CCITT and the ISO. The basic idea behind
  756.         JPEG is to provide a unified standard under which hardware and
  757.         software developers can operate. Images compressed with JPEG can
  758.         be exchanged between a wide variety of platforms and applications.
  759.         The JPEG specification consists of two parts:
  760.         lossless encoding and lossey encoding. The lossless compression uses
  761.         the predictive/adaptive technique and Huffman coding. The lossey
  762.         compression operates in three steps:
  763.                 1. Discreet Cosine Transformation
  764.                 2. Coefficient Quantization
  765.                 3. Lossless Compression
  766.  
  767. LEADTOOLS supports two forms of JPEG: JPEG Interchange File Format (JFIF) or
  768. (JPG) and JPEG TIFF (JTIF).
  769.  
  770.  
  771. LEADTOOLS' Windows DLL commonly used functions:
  772.  
  773. L_AllocateBitmap        Allocate storage to hold an image in a bitmap handle
  774. L_ChangeBitmapIntensity Change the intensity of an image currently in a bitmap handle
  775. L_ClearBitmap           Clear storage located in bitmap handle
  776. L_CompressALL           Compress all  supported file formats
  777. L_CompressBitmap        Compress an image contained in a bitmap handle
  778. L_CompressBMP           Compress a BMP image  file to LEAD, JFF, JTF
  779. L_CompressGIF           Compress a GIF image file format to LEAD, JFIF, or JTIF
  780. L_CompressPCX           Compress a PCX image file format to LEAD, JFIF, or JTIF
  781. L_CompressTarga         Compress the current image in the TARGA or TARGA+ video memory
  782. L_CompressTGA           Compress a TGA image file format to LEAD, JFIF, or JTIF
  783. L_CompressTIF           Compress a TIFF image file format to LEAD, JFIF, or JTIF
  784. L_CopyBitmapData        Copy image data from one bitmap handle to another
  785. L_CopyBitmapHandle      Copy one bitmap handle to another
  786. L_DecompressALL         Decompress LEAD, JFIF, or JTIF to any of the supported file formats
  787. L_DecompressBitmap      Decompress LEAD, JTIF, or JFIF  to bitmap handle
  788. L_DecompressBMP         Decompress LEAD, JTIF, or JFIF to BMP image file format
  789. L_DecompressGIF         Decompress LEAD, JTIF, or JFIF to GIF image file format
  790. L_DecompressPCX         Decompress LEAD, JTIF, or JFIF to PCX image file format
  791. L_DecompressTGA         Decompress LEAD, JTIF, or JFIF to TGA image file format
  792. L_DecompressTIF         Decompress LEAD, JTIF, or JFIF to TIFF image file format
  793. L_FileConvert           Convert any supported image file to another supported image file format
  794. L_FileInfo              Return information on any supported image file format
  795. L_FlipBitmap            Flip an image (top to bottom) located in a bitmap handle
  796. L_FreeBitmap            Free the storage allocated for an image contained in a bitmap handle
  797. L_GetBitmapRow          Retrieve a row from an image in a bitmap handle
  798. L_GetWindowBitmap       Retrieves an image from the Disktop
  799. L_InitBitmap            Initialize the fields in a bitmap handle
  800. L_LoadBMP               Load a BMP image file into bitmap handle
  801. L_LoadGIF               Load a GIF image file into a bitmap handle
  802. L_LoadPCX               Load a PCX image file into a  bitmap handle
  803. L_LoadTGA               Load a TGA image file into a bitmap handle
  804. L_LoadTIF               Load a TIFF image file into a bitmap handle
  805. L_OptimizeBitmap        Optimize a (16, 24, or 32bit) image into 256 colors
  806. L_PutBitmapRow          Store a row of an image data into a bitmap handle
  807. L_RegeisterLEAD         Register LEAD Window class
  808. L_ResizeBitmap          Resize an image in a bitmap handle
  809. L_ReverseBitmap         Reverse an image (left to right) located in a bitmap handle
  810. L_RotateBitmap          Rotate an image in a bitmap handle
  811. L_SaveBMPBitmap         Save a bitmap to a BMP image file format
  812. L_SaveGIFBitmap         Save a bitmap to a GIF image file format
  813. L_SavePCXBitmap         Save a bitmap to a PCX image file format
  814. L_SaveTGABitmap         Save a bitmap to a TGA image file format
  815. L_SaveTIFBitmap         Save a bitmap to a TIF image file format
  816. L_SetAveragePalette     Set or calculate average palette.
  817. L_SetBitmapPos          Set a new X and Y positions in a bitmap handle
  818. L_SizeBitmap            Resize an image in a bitmap to a new width and height
  819. L_Use Avarage Palette   Use average palette when display multiple images
  820.  
  821. ****************************************************************************************
  822.  
  823.  
  824. ****************************************************************************************
  825. LEAD Technologies, Inc. Price List:
  826. ****************************************************************************************
  827. LEADTOOLS                                       $995.00
  828. LEADTOOLS -no compression                       $249.00
  829. LEADTOOLS hardware compression                  FREE with the purchase of 2 LEADVIEW 255 boards
  830. LEADTOOLS for Windows DLL                       $995.00
  831. LEADTOOLS for Windows DLL -no compression       $249.00
  832. LEADTOOLS for Windows DLL  hardware compression FREE with the purchase of 2 LEADVIEW 255 boards
  833. LEADVIEW                                        $129.00
  834. LEADVIEW Windows                                $179.00
  835. LEADVIEW 255                                    $1,495.00
  836. All LEAD Technologies products are sold with a 30 day money back guarantee.
  837. LEADTOOLS DOS AND LEADTOOLS Windows DLL are sold without royalties.
  838.  
  839. *****************************************************************************************
  840.                 To contact LEAD call or write:
  841.                   LEAD Technologies, Inc.
  842.                   8701 Mallard Creek Road
  843.                   Charlotte, NC  28262
  844.                         1-800-637-4699
  845.                  in NC  704-549-5532
  846.                       Fax 704-548-8161
  847. *****************************************************************************************
  848.