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