Demo Programs

The following demo programs are in separate EXAMPLES subdirectories of the path where you installed your product (such as C:\LEADTOOLS23\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 Pre-Compiled Executable Path Description
Color \Examples\ImageProcessing\C\Color \Bin\CDLL\<Win32/Win32/x64/x64>\Color.exe

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/Win32/x64/x64>\ColorConversion.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 Pre-Compiled Executable Path Description
Feature1 \Examples\ImageProcessing\C\Feature1 \Bin\CDLL\<Win32/Win32/x64/x64>\Feature1.exe

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 Pre-Compiled Executable Path Description
Feature2 \Examples\ImageProcessing\C\Feature2 \Bin\CDLL\<Win32/Win32/x64/x64>\Feature2.exe

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 Pre-Compiled Executable Path Description
Feature3 \Examples\ImageProcessing\C\Feature3 \Bin\CDLL\<Win32/Win32/x64/x64>\Feature3.exe

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 Pre-Compiled Executable Path Description
Get Row \Examples\ImageProcessing\C\GetRow \Bin\CDLL\<Win32/Win32/x64/x64>\GetRow.exe

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/Win32/x64/x64>\GrayScale.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/Win32/x64/x64>\ImagePF.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/Win32/x64/x64>\InteractiveHist.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 Pre-Compiled Executable Path Description
Resize \Examples\ImageProcessing\C\Resize \Bin\CDLL\<Win32/Win32/x64/x64>\Resize.exe

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 Pre-Compiled Executable Path Description
Region \Examples\ImageProcessing\C\RgnDem \Bin\CDLL\<Win32/Win32/x64/x64>\RgnDem.exe

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 Pre-Compiled Executable Path Description
Underlay \Examples\ImageProcessing\C\Underlay \Bin\CDLL\<Win32/Win32/x64/x64>\Underlay.exe

Demonstrates the Underlay image processing function

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

Demonstrates how to warp images

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

Help Version 23.0.2024.2.29
Products | Support | Contact Us | Intellectual Property Notices
© 1991-2024 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.