From 2cf766a8e2bd92b384dfc893de4581ca4164c296 Mon Sep 17 00:00:00 2001 From: Jaex Date: Sat, 25 Feb 2023 14:50:36 +0300 Subject: [PATCH] Double SendMouseWheel delta --- .../Forms/ScrollingCaptureForm.Designer.cs | 27 - .../Forms/ScrollingCaptureForm.cs | 85 +- .../Forms/ScrollingCaptureForm.resx | 1087 +++++++++++------ 3 files changed, 748 insertions(+), 451 deletions(-) diff --git a/ShareX.ScreenCaptureLib/Forms/ScrollingCaptureForm.Designer.cs b/ShareX.ScreenCaptureLib/Forms/ScrollingCaptureForm.Designer.cs index 464271fbd..40f4eee84 100644 --- a/ShareX.ScreenCaptureLib/Forms/ScrollingCaptureForm.Designer.cs +++ b/ShareX.ScreenCaptureLib/Forms/ScrollingCaptureForm.Designer.cs @@ -25,7 +25,6 @@ private void InitializeComponent() this.components = new System.ComponentModel.Container(); System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(ScrollingCaptureForm)); this.btnSelectHandle = new System.Windows.Forms.Button(); - this.lblControlText = new System.Windows.Forms.Label(); this.btnCapture = new System.Windows.Forms.Button(); this.captureTimer = new System.Windows.Forms.Timer(this.components); this.nudScrollDelay = new System.Windows.Forms.NumericUpDown(); @@ -51,7 +50,6 @@ private void InitializeComponent() this.cbStartCaptureAutomatically = new System.Windows.Forms.CheckBox(); this.btnSelectRectangle = new System.Windows.Forms.Button(); this.lblNote = new System.Windows.Forms.Label(); - this.lblSelectedRectangle = new System.Windows.Forms.Label(); this.tpOutput = new System.Windows.Forms.TabPage(); this.gbImages = new System.Windows.Forms.GroupBox(); this.btnCombineV2 = new System.Windows.Forms.Button(); @@ -80,7 +78,6 @@ private void InitializeComponent() this.pOutput = new System.Windows.Forms.Panel(); this.lblProcessing = new System.Windows.Forms.Label(); this.pbOutput = new System.Windows.Forms.PictureBox(); - this.btnCombineV3 = new System.Windows.Forms.Button(); ((System.ComponentModel.ISupportInitialize)(this.nudScrollDelay)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.nudMaximumScrollCount)).BeginInit(); this.tcScrollingCapture.SuspendLayout(); @@ -111,11 +108,6 @@ private void InitializeComponent() this.btnSelectHandle.UseVisualStyleBackColor = true; this.btnSelectHandle.Click += new System.EventHandler(this.btnSelectHandle_Click); // - // lblControlText - // - resources.ApplyResources(this.lblControlText, "lblControlText"); - this.lblControlText.Name = "lblControlText"; - // // btnCapture // resources.ApplyResources(this.btnCapture, "btnCapture"); @@ -184,8 +176,6 @@ private void InitializeComponent() this.tpCapture.Controls.Add(this.gbWhileCapturing); this.tpCapture.Controls.Add(this.gbBeforeCapture); this.tpCapture.Controls.Add(this.lblNote); - this.tpCapture.Controls.Add(this.lblSelectedRectangle); - this.tpCapture.Controls.Add(this.lblControlText); this.tpCapture.Controls.Add(this.btnCapture); resources.ApplyResources(this.tpCapture, "tpCapture"); this.tpCapture.Name = "tpCapture"; @@ -332,11 +322,6 @@ private void InitializeComponent() resources.ApplyResources(this.lblNote, "lblNote"); this.lblNote.Name = "lblNote"; // - // lblSelectedRectangle - // - resources.ApplyResources(this.lblSelectedRectangle, "lblSelectedRectangle"); - this.lblSelectedRectangle.Name = "lblSelectedRectangle"; - // // tpOutput // this.tpOutput.BackColor = System.Drawing.SystemColors.Window; @@ -353,7 +338,6 @@ private void InitializeComponent() // // gbImages // - this.gbImages.Controls.Add(this.btnCombineV3); this.gbImages.Controls.Add(this.btnCombineV2); this.gbImages.Controls.Add(this.txtImagesCount); this.gbImages.Controls.Add(this.lblImageCount); @@ -565,13 +549,6 @@ private void InitializeComponent() this.pbOutput.Name = "pbOutput"; this.pbOutput.TabStop = false; // - // btnCombineV3 - // - resources.ApplyResources(this.btnCombineV3, "btnCombineV3"); - this.btnCombineV3.Name = "btnCombineV3"; - this.btnCombineV3.UseVisualStyleBackColor = true; - this.btnCombineV3.Click += new System.EventHandler(this.btnCombineV3_Click); - // // ScrollingCaptureForm // this.AcceptButton = this.btnCapture; @@ -584,7 +561,6 @@ private void InitializeComponent() ((System.ComponentModel.ISupportInitialize)(this.nudMaximumScrollCount)).EndInit(); this.tcScrollingCapture.ResumeLayout(false); this.tpCapture.ResumeLayout(false); - this.tpCapture.PerformLayout(); this.gbAfterCapture.ResumeLayout(false); this.gbAfterCapture.PerformLayout(); this.gbWhileCapturing.ResumeLayout(false); @@ -616,7 +592,6 @@ private void InitializeComponent() #endregion private Button btnSelectHandle; - private Label lblControlText; private Button btnCapture; private Timer captureTimer; private NumericUpDown nudScrollDelay; @@ -656,7 +631,6 @@ private void InitializeComponent() private Label lblStartDelay; private NumericUpDown nudStartDelay; private Button btnSelectRectangle; - private Label lblSelectedRectangle; private CheckBox cbAutoCombine; private CheckBox cbStartSelectionAutomatically; private NumericUpDown nudIgnoreLast; @@ -671,6 +645,5 @@ private void InitializeComponent() private GroupBox gbWhileCapturing; private GroupBox gbBeforeCapture; private Button btnCombineV2; - private Button btnCombineV3; } } \ No newline at end of file diff --git a/ShareX.ScreenCaptureLib/Forms/ScrollingCaptureForm.cs b/ShareX.ScreenCaptureLib/Forms/ScrollingCaptureForm.cs index 0c1397890..bd3bc93a6 100644 --- a/ShareX.ScreenCaptureLib/Forms/ScrollingCaptureForm.cs +++ b/ShareX.ScreenCaptureLib/Forms/ScrollingCaptureForm.cs @@ -128,9 +128,7 @@ private void SelectHandle() if (simpleWindowInfo != null) { selectedWindow = new WindowInfo(simpleWindowInfo.Handle); - lblControlText.Text = selectedWindow.ClassName ?? ""; selectedRectangle = simpleWindowInfo.Rectangle; - lblSelectedRectangle.Text = selectedRectangle.ToString(); btnSelectRectangle.Enabled = btnCapture.Enabled = true; if (Options.StartCaptureAutomatically) @@ -161,7 +159,6 @@ private void SelectRectangle() if (RegionCaptureTasks.GetRectangleRegion(out Rectangle rect, RegionCaptureOptions)) { selectedRectangle = rect; - lblSelectedRectangle.Text = selectedRectangle.ToString(); } } finally @@ -351,7 +348,7 @@ private void captureTimer_Tick(object sender, EventArgs e) InputHelpers.SendKeyPress(VirtualKeyCode.NEXT); break; case ScrollingCaptureScrollMethod.MouseWheel: - InputHelpers.SendMouseWheel(-120); + InputHelpers.SendMouseWheel(-240); break; } @@ -834,17 +831,7 @@ private void btnCombineV2_Click(object sender, EventArgs e) EndingProcess(); } - private void btnCombineV3_Click(object sender, EventArgs e) - { - StartingProcess(); - DebugTimer timer = new DebugTimer("Combine V3"); - Result = CombineImagesV3(images); - pbOutput.Image = Result; - timer.WriteElapsedMilliseconds(); - EndingProcess(); - } - - private Bitmap CombineImagesV3(List images) + private Bitmap CombineImagesV2(List images) { Bitmap result = (Bitmap)images[0].Clone(); @@ -933,73 +920,5 @@ private Bitmap CombineImagesV3(List images) return result; } - - private Bitmap CombineImagesV2(List images) - { - int ignoreRightOffset = 50; - - Bitmap result = (Bitmap)images[0].Clone(); - - for (int i = 1; i < images.Count; i++) - { - Bitmap currentImage = images[i]; - - bool isMatch = false; - int matchIndex = 0; - - using (UnsafeBitmap bmpResult = new UnsafeBitmap(result, true, ImageLockMode.ReadOnly)) - using (UnsafeBitmap bmpCurrentImage = new UnsafeBitmap(currentImage, true, ImageLockMode.ReadOnly)) - { - Rectangle rect = new Rectangle(0, result.Height - currentImage.Height, - currentImage.Width - (currentImage.Width > ignoreRightOffset ? ignoreRightOffset : 0), currentImage.Height); - - for (int y = rect.Y; y < rect.Bottom; y++) - { - isMatch = true; - - for (int y2 = 0; y + y2 < rect.Bottom; y2++) - { - for (int x = rect.X; x < rect.Right; x++) - { - if (bmpResult.GetPixel(x, y + y2) != bmpCurrentImage.GetPixel(x, y2)) - { - isMatch = false; - break; - } - } - - if (!isMatch) - { - break; - } - } - - if (isMatch) - { - matchIndex = y; - break; - } - } - } - - if (isMatch) - { - Bitmap newResult = new Bitmap(result.Width, matchIndex + currentImage.Height); - - using (Graphics g = Graphics.FromImage(newResult)) - { - g.DrawImage(result, new Rectangle(0, 0, result.Width, matchIndex), - new Rectangle(0, 0, result.Width, matchIndex), GraphicsUnit.Pixel); - g.DrawImage(currentImage, new Rectangle(0, matchIndex, currentImage.Width, currentImage.Height), - new Rectangle(0, 0, currentImage.Width, currentImage.Height), GraphicsUnit.Pixel); - } - - result.Dispose(); - result = newResult; - } - } - - return result; - } } } \ No newline at end of file diff --git a/ShareX.ScreenCaptureLib/Forms/ScrollingCaptureForm.resx b/ShareX.ScreenCaptureLib/Forms/ScrollingCaptureForm.resx index f70432b2a..922a3d5e5 100644 --- a/ShareX.ScreenCaptureLib/Forms/ScrollingCaptureForm.resx +++ b/ShareX.ScreenCaptureLib/Forms/ScrollingCaptureForm.resx @@ -147,30 +147,6 @@ 6 - - True - - - 368, 21 - - - 0, 13 - - - 1 - - - lblControlText - - - System.Windows.Forms.Label, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 - - - tpCapture - - - 5 - Top, Left, Right @@ -205,7 +181,7 @@ tpCapture - 6 + 4 17, 17 @@ -315,6 +291,441 @@ Top, Left, Right + + cbRemoveDuplicates + + + System.Windows.Forms.CheckBox, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + + + gbAfterCapture + + + 0 + + + cbAutoCombine + + + System.Windows.Forms.CheckBox, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + + + gbAfterCapture + + + 1 + + + cbAutoUpload + + + System.Windows.Forms.CheckBox, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + + + gbAfterCapture + + + 2 + + + 8, 344 + + + 960, 104 + + + 25 + + + After capture + + + gbAfterCapture + + + System.Windows.Forms.GroupBox, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + + + tpCapture + + + 0 + + + Top, Left, Right + + + lblScrollMethod + + + System.Windows.Forms.Label, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + + + gbWhileCapturing + + + 4 + + + cbScrollMethod + + + System.Windows.Forms.ComboBox, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + + + gbWhileCapturing + + + 5 + + + cbAutoDetectScrollEnd + + + System.Windows.Forms.CheckBox, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + + + gbWhileCapturing + + + 6 + + + 8, 208 + + + 960, 128 + + + 24 + + + While capturing + + + gbWhileCapturing + + + System.Windows.Forms.GroupBox, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + + + tpCapture + + + 1 + + + Top, Left, Right + + + lblScrollTopMethodBeforeCapture + + + System.Windows.Forms.Label, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + + + gbBeforeCapture + + + 0 + + + cbScrollTopMethodBeforeCapture + + + System.Windows.Forms.ComboBox, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + + + gbBeforeCapture + + + 1 + + + lblStartDelay + + + System.Windows.Forms.Label, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + + + gbBeforeCapture + + + 2 + + + cbStartSelectionAutomatically + + + System.Windows.Forms.CheckBox, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + + + gbBeforeCapture + + + 3 + + + nudStartDelay + + + System.Windows.Forms.NumericUpDown, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + + + gbBeforeCapture + + + 4 + + + cbStartCaptureAutomatically + + + System.Windows.Forms.CheckBox, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + + + gbBeforeCapture + + + 5 + + + btnSelectRectangle + + + System.Windows.Forms.Button, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + + + gbBeforeCapture + + + 7 + + + 8, 8 + + + 960, 192 + + + 23 + + + Before capture + + + gbBeforeCapture + + + System.Windows.Forms.GroupBox, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + + + tpCapture + + + 2 + + + Top, Bottom, Left, Right + + + 8, 512 + + + 960, 80 + + + 19 + + + Please note that whilst ShareX attempts its best effort to render an accurate scrolling capture it is still not possible for every scrolling content to be captured correctly. Main reasons which can cause issues while combining are movements on screen while capturing e.g. if a web page has animated GIF or having static objects on screen while scrolling e.g. having static menu or buttons on web page which does not change its position but the rest of the web page scrolls. + + + lblNote + + + System.Windows.Forms.Label, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + + + tpCapture + + + 3 + + + 4, 22 + + + 3, 3, 3, 3 + + + 976, 635 + + + 0 + + + Capture + + + tpCapture + + + System.Windows.Forms.TabPage, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + + + tcScrollingCapture + + + 0 + + + gbImages + + + System.Windows.Forms.GroupBox, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + + + tpOutput + + + 0 + + + btnResetCombine + + + System.Windows.Forms.Button, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + + + tpOutput + + + 1 + + + btnGuessCombineAdjustments + + + System.Windows.Forms.Button, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + + + tpOutput + + + 2 + + + btnStartTask + + + System.Windows.Forms.Button, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + + + tpOutput + + + 3 + + + btnGuessEdges + + + System.Windows.Forms.Button, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + + + tpOutput + + + 4 + + + gbCombineAdjustments + + + System.Windows.Forms.GroupBox, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + + + tpOutput + + + 5 + + + gbTrimEdges + + + System.Windows.Forms.GroupBox, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + + + tpOutput + + + 6 + + + pOutput + + + System.Windows.Forms.Panel, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + + + tpOutput + + + 7 + + + 4, 22 + + + 3, 3, 3, 3 + + + 976, 635 + + + 1 + + + Output + + + tpOutput + + + System.Windows.Forms.TabPage, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + + + tcScrollingCapture + + + 1 + + + Fill + + + 0, 0 + + + 984, 661 + + + 0 + + + tcScrollingCapture + + + System.Windows.Forms.TabControl, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + + + $this + + + 0 + True @@ -399,33 +810,6 @@ 2 - - 8, 344 - - - 960, 104 - - - 25 - - - After capture - - - gbAfterCapture - - - System.Windows.Forms.GroupBox, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 - - - tpCapture - - - 0 - - - Top, Left, Right - True @@ -501,33 +885,6 @@ 6 - - 8, 208 - - - 960, 128 - - - 24 - - - While capturing - - - gbWhileCapturing - - - System.Windows.Forms.GroupBox, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 - - - tpCapture - - - 1 - - - Top, Left, Right - True @@ -711,140 +1068,95 @@ 7 - - 8, 8 + + btnCombineV2 - - 960, 192 - - - 23 - - - Before capture - - - gbBeforeCapture - - - System.Windows.Forms.GroupBox, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 - - - tpCapture - - - 2 - - - Top, Bottom, Left, Right - - - 8, 512 - - - 960, 80 - - - 19 - - - Please note that whilst ShareX attempts its best effort to render an accurate scrolling capture it is still not possible for every scrolling content to be captured correctly. Main reasons which can cause issues while combining are movements on screen while capturing e.g. if a web page has animated GIF or having static objects on screen while scrolling e.g. having static menu or buttons on web page which does not change its position but the rest of the web page scrolls. - - - lblNote - - - System.Windows.Forms.Label, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 - - - tpCapture - - - 3 - - - True - - - 368, 45 - - - 0, 13 - - - 3 - - - lblSelectedRectangle - - - System.Windows.Forms.Label, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 - - - tpCapture - - - 4 - - - 4, 22 - - - 3, 3, 3, 3 - - - 976, 635 - - - 0 - - - Capture - - - tpCapture - - - System.Windows.Forms.TabPage, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 - - - tcScrollingCapture - - - 0 - - - NoControl - - - 96, 72 - - - 80, 40 - - - 4 - - - Combine V3 - - - btnCombineV3 - - + System.Windows.Forms.Button, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 - + gbImages - + + 0 + + + txtImagesCount + + + System.Windows.Forms.TextBox, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + + + gbImages + + + 1 + + + lblImageCount + + + System.Windows.Forms.Label, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + + + gbImages + + + 2 + + + nudIgnoreLast + + + System.Windows.Forms.NumericUpDown, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + + + gbImages + + + 3 + + + lblIgnoreLast + + + System.Windows.Forms.Label, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + + + gbImages + + + 4 + + + 8, 8 + + + 184, 120 + + + 0 + + + Images + + + gbImages + + + System.Windows.Forms.GroupBox, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + + + tpOutput + + 0 - 8, 72 + 8, 80 - 80, 40 + 168, 32 1 @@ -862,7 +1174,7 @@ gbImages - 1 + 0 120, 16 @@ -886,7 +1198,7 @@ gbImages - 2 + 1 True @@ -913,7 +1225,7 @@ gbImages - 3 + 2 120, 40 @@ -937,7 +1249,7 @@ gbImages - 4 + 3 True @@ -964,31 +1276,7 @@ gbImages - 5 - - - 8, 8 - - - 184, 120 - - - 0 - - - Images - - - gbImages - - - System.Windows.Forms.GroupBox, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 - - - tpOutput - - - 0 + 4 False @@ -1122,6 +1410,78 @@ 4 + + lblCombineLastVertical + + + System.Windows.Forms.Label, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + + + gbCombineAdjustments + + + 0 + + + lblCombineVertical + + + System.Windows.Forms.Label, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + + + gbCombineAdjustments + + + 1 + + + nudCombineVertical + + + System.Windows.Forms.NumericUpDown, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + + + gbCombineAdjustments + + + 2 + + + nudCombineLastVertical + + + System.Windows.Forms.NumericUpDown, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + + + gbCombineAdjustments + + + 3 + + + 368, 8 + + + 184, 120 + + + 2 + + + Combine adjustments + + + gbCombineAdjustments + + + System.Windows.Forms.GroupBox, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + + + tpOutput + + + 5 + True @@ -1224,29 +1584,125 @@ 3 - - 368, 8 + + lblTrimBottom - - 184, 120 + + System.Windows.Forms.Label, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 - + + gbTrimEdges + + + 0 + + + lblTrimRight + + + System.Windows.Forms.Label, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + + + gbTrimEdges + + + 1 + + + lblTrimTop + + + System.Windows.Forms.Label, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + + + gbTrimEdges + + 2 - - Combine adjustments + + lblTrimLeft - - gbCombineAdjustments + + System.Windows.Forms.Label, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 - + + gbTrimEdges + + + 3 + + + nudTrimLeft + + + System.Windows.Forms.NumericUpDown, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + + + gbTrimEdges + + + 4 + + + nudTrimBottom + + + System.Windows.Forms.NumericUpDown, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + + + gbTrimEdges + + + 5 + + + nudTrimTop + + + System.Windows.Forms.NumericUpDown, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + + + gbTrimEdges + + + 6 + + + nudTrimRight + + + System.Windows.Forms.NumericUpDown, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + + + gbTrimEdges + + + 7 + + + 200, 8 + + + 160, 120 + + + 1 + + + Trim edges + + + gbTrimEdges + + System.Windows.Forms.GroupBox, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 - + tpOutput - - 5 + + 6 True @@ -1452,36 +1908,57 @@ 7 - - 200, 8 - - - 160, 120 - - - 1 - - - Trim edges - - - gbTrimEdges - - - System.Windows.Forms.GroupBox, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 - - - tpOutput - - - 6 - Top, Bottom, Left, Right True + + lblProcessing + + + System.Windows.Forms.Label, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + + + pOutput + + + 0 + + + pbOutput + + + System.Windows.Forms.PictureBox, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + + + pOutput + + + 1 + + + 8, 136 + + + 961, 490 + + + 7 + + + pOutput + + + System.Windows.Forms.Panel, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + + + tpOutput + + + 7 + True @@ -1539,78 +2016,6 @@ 1 - - 8, 136 - - - 961, 490 - - - 7 - - - pOutput - - - System.Windows.Forms.Panel, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 - - - tpOutput - - - 7 - - - 4, 22 - - - 3, 3, 3, 3 - - - 976, 635 - - - 1 - - - Output - - - tpOutput - - - System.Windows.Forms.TabPage, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 - - - tcScrollingCapture - - - 1 - - - Fill - - - 0, 0 - - - 984, 661 - - - 0 - - - tcScrollingCapture - - - System.Windows.Forms.TabControl, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 - - - $this - - - 0 - True