Demo Programs

The following demo programs are in separate EXAMPLES subdirectories of the path where you installed your product (such as C:\LEADTOOLS22\Examples\).

The executable files for these examples were compiled with all LEADTOOLS capabilities unlocked. However, for redeployment, some of these capabilities require product-specific unlock keys. Otherwise, if you recompile the examples, the resulting executable files will not have the locked capabilities.

To unlock and redeploy these capabilities, you must purchase an appropriate product license, such as that included with a LEADTOOLS Document/Medical toolkit.

The following demos are available:

Demo Name Source Code Path Description
Color \Examples\ImageProcessing\C\Color

Demonstrates image optimization and dithering functionality.

Loads an image from file, dithers and reduces it to only 30 colors, and redisplays the image.

Demo Name Source Code Path Pre-Compiled Executable Path Description
Color Conversion \Examples\ImageProcessing\C\ColorConversion \Bin\CDLL\<Win32/x64>\ColorConversion_Original.exe

Demonstrates LEADTOOLS Colorspace Conversion SDK features.

Converts image data in a buffer from one color conversion model to another.

Formats supported include RGB, YUV, CMYK, HSV, HLS, YCC, ARGB, and many more.

Demo Name Source Code Path Description
Feature1 \Examples\ImageProcessing\C\Feature1

Demonstrates a few capabilities of the LEADTOOLS Image Processing SDK

Performs a handful of image processing functions on an image: Optimize, Flip, Lighten, Resize, and Rotate

Demo Name Source Code Path Description
Feature2 \Examples\ImageProcessing\C\Feature2

Demonstrates a few capabilities of the LEADTOOLS Image Processing SDK

Performs a handful of image processing functions on an image: Dither, Reverse, Grayscale, Resize

Demo Name Source Code Path Description
Feature3 \Examples\ImageProcessing\C\Feature3

Demonstrates a few capabilities of the LEADTOOLS Image Processing SDK

Performs a handful of image processing functions on an image: Halftone, Restore, Fill, Region Processing

Demo Name Source Code Path Description
Get Row \Examples\ImageProcessing\C\GetRow

This example will do the following:

  • Load an image from a file, through the command line
  • Display the image
  • Do a 90 degree rotation
  • Re-display the image
Demo Name Source Code Path Pre-Compiled Executable Path Description
GrayScale \Examples\ImageProcessing\C\GrayScale \Bin\CDLL\<Win32/x64>\GrayScale_Original.exe

Demonstrates Medical Image processing functionalities.

Demonstrates adjusting the parameters of each function, image statistics, segmentation, region of interest, window level, etc.

Demo Name Source Code Path Pre-Compiled Executable Path Description
Image Processing Features \Examples\ImageProcessing\C\ImagePF \Bin\CDLL\<Win32/x64>\ImagePF_Original.exe

Demonstrates image processing features.

Add filters, change colors, turn to grayscale, plus medical image processing commands

Demo Name Source Code Path Pre-Compiled Executable Path Description
Interactive Histogram \Examples\ImageProcessing\C\InteractiveHist \Bin\CDLL\<Win32/x64>\InteractiveHist_Original.exe

Demonstrates using powerful and comprehensive tools to adjust the image histogram.

  • Load and display images
  • Adjust image histogram
  • Alter, enhance, or segment histogram information
  • Provides histogram statistical information that can be helpful to analyze the image
Demo Name Source Code Path Description
Resize \Examples\ImageProcessing\C\Resize

Demonstrates how to use the power of the redirect I/O feature in our DLL.

  • Loads an image file(name passed as command line parameter) using L_LoadFile.
  • Resize the image during loading using the L_Resize system.
  • Display both the original and resized image during loading
  • Place the resized image over the original in the bitmap
  • Display the "image within an image" bitmap
  • Usage: RESIZE
Demo Name Source Code Path Description
Region \Examples\ImageProcessing\C\RgnDem

Demonstrates the use of our region tool.

Select a region and pull it out of an image. Copy the region or save to disk.

Demo Name Source Code Path Description
Underlay \Examples\ImageProcessing\C\Underlay

Demonstrates the Underlay image processing function

Demo Name Source Code Path Pre-Compiled Executable Path Description
Warp \Examples\ImageProcessing\C\Warp \Bin\CDLL\<Win32/x64>\Warp_Original.exe

Demonstrates how to warp images

Shows how to warp an image and paint in onto another image

Help Version 22.0.2023.2.2
Products | Support | Contact Us | Intellectual Property Notices
© 1991-2023 LEAD Technologies, Inc. All Rights Reserved.

LEADTOOLS Color Conversion C API Help
Products | Support | Contact Us | Intellectual Property Notices
© 1991-2023 LEAD Technologies, Inc. All Rights Reserved.