diff --git a/src/ImageProcessor.UnitTests/ImageFactoryUnitTests.cs b/src/ImageProcessor.UnitTests/ImageFactoryUnitTests.cs index 065cd86c0..9b98f683a 100644 --- a/src/ImageProcessor.UnitTests/ImageFactoryUnitTests.cs +++ b/src/ImageProcessor.UnitTests/ImageFactoryUnitTests.cs @@ -130,6 +130,7 @@ namespace ImageProcessor.UnitTests ISupportedImageFormat format = imageFactory.CurrentImageFormat; + // The Image class does not support alpha transparency in bitmaps. if (format.GetType() == typeof(BitmapFormat)) { AssertionHelpers.AssertImagesAreIdentical( diff --git a/src/ImageProcessor.Web/Helpers/ImageHelpers.cs b/src/ImageProcessor.Web/Helpers/ImageHelpers.cs index 29d7953a4..536b6f05d 100644 --- a/src/ImageProcessor.Web/Helpers/ImageHelpers.cs +++ b/src/ImageProcessor.Web/Helpers/ImageHelpers.cs @@ -64,9 +64,9 @@ namespace ImageProcessor.Web.Helpers public static string GetExtension(string input) { // First filter out any troublesome elements. - foreach (Match exlude in ExcludeRegex.Matches(input)) + foreach (Match exclude in ExcludeRegex.Matches(input)) { - input = input.Replace(exlude.Value, string.Empty); + input = input.Replace(exclude.Value, string.Empty); } Match match = FormatRegex.Match(input); diff --git a/src/ImageProcessor/Settings.StyleCop b/src/ImageProcessor/Settings.StyleCop index b3c2af428..91085624e 100644 --- a/src/ImageProcessor/Settings.StyleCop +++ b/src/ImageProcessor/Settings.StyleCop @@ -10,6 +10,7 @@ Laplacian mmmm orig + quantizable Scharr Sobel specifier diff --git a/src/TestWebsites/MVC/Views/Home/Bmp.cshtml b/src/TestWebsites/MVC/Views/Home/Bmp.cshtml index 26b21ad46..de302f81d 100644 --- a/src/TestWebsites/MVC/Views/Home/Bmp.cshtml +++ b/src/TestWebsites/MVC/Views/Home/Bmp.cshtml @@ -8,11 +8,11 @@

Resized

- +

Cropped

- +
@@ -21,47 +21,47 @@

blackwhite

- +

comic

- +

lomograph

- +

greyscale

- +

polaroid

- +

sepia

- +

gotham

- +

hisatch

- +

losatch

- +
@@ -69,11 +69,11 @@

Watermark

- +

Format

- +
@@ -81,11 +81,11 @@

Rotate

- +

Quality

- +
@@ -93,7 +93,7 @@

Alpha

- +
diff --git a/src/TestWebsites/MVC/Views/Home/Gif.cshtml b/src/TestWebsites/MVC/Views/Home/Gif.cshtml index 61f47111f..c46c464bd 100644 --- a/src/TestWebsites/MVC/Views/Home/Gif.cshtml +++ b/src/TestWebsites/MVC/Views/Home/Gif.cshtml @@ -7,11 +7,11 @@

Resized

- +

Cropped

- +
@@ -20,47 +20,47 @@

blackwhite

- +

comic

- +

lomograph

- +

greyscale

- +

polaroid

- +

sepia

- +

gotham

- +

hisatch

- +

losatch

- +
@@ -68,11 +68,11 @@

Watermark

- +

Format

- +
@@ -80,11 +80,11 @@

Rotate

- +

Quality

- +
@@ -92,7 +92,7 @@

Alpha

- +
@@ -100,7 +100,7 @@

Animated

- +
diff --git a/src/TestWebsites/MVC/Views/Home/Index.cshtml b/src/TestWebsites/MVC/Views/Home/Index.cshtml index 33cc843d0..bceabd8ff 100644 --- a/src/TestWebsites/MVC/Views/Home/Index.cshtml +++ b/src/TestWebsites/MVC/Views/Home/Index.cshtml @@ -7,7 +7,7 @@

Resized

- +

Foreign language test.

@@ -16,10 +16,10 @@

Cropped

- +

Cropped Percent

- +
@@ -28,7 +28,7 @@

Reside Pad

- +
@@ -39,7 +39,7 @@

Resize Crop

- +
@@ -51,7 +51,7 @@

Resize Max

- +
@@ -62,7 +62,7 @@

Resize Max - No Upscale

- +
@@ -73,7 +73,7 @@

Resize Stretch

- +
@@ -85,47 +85,47 @@

blackwhite

- +

comic

- +

lomograph

- +

greyscale

- +

polaroid

- +

sepia

- +

gotham

- +

hisatch

- +

losatch

- +
@@ -133,11 +133,11 @@

Watermark

- +

Format

- +
@@ -145,11 +145,11 @@

Rotate

- +

Quality

- +
@@ -157,7 +157,7 @@

Alpha

- +

Remote

@@ -168,11 +168,11 @@

Flip - horizontal

- +

Flip - vertical

- +
@@ -180,11 +180,11 @@

Gaussian Blur

- +

Gaussian Sharpen

- +
@@ -192,11 +192,11 @@

Tint rgba

- +

Tint Hex

- +
diff --git a/src/TestWebsites/MVC/Views/Home/Png.cshtml b/src/TestWebsites/MVC/Views/Home/Png.cshtml index e7619e233..303c2daaf 100644 --- a/src/TestWebsites/MVC/Views/Home/Png.cshtml +++ b/src/TestWebsites/MVC/Views/Home/Png.cshtml @@ -7,11 +7,11 @@

Resized

- +

Cropped

- +
@@ -20,47 +20,47 @@

blackwhite

- +

comic

- +

lomograph

- +

greyscale

- +

polaroid

- +

sepia

- +

gotham

- +

hisatch

- +

losatch

- +
@@ -68,11 +68,11 @@

Watermark

- +

Format

- +
@@ -80,11 +80,11 @@

Rotate

- +

Quality

- +
@@ -92,14 +92,14 @@

Alpha

- +

Rounded Corners

Old Syntax

- +

New Syntax

- +
diff --git a/src/TestWebsites/MVC/Views/Home/Png8.cshtml b/src/TestWebsites/MVC/Views/Home/Png8.cshtml index 8784c836f..0aaacc6df 100644 --- a/src/TestWebsites/MVC/Views/Home/Png8.cshtml +++ b/src/TestWebsites/MVC/Views/Home/Png8.cshtml @@ -8,11 +8,11 @@

Resized

- +

Cropped

- +
@@ -21,47 +21,47 @@

blackwhite

- +

comic

- +

lomograph

- +

greyscale

- +

polaroid

- +

sepia

- +

gotham

- +

hisatch

- +

losatch

- +
@@ -69,11 +69,11 @@

Watermark

- +

Format

- +
@@ -81,11 +81,11 @@

Rotate

- +

Quality

- +
@@ -93,7 +93,7 @@

Alpha

- +
diff --git a/src/TestWebsites/MVC/Views/Home/Tiff.cshtml b/src/TestWebsites/MVC/Views/Home/Tiff.cshtml index 091e068fb..5722e5f17 100644 --- a/src/TestWebsites/MVC/Views/Home/Tiff.cshtml +++ b/src/TestWebsites/MVC/Views/Home/Tiff.cshtml @@ -7,11 +7,11 @@

Resized

- +

Cropped

- +
@@ -20,47 +20,47 @@

blackwhite

- +

comic

- +

lomograph

- +

greyscale

- +

polaroid

- +

sepia

- +

gotham

- +

hisatch

- +

losatch

- +
@@ -68,11 +68,11 @@

Watermark

- +

Format

- +
@@ -80,11 +80,11 @@

Rotate

- +

Quality

- +
@@ -92,7 +92,7 @@

Alpha

- +
diff --git a/src/TestWebsites/MVC/Views/Home/WebP.cshtml b/src/TestWebsites/MVC/Views/Home/WebP.cshtml index ff03d1240..27fd95245 100644 --- a/src/TestWebsites/MVC/Views/Home/WebP.cshtml +++ b/src/TestWebsites/MVC/Views/Home/WebP.cshtml @@ -8,11 +8,11 @@

Resized

- +

Cropped

- +
@@ -21,47 +21,47 @@

blackwhite

- +

comic

- +

lomograph

- +

greyscale

- +

polaroid

- +

sepia

- +

gotham

- +

hisatch

- +

losatch

- +
@@ -69,11 +69,11 @@

Watermark

- +

Format

- +
@@ -81,11 +81,11 @@

Rotate

- +

Quality

- +
@@ -93,7 +93,7 @@

Alpha

- +