ImageEn, unit imageenproc

TIPDialogParams


Description

Provides read/write access to the parameters of the Image Processing Dialog (displayed by calling DoPreviews).


Fields

Public Property  DialogWidth: Integer;
Public Property  DialogHeight: Integer;
Public Property  CONTRAST_Contrast: Integer;
Public Property  CONTRAST_Brightness: Integer;
Public Property  HSV_H: Integer;
Public Property  HSV_S: Integer;
Public Property  HSV_V: Integer;
Public Property  HSL_H: Integer;
Public Property  HSL_S: Integer;
Public Property  HSL_L: Integer;
Public Property  RGB_R: Integer;
Public Property  RGB_G: Integer;
Public Property  RGB_B: Integer;
Public Property  USERFILTER_Values: TGraphFilter;
Public Property  EQUALIZATION_ThresholdDown: TRGB;
Public Property  EQUALIZATION_ThresholdUp: TRGB;
Public Property  EQUALIZATION_EqDown: TRGB;
Public Property  EQUALIZATION_EqUp: TRGB;
Public Property  EQUALIZATION_EqualizeButton: Boolean;
Public Property  EQUALIZATION_Gray: Boolean;
Public Property  EQUALIZATION_Blue: Boolean;
Public Property  EQUALIZATION_Green: Boolean;
Public Property  EQUALIZATION_Red: Boolean;
Public Property  BUMPMAP_Left: Integer;
Public Property  BUMPMAP_Top: Integer;
Public Property  BUMPMAP_Width: Integer;
Public Property  BUMPMAP_Height: Integer;
Public Property  BUMPMAP_Col: TRGB;
Public Property  BUMPMAP_Src: Integer;
Public Property  BUMPMAP_Auto: Boolean;
Public Property  LENS_Left: Integer;
Public Property  LENS_Top: Integer;
Public Property  LENS_Width: Integer;
Public Property  LENS_Height: Integer;
Public Property  LENS_Ref: Double;
Public Property  LENS_Auto: Boolean;
Public Property  WAVE_Amplitude: Integer;
Public Property  WAVE_WaveLength: Integer;
Public Property  WAVE_Phase: Integer;
Public Property  WAVE_Reflect: Boolean;
Public Property  MORPH_Filter: Integer;
Public Property  MORPH_WinSize: Integer;
Public Property  ROTATE_Angle: Double;
Public Property  FLIP_Horz: Boolean;
Public Property  FLIP_Vert: Boolean;
Public Property  GAMMACORRECTION_Red: Boolean;
Public Property  GAMMACORRECTION_Green: Boolean;
Public Property  GAMMACORRECTION_Blue: Boolean;
Public Property  GAMMACORRECTION_Value: Double;
Public Property  SHARPEN_Sharpen: Integer;
Public Property  SHARPEN_Size: Integer;
Public Property  FFT_Left: Integer;
Public Property  FFT_Top: Integer;
Public Property  FFT_Right: Integer;
Public Property  FFT_Bottom: Integer;
Public Property  FFT_GrayScale: Boolean;
Public Property  FFT_Selection: TMemoryStream;
Public Property  Resize_MaintainAR: Boolean;
Public Property  Resize_QualityFilter: Boolean;
Public Property  Resize_HeightPercent: Integer;
Public Property  Resize_WidthPercent: Integer;
Public Property  Shadow_Color : TColor;
Public Property  Shadow_Position: Integer;
Public Property  Shadow_Radius : Integer;
Public Property  Shadow_Offset : Integer;
Public Property  AutoEnhance1_Slope: Integer;
Public Property  AutoEnhance1_Range : Integer;
Public Property  AutoEnhance1_Quality : Integer;
Public Property  AutoEnhance3_Gamma : Double;
Public Property  AutoEnhance3_Saturation : Integer;
Public Property  Crop_Left : Integer;
Public Property  Crop_Top : Integer;
Public Property  Crop_Right : Integer;
Public Property  Crop_Bottom : Integer;
Public Property  BackgroundColor : TColor;
Public Property  ColorCurve_CurvePoints : AnsiString;
Public Property  ColorCurve_Channel : Integer;
Public Property  Levels_Shadow: Byte;
Public Property  Levels_MidTone: Byte;
Public Property  Levels_Highlight: Byte;
Public Property  Levels_OutShadow: Byte;
Public Property  Levels_OutHighlight: Byte;


Methods

Public Method  LoadFromFile
Public Method  LoadFromIniFile
Public Method  LoadFromRegistry
Public Method  LoadFromStream
Public Method  SaveToFile
Public Method  SaveToIniFile
Public Method  SaveToRegistry
Public Method  SaveToStream
Public Method  SetProperty
Public Method  GetProperty
Public Method  SetDefaultParams


Example

// Display Effects Dialog with state saved between sessions
if FileExists( 'D:\State.dat' ) then
  ImageEnView1.Proc.IPDialogParams.LoadFromFile( 'D:\State.dat' );
ImageEnView1.Proc.DoPreviews( ppeSpecialEffects );
ImageEnView1.Proc.IPDialogParams.SaveToFile( 'D:\State.dat' );