Skip to content

Commit 845c8f0

Browse files
committed
2.5.1.5 - Optimize Screen Capture tolerance percentage is calculated based on Math.Ceiling() for better results when comparing very small changes between the previous captured image and the current captured image.
1 parent 61d6f49 commit 845c8f0

File tree

7 files changed

+10
-8
lines changed

7 files changed

+10
-8
lines changed

AutoScreenCaptureSetup/AutoScreenCaptureSetup.vdproj

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -259,15 +259,15 @@
259259
{
260260
"Name" = "8:Microsoft Visual Studio"
261261
"ProductName" = "8:Auto Screen Capture"
262-
"ProductCode" = "8:{92D9EFF0-B795-4A00-A888-420E91F6EE1F}"
263-
"PackageCode" = "8:{FA54205B-61BF-43EB-8B41-DEE0CF556F36}"
262+
"ProductCode" = "8:{233FFA86-7EE3-456A-B8E6-A9F307358DF1}"
263+
"PackageCode" = "8:{B4214089-CB5C-44C4-A608-BC7E47D5EC47}"
264264
"UpgradeCode" = "8:{6B29B7BC-0101-4495-B28C-26B6D3CDCC02}"
265265
"AspNetVersion" = "8:4.0.30319.0"
266266
"RestartWWWService" = "11:FALSE"
267267
"RemovePreviousVersions" = "11:TRUE"
268268
"DetectNewerInstalledVersion" = "11:TRUE"
269269
"InstallAllUsers" = "11:TRUE"
270-
"ProductVersion" = "8:2.5.14"
270+
"ProductVersion" = "8:2.5.15"
271271
"Manufacturer" = "8:Gavin Kendall"
272272
"ARPHELPTELEPHONE" = "8:"
273273
"ARPHELPLINK" = "8:https://sourceforge.net/p/autoscreen/tickets/"

Properties/AssemblyInfo.cs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -32,6 +32,6 @@
3232
// You can specify all the values or you can default the Build and Revision Numbers
3333
// by using the '*' as shown below:
3434
// [assembly: AssemblyVersion("1.0.*")]
35-
[assembly: AssemblyVersion("2.5.1.4")]
36-
[assembly: AssemblyFileVersion("2.5.1.4")]
35+
[assembly: AssemblyVersion("2.5.1.5")]
36+
[assembly: AssemblyFileVersion("2.5.1.5")]
3737
[assembly: NeutralResourcesLanguageAttribute("en-CA")]

app.manifest

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
<assemblyIdentity
44
type="win32"
55
name="GavinKendall.AutoScreenCapture"
6-
version="2.5.1.4"/>
6+
version="2.5.1.5"/>
77
<asmv3:application>
88
<asmv3:windowsSettings xmlns="http://schemas.microsoft.com/SMI/2005/WindowsSettings">
99
<dpiAware>True/PM</dpiAware>

autoscreen.conf

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@
2929
# The version of Auto Screen Capture that this configuration file is intended for.
3030
# Be careful if you change the version number and don't provide the correct definitions for the specific version
3131
# as some settings will only work with certain versions of the application. Versioning of the configuration file starts with Auto Screen Capture 2.5.0.0 ("Limoncello").
32-
Version=2.5.1.4
32+
Version=2.5.1.5
3333

3434
# Starting with version 2.5.0.0 the entire configuration file defines all the default application and user settings
3535
# that were previously hard-coded within the application itself. Now you have the ability to define all of the default settings in a single file!

changelog.txt

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
Auto Screen Capture by Gavin Kendall
22

3+
2.5.1.5 Optimize Screen Capture tolerance percentage is calculated based on Math.Ceiling() for better results when comparing very small changes between the previous captured image and the current captured image.
34
2.5.1.4 A small fix for the -interval command.
45
2.5.1.3 The full filepath of each screenshot is clearly displayed for each Screen and Region tab view, the Screenshot Location button is now bigger, the "Metadata" button is now named "Screenshot Metadata", and the "Configure" button is now named "Configure Screen" or "Configure Region" depending on what type of tab view is being shown. Help tips have been removed from the main interface. Fixed issue with Schedules not saving their Enable state.
56
2.5.1.2 Restored the ability to use milliseconds for the screen capture interval. Fixed bug with schedules that were supposed to override the main interval so that they now actually do override the main interval. Fixed cosmetic issue with Preview button. Fixed cosmetic issue with Screen Capture Status when Optimize Screen Capture was enabled. Command Deck now shows percentage of tolerance when Optimize Screen Capture is enabled.

modules/screenshots/ScreenshotCollection.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -321,7 +321,7 @@ public bool Process(Screenshot screenshot)
321321
}
322322

323323
// Multiply imageDiff by 100. For example, if imageDiff is 0.12109375 then screenshot.DiffPercentageWithPreviousImage will be 12.
324-
screenshot.DiffPercentageWithPreviousImage = (int)(imageDiff * 100);
324+
screenshot.DiffPercentageWithPreviousImage = (int)(Math.Ceiling(imageDiff * 100));
325325

326326
_log.WriteDebugMessage("Screenshot's image is " + screenshot.DiffPercentageWithPreviousImage + "% different compared to the previous screenshot's image (your acceptable percentage is " + imageDiffTolerance + "%)");
327327

settings/Settings.cs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -286,6 +286,7 @@ public void Initialize(FileSystem fileSystem)
286286
_versionCollection.Add(new Version(CODENAME_LIMONCELLO, "2.5.1.1"));
287287
_versionCollection.Add(new Version(CODENAME_LIMONCELLO, "2.5.1.2"));
288288
_versionCollection.Add(new Version(CODENAME_LIMONCELLO, "2.5.1.3"));
289+
_versionCollection.Add(new Version(CODENAME_LIMONCELLO, "2.5.1.4"));
289290

290291
Application = new SettingCollection()
291292
{

0 commit comments

Comments
 (0)