Browse Source

Updating rotate and nuget

Former-commit-id: 6f0412e5ed1e51d880774607059d9a0829b1ce9d
pull/17/head
JimBobSquarePants 14 years ago
parent
commit
680fa74e36
  1. 4
      src/ImageProcessor.Web/Properties/AssemblyInfo.cs
  2. 4
      src/ImageProcessor/Processors/Rotate.cs
  3. 4
      src/ImageProcessor/Properties/AssemblyInfo.cs
  4. BIN
      src/Nuget/ImageProcessor.1.1.0.1.nupkg
  5. BIN
      src/Nuget/ImageProcessor.Web.1.1.0.1.nupkg

4
src/ImageProcessor.Web/Properties/AssemblyInfo.cs

@ -31,5 +31,5 @@ using System.Runtime.InteropServices;
//
// You can specify all the values or you can default the Build and Revision Numbers
// by using the '*' as shown below:
[assembly: AssemblyVersion("1.1.0.0")]
[assembly: AssemblyFileVersion("1.1.0.0")]
[assembly: AssemblyVersion("1.1.0.1")]
[assembly: AssemblyFileVersion("1.1.0.1")]

4
src/ImageProcessor/Processors/Rotate.cs

@ -28,7 +28,7 @@ namespace ImageProcessor.Processors
/// <summary>
/// The regular expression to search strings for the angle attribute.
/// </summary>
private static readonly Regex AngleRegex = new Regex(@"rotate=angle-\[([1-2][0-9][0-9]|3[0-5][0-9]|\d{1}(?!\d)|\d{1,2}(?!\d)|360)\]", RegexOptions.Compiled);
private static readonly Regex AngleRegex = new Regex(@"rotate=angle-([1-2][0-9][0-9]|3[0-5][0-9]|\d{1}(?!\d)|\d{1,2}(?!\d)|360)", RegexOptions.Compiled);
/// <summary>
/// The regular expression to search strings for the color attribute.
@ -301,7 +301,7 @@ namespace ImageProcessor.Processors
{
// Split on angle-
int angle;
int.TryParse(match.Value.Replace("[", string.Empty).Replace("]", string.Empty).Split('-')[1], out angle);
int.TryParse(match.Value.Split('-')[1], out angle);
return angle;
}

4
src/ImageProcessor/Properties/AssemblyInfo.cs

@ -32,6 +32,6 @@ using System.Security;
//
// You can specify all the values or you can default the Build and Revision Numbers
// by using the '*' as shown below:
[assembly: AssemblyVersion("1.1.0.0")]
[assembly: AssemblyFileVersion("1.1.0.0")]
[assembly: AssemblyVersion("1.1.0.1")]
[assembly: AssemblyFileVersion("1.1.0.1")]

BIN
src/Nuget/ImageProcessor.1.1.0.1.nupkg

Binary file not shown.

BIN
src/Nuget/ImageProcessor.Web.1.1.0.1.nupkg

Binary file not shown.
Loading…
Cancel
Save