198 lines
6.5 KiB
Plaintext
198 lines
6.5 KiB
Plaintext
object frmRotate: TfrmRotate
|
|
Left = 0
|
|
Top = 0
|
|
Caption = 'Rotate and Crop Demo - www.ImageEn.com'
|
|
ClientHeight = 725
|
|
ClientWidth = 775
|
|
Color = clBtnFace
|
|
ParentFont = True
|
|
OldCreateOrder = False
|
|
Position = poScreenCenter
|
|
OnCreate = FormCreate
|
|
OnDestroy = FormDestroy
|
|
PixelsPerInch = 96
|
|
TextHeight = 13
|
|
object ImageEnView1: TImageEnView
|
|
Left = 0
|
|
Top = 0
|
|
Width = 775
|
|
Height = 635
|
|
Background = clBtnFace
|
|
BorderStyle = bsNone
|
|
LegacyBitmap = False
|
|
ScrollBars = ssNone
|
|
SelectionOptions = [iesoAnimated, iesoSizeable, iesoMoveable, iesoMarkOuter, iesoCanScroll]
|
|
MouseInteract = [miZoom]
|
|
DelayZoomFilter = True
|
|
AutoShrink = True
|
|
EnableInteractionHints = True
|
|
Align = alClient
|
|
TabOrder = 0
|
|
end
|
|
object plBottom: TPanel
|
|
Left = 0
|
|
Top = 635
|
|
Width = 775
|
|
Height = 90
|
|
Align = alBottom
|
|
TabOrder = 1
|
|
object lblRotation: TLabel
|
|
Left = 139
|
|
Top = 17
|
|
Width = 45
|
|
Height = 13
|
|
Caption = 'Rotation:'
|
|
end
|
|
object lblDegrees: TLabel
|
|
Left = 424
|
|
Top = 17
|
|
Width = 6
|
|
Height = 13
|
|
Caption = '0'
|
|
end
|
|
object trkRotate: TTrackBar
|
|
Left = 190
|
|
Top = 14
|
|
Width = 233
|
|
Height = 27
|
|
Max = 180
|
|
Min = -180
|
|
TabOrder = 2
|
|
TickStyle = tsNone
|
|
OnChange = trkRotateChange
|
|
end
|
|
object btnCrop: TButton
|
|
Left = 318
|
|
Top = 42
|
|
Width = 97
|
|
Height = 24
|
|
Caption = 'Apply Changes'
|
|
TabOrder = 3
|
|
OnClick = btnCropClick
|
|
end
|
|
object btnLoad: TButton
|
|
Left = 11
|
|
Top = 12
|
|
Width = 97
|
|
Height = 24
|
|
Caption = 'Load Image...'
|
|
TabOrder = 0
|
|
OnClick = btnLoadClick
|
|
end
|
|
object btnSave: TButton
|
|
Left = 11
|
|
Top = 42
|
|
Width = 97
|
|
Height = 24
|
|
Caption = 'Save Image...'
|
|
TabOrder = 1
|
|
OnClick = btnSaveClick
|
|
end
|
|
object grpOptions: TGroupBox
|
|
Left = 500
|
|
Top = 6
|
|
Width = 265
|
|
Height = 73
|
|
Anchors = [akTop, akRight]
|
|
Caption = 'Options'
|
|
TabOrder = 4
|
|
object lblSource: TLabel
|
|
Left = 15
|
|
Top = 22
|
|
Width = 37
|
|
Height = 13
|
|
Anchors = [akTop, akRight]
|
|
Caption = 'Source:'
|
|
end
|
|
object cmbCropAlgorithm: TComboBox
|
|
Left = 60
|
|
Top = 18
|
|
Width = 145
|
|
Height = 21
|
|
Style = csDropDownList
|
|
ItemHeight = 13
|
|
TabOrder = 0
|
|
OnChange = cmbCropAlgorithmChange
|
|
Items.Strings = (
|
|
'Skewed Document'
|
|
'Angled Photo')
|
|
end
|
|
object chkGuidelines: TCheckBox
|
|
Left = 15
|
|
Top = 46
|
|
Width = 113
|
|
Height = 17
|
|
Caption = 'Show Guide Lines'
|
|
TabOrder = 1
|
|
OnClick = chkGuidelinesClick
|
|
end
|
|
end
|
|
end
|
|
object Timer1: TTimer
|
|
Enabled = False
|
|
Interval = 10
|
|
OnTimer = Timer1Timer
|
|
Left = 48
|
|
Top = 160
|
|
end
|
|
object OpenImageEnDialog: TOpenImageEnDialog
|
|
Filter =
|
|
'All Common Graphic Files|*.tif;*.tiff;*.fax;*.g3n;*.g3f;*.xif;*.' +
|
|
'gif;*.jpg;*.jpeg;*.jpe;*.jif;*.pcx;*.bmp;*.dib;*.rle;*.ico;*.cur' +
|
|
';*.png;*.dcm;*.dic;*.dicom;*.v2;*.wmf;*.emf;*.tga;*.targa;*.vda;' +
|
|
'*.icb;*.vst;*.pix;*.pxm;*.ppm;*.pgm;*.pbm;*.wbmp;*.jp2;*.j2k;*.j' +
|
|
'pc;*.j2c;*.dcx;*.crw;*.cr2;*.dng;*.nef;*.raw;*.raf;*.x3f;*.orf;*' +
|
|
'.srf;*.mrw;*.dcr;*.bay;*.pef;*.sr2;*.arw;*.kdc;*.mef;*.3fr;*.k25' +
|
|
';*.erf;*.cam;*.cs1;*.dc2;*.dcs;*.fff;*.mdc;*.mos;*.nrw;*.ptx;*.p' +
|
|
'xn;*.rdc;*.rw2;*.rwl;*.iiq;*.srw;*.psd;*.psb;*.iev;*.lyr;*.all;*' +
|
|
'.wdp;*.hdp;*.jxr;*.avi;*.mpeg;*.mpg;*.wmv|All Files (*.*)|*.*|JP' +
|
|
'EG Image (*.jpg;*.jpeg;*.jpe;*.jif)|*.jpg;*.jpeg;*.jpe;*.jif|TIF' +
|
|
'F Image (*.tif;*.tiff;*.fax;*.g3n;*.g3f;*.xif)|*.tif;*.tiff;*.fa' +
|
|
'x;*.g3n;*.g3f;*.xif|GIF Image (*.gif)|*.gif|PaintBrush (*.pcx)|*' +
|
|
'.pcx|Windows Bitmap (*.bmp;*.dib;*.rle)|*.bmp;*.dib;*.rle|Window' +
|
|
's Icon (*.ico)|*.ico|Windows Cursor (*.cur)|*.cur|Portable Netwo' +
|
|
'rk Graphics (*.png)|*.png|DICOM Medical Image (*.dcm;*.dic;*.dic' +
|
|
'om;*.v2)|*.dcm;*.dic;*.dicom;*.v2|Windows Metafile (*.wmf)|*.wmf' +
|
|
'|Enhanced Windows Metafile (*.emf)|*.emf|Targa Image (*.tga;*.ta' +
|
|
'rga;*.vda;*.icb;*.vst;*.pix)|*.tga;*.targa;*.vda;*.icb;*.vst;*.p' +
|
|
'ix|Portable Pixmap, Graymap, Bitmap (*.pxm;*.ppm;*.pgm;*.pbm)|*.' +
|
|
'pxm;*.ppm;*.pgm;*.pbm|Wireless Bitmap (*.wbmp)|*.wbmp|JPEG2000 (' +
|
|
'*.jp2)|*.jp2|JPEG2000 Code Stream (*.j2k;*.jpc;*.j2c)|*.j2k;*.jp' +
|
|
'c;*.j2c|Multipage PCX (*.dcx)|*.dcx|Camera Raw Image (*.cr2;*.cr' +
|
|
'w;*.dng;*.nef;*.raw;*.orf;*.nrw...)|*.crw;*.cr2;*.dng;*.nef;*.ra' +
|
|
'w;*.raf;*.x3f;*.orf;*.srf;*.mrw;*.dcr;*.bay;*.pef;*.sr2;*.arw;*.' +
|
|
'kdc;*.mef;*.3fr;*.k25;*.erf;*.cam;*.cs1;*.dc2;*.dcs;*.fff;*.mdc;' +
|
|
'*.mos;*.nrw;*.ptx;*.pxn;*.rdc;*.rw2;*.rwl;*.iiq;*.srw|Photoshop ' +
|
|
'PSD (*.psd;*.psb)|*.psd;*.psb|Vectorial Objects (*.iev)|*.iev|La' +
|
|
'yers (*.lyr)|*.lyr|Layers and Objects (*.all)|*.all|Microsoft HD' +
|
|
' Photo (*.wdp;*.hdp;*.jxr)|*.wdp;*.hdp;*.jxr|Video for Windows (' +
|
|
'*.avi)|*.avi|MPEG Video (*.mpeg;*.mpg)|*.mpeg;*.mpg|Windows Medi' +
|
|
'a Video (*.wmv)|*.wmv'
|
|
Left = 48
|
|
Top = 24
|
|
end
|
|
object SaveImageEnDialog: TSaveImageEnDialog
|
|
Filter =
|
|
'JPEG Image (*.jpg;*.jpeg;*.jpe;*.jif)|*.jpg;*.jpeg;*.jpe;*.jif|T' +
|
|
'IFF Image (*.tif;*.tiff;*.fax;*.g3n;*.g3f;*.xif)|*.tif;*.tiff;*.' +
|
|
'fax;*.g3n;*.g3f;*.xif|GIF Image (*.gif)|*.gif|PaintBrush (*.pcx)' +
|
|
'|*.pcx|Windows Bitmap (*.bmp;*.dib;*.rle)|*.bmp;*.dib;*.rle|Wind' +
|
|
'ows Icon (*.ico)|*.ico|Portable Network Graphics (*.png)|*.png|D' +
|
|
'ICOM Medical Image (*.dcm;*.dic;*.dicom;*.v2)|*.dcm;*.dic;*.dico' +
|
|
'm;*.v2|Targa Image (*.tga;*.targa;*.vda;*.icb;*.vst;*.pix)|*.tga' +
|
|
';*.targa;*.vda;*.icb;*.vst;*.pix|Portable Pixmap, Graymap, Bitma' +
|
|
'p (*.pxm;*.ppm;*.pgm;*.pbm)|*.pxm;*.ppm;*.pgm;*.pbm|Wireless Bit' +
|
|
'map (*.wbmp)|*.wbmp|JPEG2000 (*.jp2)|*.jp2|JPEG2000 Code Stream ' +
|
|
'(*.j2k;*.jpc;*.j2c)|*.j2k;*.jpc;*.j2c|PostScript (*.ps;*.eps)|*.' +
|
|
'ps;*.eps|Adobe PDF (*.pdf)|*.pdf|Multipage PCX (*.dcx)|*.dcx|Pho' +
|
|
'toshop PSD (*.psd;*.psb)|*.psd;*.psb|Vectorial Objects (*.iev)|*' +
|
|
'.iev|Layers (*.lyr)|*.lyr|Layers and Objects (*.all)|*.all|Micro' +
|
|
'soft HD Photo (*.wdp;*.hdp;*.jxr)|*.wdp;*.hdp;*.jxr|Video for Wi' +
|
|
'ndows (*.avi)|*.avi'
|
|
ExOptions = [sdShowPreview, sdShowAdvanced]
|
|
AttachedImageEnIO = ImageEnView1
|
|
Left = 48
|
|
Top = 88
|
|
end
|
|
end
|