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.

image\sqrblit.gif Reusable dialogs for the most common LEADTOOLS imaging functions and effects are now provided.

image\sqrblit.gif 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.

image\sqrblit.gif An optional Help callback function lets you provide custom help information for each dialog.

image\sqrblit.gif A user interface control for the dialogs is provided through flags in the structure passed to each dialog function.

image\sqrblit.gif 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

L_DlgAddBitmaps

L_AddBitmaps

L_DlgAddBorder

L_AddBorder

L_DlgAddFrame

L_AddFrame

L_DlgAddNoise

L_AddBitmapNoise

L_DlgBending

L_BendingBitmap

L_DlgCylindrical

L_CylindricalBitmap

L_DlgFreeHandWave

L_FreeHandWaveBitmap

L_DlgImpressionist

L_ImpressionistBitmap

L_DlgMosaic

L_MosaicBitmap

L_DlgMotionBlur

L_MotionBlurBitmap

L_DlgOilify

L_OilifyBitmap

L_DlgPicturize

L_PicturizeBitmap

L_DlgPixelate

L_PixelateBitmap

L_DlgPolar

L_PolarBitmap

L_DlgPosterize

L_PosterizeBitmap

L_DlgPunch

L_PunchBitmap

L_DlgRadialBlur

L_RadialBlurBitmap

L_DlgRadialWave

L_RadWaveBitmap

L_DlgRemoveRedeye

L_RemoveRedeyeBitmap

L_DlgRipple

L_RippleBitmap

L_DlgSolarize

L_SolarizeBitmap

L_DlgSpherize

L_SpherizeBitmap

L_DlgStitch

 

L_DlgSwirl

L_SwirlBitmap

L_DlgUnderlay

L_UnderlayBitmap

L_DlgWave

L_WaveBitmap

L_DlgWaveShear

L_FreeHandShearBitmap

L_DlgWind

L_WindBitmap

L_DlgZoomBlur

L_ZoomBlurBitmap

L_DlgZoomWave

L_ZoomWaveBitmap

Color Manipulation

L_DlgBalanceColors

L_BalanceColors

L_DlgBrightness

L_ChangeBitmapIntensity

L_DlgColor

 

L_DlgColoredGray

L_ConvertToColoredGray

L_DlgColorRes

L_ColorResBitmap

L_DlgContrast

L_ChangeBitmapContrast

L_DlgCustomizePalette

 

L_DlgGammaAdjustment

 

L_DlgGrayScale

L_GrayScaleBitmap

L_DlgHalftone

L_HalfToneBitmap

L_DlgHistoContrast

L_HistoContrastBitmap

L_DlgHistogram

 

L_DlgHue

L_ChangeBitmapHue

L_DlgIntensityDetect

L_IntensityDetectBitmap

L_DlgLocalHistoEqualize

L_LocalHistoEqualizeBitmap

L_DlgMultiply

L_MultiplyBitmap

L_DlgRemapHue

L_RemapBitmapHue

L_DlgRemapIntensity

L_RemapBitmapIntensity

L_DlgSaturation

L_ChangeBitmapSaturation

L_DlgWindowLevel

 

Document Clean up

L_DlgBorderRemove

L_BorderRemoveBitmap

L_DlgDotRemove

L_DotRemoveBitmap

L_DlgHolePunchRemove

L_HolePunchRemoveBitmap

L_DlgInvertedText

L_InvertedTextBitmap

L_DlgLineRemove

L_LineRemoveBitmap

L_DlgSmooth

L_SmoothBitmap

Filtering

L_DlgContourFilter

L_ContourFilterBitmap

L_DlgDilationFilter

L_BinaryFilterBitmap

L_DlgEdgeDetector

L_EdgeDetectorBitmap

L_DlgEmboss

L_EmbossBitmap

L_DlgErosionFilter

L_BinaryFilterBitmap

L_DlgGradientFilter

L_SpatialFilterBitmap

L_DlgLaplacianFilter

L_SpatialFilterBitmap

L_DlgLineSegmentFilter

L_SpatialFilterBitmap

L_DlgMaxFilter

L_MaxFilterBitmap

L_DlgMinFilter

L_MinFilterBitmap

L_DlgPrewittFilter

L_SpatialFilterBitmap

L_DlgShiftDifferenceFilter

L_SpatialFilterBitmap

L_DlgSobelFilter

L_SpatialFilterBitmap

Geometric Transformations

L_DlgAutoTrim

L_AutoTrimBitmap

L_DlgCanvasResize

 

L_DlgResize

 

L_DlgRotate

L_RotateBitmap

L_DlgShear

L_ShearBitmap

HTML/Web

L_DlgHTMLMapper

 

L_DlgGIFWebTuner

L_ColorResBitmap, L_FillBitmap, L_SaveBitmap, L_SetBitmapRgnColorRGBRange

L_DlgJPEGWebTuner

L_SaveBitmap

L_DlgPNGWebTuner

L_SaveBitmap

Printing

L_DlgPrintPreview

L_DlgPrintStitchedImages

Sharpening or Blurring an Image

L_DlgAntiAlias

L_AntiAliasBitmap

L_DlgAverage

L_AverageFilterBitmap

L_DlgGaussianBlur

L_GaussianFilterBitmap

L_DlgMedian

L_MedianFilterBitmap

L_DlgSharpen

L_SharpenBitmap

L_DlgUnsharpMask

L_UnsharpMaskBitmap

Special Effects

L_DlgGetEffect

L_EfxPaintBitmap

L_DlgGetGradient

L_EfxGradientFillRect

L_DlgGetShape

L_EfxDraw3dShape

L_DlgGetText

L_EfxDrawRotated3dText

L_DlgGetTransition

L_EfxPaintTransition

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

L_DlgFilesAssociation

L_DlgFree

L_DlgGetDirectory

L_DlgGetString

L_DlgGetStringLen

L_DlgICCProfile

L_DlgInit

L_DlgOpen

L_DlgSave

L_DlgSetFont

L_DlgSetString

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.