home *** CD-ROM | disk | FTP | other *** search
/ OS/2 Shareware BBS: 10 Tools / 10-Tools.zip / leadtool.zip / README.1ST < prev    next >
Text File  |  1992-07-20  |  47KB  |  805 lines

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