Using Imaging Common Dialogs
The Imaging Common Dialog libraries provide a set of common dialog boxes that combine Windows Common Dialog functionality with imaging functionality contained in LEADTOOLS. For a list of required DLL's, refer to Files To Be Included With Your Application. Imaging Common Dialogs are provided for numerous image processing, effects and filtering functions.
Reusable dialogs for the most common LEADTOOLS imaging functions and effects are now provided.
A Thumbnail Preview option for the image processing dialogs allows the end user to preview the proposed change to the image, before actually affecting the original image.
An optional Help callback function lets you provide custom help information for each dialog.
A user interface control for the dialogs is provided through flags in the structure passed to each dialog function.
An option to have the Imaging Common Dialog process the image automatically is provided.
These dialogs provide input parameters needed for the several LEADTOOLS imaging functions. The list below gives the function that displays the dialog on the left and the image processing function associated with it on the right, if one exists. For more information on the Image Processing functions, refer to the LEADTOOLS Main API help file in the LEADTOOLS/HELP directory.
Artistic Effects
| |
Color Manipulation
| |
| |
| |
| |
|
Document Clean up
Filtering
Geometric Transformations
| |
| |
HTML/Web
| |
L_ColorResBitmap, L_FillBitmap, L_SaveBitmap, L_SetBitmapRgnColorRGBRange | |
Printing
Sharpening or Blurring an Image
Special Effects
In addition to the dialog functions provided for image processing, LEADTOOLS also provides Imaging Common Dialog functions for general use and dialog maintenance. These are given below.
Dialog Maintenance and General Use
Implementing help for LEADTOOLS dialogs is achieved by setting a pointer to a help callback function in the structure passed to the L_DlgXXX function. The callback function will be called to provide the appropriate help for the corresponding dialog if the user clicks on the Help Button. For more information concerning implementing the help callback function, refer to LTCOMMDLGHELPCB Callback Function.