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 |
---|---|---|
Compress Callback | \Examples\FileFormats\C\CompCB | Demonstrates Image Compression functionality. Loads a 24-bit image, compresses it, and displays the compressed image. |
Demo Name | Source Code Path | Pre-Compiled Executable Path | Description |
---|---|---|---|
Feed Info | \Examples\FileFormats\C\FeedInfo | \Bin\CDLL\<Win32/x64>\FeedInfo_Original.exe |
Demonstrates LEADTOOLS image info functionality Gets the information for a given image file and displays it. |
Demo Name | Source Code Path | Description |
---|---|---|
Feed Load | \Examples\FileFormats\C\FeedLoad | Demonstrates LEADTOOLS image feed load functionality Progressively loads an image and paints the image as it loads. |
Demo Name | Source Code Path | Description |
---|---|---|
File Converter | \Examples\FileFormats\C\FileConversion | Demonstrates LEADTOOLS image conversion capabilities Shows how to load and convert between various image file formats. |
Demo Name | Source Code Path | Pre-Compiled Executable Path | Description |
---|---|---|---|
File Converter Utility | \Examples\FileFormats\C\FileConvertUtility | \Bin\CDLL\<Win32/x64>\FileConvertUtility_Original.exe |
Demonstrates LEADTOOLS file conversion support. Shows how to create and run a command line utility capable of converting between image file formats. |
Demo Name | Source Code Path | Description |
---|---|---|
Info | \Examples\FileFormats\C\Info | Demonstrates getting image file information with LEADTOOLS |
Demo Name | Source Code Path | Pre-Compiled Executable Path | Description |
---|---|---|---|
J2K | \Examples\FileFormats\C\J2K | \Bin\CDLL\<Win32/x64>\J2K_Original.exe |
Demonstrates JPEG 2000 image support.
|
Demo Name | Source Code Path | Pre-Compiled Executable Path | Description |
---|---|---|---|
J2K Large Image Save | \Examples\FileFormats\C\J2KLargeImageSave | \Bin\CDLL\<Win32/x64>\J2kLargeImageSave_Original.exe |
Demonstrates progressive load / save for large J2K images. Performs progressive load / save for large J2K images to avoid keeping the entire image in memory during the compression process. |
Demo Name | Source Code Path | Pre-Compiled Executable Path | Description |
---|---|---|---|
JPX | \Examples\FileFormats\C\Jpx | \Bin\CDLL\<Win32/x64>\Jpx_Original.exe |
Demonstrates JPX (JPEG 2000 Part-2) features of LEADTOOLS.
|
Demo Name | Source Code Path | Description |
---|---|---|
Load Callback | \Examples\FileFormats\C\LoadCB | Demonstrates loading image files with a callback function. Loads an image passed as a command line argument from file, sets a callback function, and displays the image as it is loaded. |
Demo Name | Source Code Path | Description |
---|---|---|
Load Save | \Examples\FileFormats\C\LoadSave | Demonstrates loading and saving of images. Menu driven example for loading and saving images. |
Demo Name | Source Code Path | Description |
---|---|---|
Memory | \Examples\FileFormats\C\Memory | Demonstrates loading an image from memory to a bitmap. Loads an image from file, loads the image from memory to a bitmap, and displays the image. |
Demo Name | Source Code Path | Description |
---|---|---|
Memory Callback | \Examples\FileFormats\C\MemoryCB | Demonstrates loading an image from memory to a bitmap with a Callback function. Loads an image from file, loads the image from memory to a bitmap, and displays the image. |
Demo Name | Source Code Path | Pre-Compiled Executable Path | Description |
---|---|---|---|
NITF | \Examples\FileFormats\C\Nitf | \Bin\CDLL\<Win32/x64>\Nitf_Original.exe |
Demonstrates National Image Transport Format (NITF) functionality. Open or create .ntf files, view and edit metadata, and manipulate media with image processing. |
Demo Name | Source Code Path | Description |
---|---|---|
Offset | \Examples\FileFormats\C\Offset | Demonstrates how to save an image with an offset Shows how to load and save an image with an offset using the L_SaveFileOffset() function. |
Demo Name | Source Code Path | Description |
---|---|---|
Redirect IO | \Examples\FileFormats\C\Redirect | Demonstrates how to use the power of the redirect I/O feature.
|
Demo Name | Source Code Path | Pre-Compiled Executable Path | Description |
---|---|---|---|
Save Callback | \Examples\FileFormats\C\SaveCB | \Bin\CDLL\<Win32/x64>\SaveCB_Original.exe |
Demonstrates saving an image file with a callback function.
|
Demo Name | Source Code Path | Description |
---|---|---|
Save Memory | \Examples\FileFormats\C\SaveMemory | This is a menu-driven example for loading and saving images.
|
Demo Name | Source Code Path | Description |
---|---|---|
Simple Load | \Examples\FileFormats\C\SimpleLoad | Demonstrates simple loading and displaying of an image using LEADTOOLS. Gets an image file name from command line, loads image to bitmap, creates a window, and displays the image. |
Demo Name | Source Code Path | Description |
---|---|---|
Stamp Get | \Examples\FileFormats\C\StampGet | Demonstrates opening and displaying a stamp file with LEADTOOLS. Loads a stamp from a file using Windows' common dialog box for opening a file, converts to bitmap, and displays the image in a window. |
Demo Name | Source Code Path | Pre-Compiled Executable Path | Description |
---|---|---|---|
Stamp Put | \Examples\FileFormats\C\StampPut | \Bin\CDLL\<Win32/x64>\StampPut_Original.exe |
Demonstrates converting a full sized image to a stamp with LEADTOOLS. Loads an image from file, compresses the image to stamp size, loads the stamp to a bitmap, and displays the result. |
Demo Name | Source Code Path | Description |
---|---|---|
Thread | \Examples\FileFormats\C\Thread | Demonstrates multi-threading with LEADTOOLS
|
For more information, refer to:
Programming with LEADTOOLS NITF Functions