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 |
---|---|---|---|
Compress Callback | \Examples\FileFormats\C\CompCB(MFC) | \Bin\CDLL\<Win32/Win32/x64/x64>\CLCompCB.exe |
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 |
---|---|---|---|
Dimension | \Examples\FileFormats\C\Dimens(MFC) | \Bin\CDLL\<Win32/Win32/x64/x64>\CLDimens.exe |
Demonstrates working with the multiple resolutions stored in specific image file formats.
|
Demo Name | Source Code Path | Pre-Compiled Executable Path | Description |
---|---|---|---|
Feed Load | \Examples\FileFormats\C\FeedLoad(MFC) | \Bin\CDLL\<Win32/Win32/x64/x64>\CLFeedLoad.exe |
Demonstrates LEADTOOLS image feed load functionality Progressively loads an image and paints the image as it loads. |
Demo Name | Source Code Path | Pre-Compiled Executable Path | Description |
---|---|---|---|
Info | \Examples\FileFormats\C\Info(MFC) | \Bin\CDLL\<Win32/Win32/x64/x64>\CLInfo.exe |
Demonstrates getting image file information with LEADTOOLS |
Demo Name | Source Code Path | Pre-Compiled Executable Path | Description |
---|---|---|---|
JPX | \Examples\FileFormats\C\Jpx(MFC) | \Bin\CDLL\<Win32/Win32/x64/x64>\CLJpx.exe |
Demonstrates JPX (JPEG 2000 Part-2) features of LEADTOOLS.
|
Demo Name | Source Code Path | Pre-Compiled Executable Path | Description |
---|---|---|---|
Load Callback | \Examples\FileFormats\C\LoadCB(MFC) | \Bin\CDLL\<Win32/Win32/x64/x64>\CLLoadCB.exe |
Demonstrates loading an image file 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 | Pre-Compiled Executable Path | Description |
---|---|---|---|
Load Save | \Examples\FileFormats\C\LoadSave(MFC) | \Bin\CDLL\<Win32/Win32/x64/x64>\CLLoadSave.exe |
Demonstrates loading and saving of images. Menu driven example for loading and saving images using Windows' common dialog box. |
Demo Name | Source Code Path | Pre-Compiled Executable Path | Description |
---|---|---|---|
Memory | \Examples\FileFormats\C\Memory(MFC) | \Bin\CDLL\<Win32/Win32/x64/x64>\CLMemory.exe |
Demonstrates how to load an image from a memory buffer instead of from a disk file. |
Demo Name | Source Code Path | Pre-Compiled Executable Path | Description |
---|---|---|---|
Memory | \Examples\FileFormats\C\MemoryCB(MFC) | \Bin\CDLL\<Win32/Win32/x64/x64>\CLMemoryCB.exe |
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 with a Callback, and displays the image. |
Demo Name | Source Code Path | Pre-Compiled Executable Path | Description |
---|---|---|---|
NITF | \Examples\FileFormats\C\Nitf(MFC) | \Bin\CDLL\<Win32/Win32/x64/x64>\CLNITF.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 | Pre-Compiled Executable Path | Description |
---|---|---|---|
Offset | \Examples\FileFormats\C\Offset(MFC) | \Bin\CDLL\<Win32/Win32/x64/x64>\CLOffset.exe |
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 | Pre-Compiled Executable Path | Description |
---|---|---|---|
Redirect IO | \Examples\FileFormats\C\Redirect(MFC) | \Bin\CDLL\<Win32/Win32/x64/x64>\CLRedirect.exe |
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(MFC) | \Bin\CDLL\<Win32/Win32/x64/x64>\CLSaveCB.exe |
|
Demo Name | Source Code Path | Pre-Compiled Executable Path | Description |
---|---|---|---|
Save Memory | \Examples\FileFormats\C\SaveMemory(MFC) | \Bin\CDLL\<Win32/Win32/x64/x64>\CLSaveMemory.exe |
Demonstrates saving an image to memory instead of a file on disk.
|
Demo Name | Source Code Path | Pre-Compiled Executable Path | Description |
---|---|---|---|
Simple Load | \Examples\FileFormats\C\SimpleLoad(MFC) | \Bin\CDLL\<Win32/Win32/x64/x64>\CLSimpleLoad.exe |
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 | Pre-Compiled Executable Path | Description |
---|---|---|---|
Stamp Get | \Examples\FileFormats\C\StampGet(MFC) | \Bin\CDLL\<Win32/Win32/x64/x64>\CLStampGet.exe |
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(MFC) | \Bin\CDLL\<Win32/Win32/x64/x64>\CLStampPut.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. |
For more information, refer to:
Programming with LEADTOOLS NITF Functions