Browse Source

Fixing issue #59

Former-commit-id: ac374bb3f3acd7ff84cde23959bcfa134f79dbae
pull/17/head
James South 12 years ago
parent
commit
b2cb7bc4db
  1. 6
      src/ImageProcessor.Web/NET45/Caching/DiskCache.cs
  2. 4
      src/ImageProcessor.Web/NET45/Configuration/ImageProcessingSection.cs
  3. 4
      src/ImageProcessor.Web/NET45/Configuration/ImageProcessorConfiguration.cs
  4. 2
      src/ImageProcessor.Web/NET45/Helpers/RemoteFile.cs
  5. 2
      src/ImageProcessor.Web/NET45/Processors/Crop.cs
  6. 2
      src/ImageProcessor.Web/NET45/Processors/Saturation.cs
  7. 2
      src/ImageProcessor/Imaging/ExifPropertyTag.cs
  8. 4
      src/ImageProcessor/Imaging/ExifPropertyTagType.cs
  9. 2
      src/ImageProcessor/Imaging/Formats/FormatUtilities.cs
  10. 4
      src/ImageProcessor/Imaging/Formats/GifEncoder.cs
  11. 4
      src/ImageProcessor/Imaging/Formats/GifInfo.cs
  12. 4
      src/ImageProcessor/Imaging/Formats/WebPFormat.cs
  13. 2
      src/ImageProcessor/Processors/Rotate.cs
  14. 2
      src/ImageProcessor/Processors/Saturation.cs

6
src/ImageProcessor.Web/NET45/Caching/DiskCache.cs

@ -42,9 +42,9 @@ namespace ImageProcessor.Web.Caching
/// <remarks>
/// NTFS directories can handle up to 10,000 files in the directory before slowing down.
/// This will help us to ensure that don't go over that limit.
/// <see cref="http://stackoverflow.com/questions/197162/ntfs-performance-and-large-volumes-of-files-and-directories"/>
/// <see cref="http://stackoverflow.com/questions/115882/how-do-you-deal-with-lots-of-small-files"/>
/// <see cref="http://stackoverflow.com/questions/1638219/millions-of-small-graphics-files-and-how-to-overcome-slow-file-system-access-on"/>
/// <see href="http://stackoverflow.com/questions/197162/ntfs-performance-and-large-volumes-of-files-and-directories"/>
/// <see href="http://stackoverflow.com/questions/115882/how-do-you-deal-with-lots-of-small-files"/>
/// <see href="http://stackoverflow.com/questions/1638219/millions-of-small-graphics-files-and-how-to-overcome-slow-file-system-access-on"/>
/// </remarks>
private const int MaxFilesCount = 100;

4
src/ImageProcessor.Web/NET45/Configuration/ImageProcessingSection.cs

@ -5,7 +5,7 @@
// </copyright>
// <summary>
// Represents an image processing section within a configuration file.
// Nested syntax adapted from <see cref="http://tneustaedter.blogspot.co.uk/2011/09/how-to-create-one-or-more-nested.html" />
// Nested syntax adapted from <see href="http://tneustaedter.blogspot.co.uk/2011/09/how-to-create-one-or-more-nested.html" />
// </summary>
// --------------------------------------------------------------------------------------------------------------------
@ -21,7 +21,7 @@ namespace ImageProcessor.Web.Configuration
/// <summary>
/// Represents an image processing section within a configuration file.
/// Nested syntax adapted from <see cref="http://tneustaedter.blogspot.co.uk/2011/09/how-to-create-one-or-more-nested.html"/>
/// Nested syntax adapted from <see href="http://tneustaedter.blogspot.co.uk/2011/09/how-to-create-one-or-more-nested.html"/>
/// </summary>
public sealed class ImageProcessingSection : ConfigurationSection
{

4
src/ImageProcessor.Web/NET45/Configuration/ImageProcessorConfiguration.cs

@ -5,7 +5,7 @@
// </copyright>
// <summary>
// Encapsulates methods to allow the retrieval of ImageProcessor settings.
// <see cref="http://csharpindepth.com/Articles/General/Singleton.aspx" />
// <see href="http://csharpindepth.com/Articles/General/Singleton.aspx" />
// </summary>
// --------------------------------------------------------------------------------------------------------------------
namespace ImageProcessor.Web.Configuration
@ -24,7 +24,7 @@ namespace ImageProcessor.Web.Configuration
/// <summary>
/// Encapsulates methods to allow the retrieval of ImageProcessor settings.
/// <see cref="http://csharpindepth.com/Articles/General/Singleton.aspx"/>
/// <see href="http://csharpindepth.com/Articles/General/Singleton.aspx"/>
/// </summary>
public sealed class ImageProcessorConfiguration
{

2
src/ImageProcessor.Web/NET45/Helpers/RemoteFile.cs

@ -40,7 +40,7 @@ namespace ImageProcessor.Web.Helpers
/// There shouldn't be any security issues there, as the internal WebRequest instance is still calling it remotely.
/// Any local files that shouldn't be accessed by this won't be allowed by the remote call.
/// </para>
/// Adapted from <see cref="http://blogengine.codeplex.com">BlogEngine.Net</see>
/// Adapted from <see href="http://blogengine.codeplex.com">BlogEngine.Net</see>
/// </remarks>
internal sealed class RemoteFile
{

2
src/ImageProcessor.Web/NET45/Processors/Crop.cs

@ -24,7 +24,7 @@ namespace ImageProcessor.Web.Processors
{
/// <summary>
/// The regular expression to search strings for.
/// <see cref="http://stackoverflow.com/a/6400969/427899"/>
/// <see href="http://stackoverflow.com/a/6400969/427899"/>
/// </summary>
private static readonly Regex QueryRegex = new Regex(@"(crop=|cropmode=)[^&]+", RegexOptions.Compiled);

2
src/ImageProcessor.Web/NET45/Processors/Saturation.cs

@ -18,7 +18,7 @@ namespace ImageProcessor.Web.Processors
/// Encapsulates methods to change the saturation component of the image.
/// </summary>
/// <remarks>
/// <see cref="http://www.bobpowell.net/imagesaturation.htm"/>
/// <see href="http://www.bobpowell.net/imagesaturation.htm"/>
/// </remarks>
public class Saturation : IWebGraphicsProcessor
{

2
src/ImageProcessor/Imaging/ExifPropertyTag.cs

@ -12,7 +12,7 @@ namespace ImageProcessor.Imaging
{
/// <summary>
/// The following enum gives descriptions of the property items supported by Windows GDI+.
/// <see cref="http://msdn.microsoft.com/en-us/library/ms534417%28VS.85%29.aspx"/>
/// <see href="http://msdn.microsoft.com/en-us/library/ms534417%28VS.85%29.aspx"/>
/// TODO: Add more XML descriptions.
/// </summary>
public enum ExifPropertyTag

4
src/ImageProcessor/Imaging/ExifPropertyTagType.cs

@ -5,7 +5,7 @@
// </copyright>
// <summary>
// Specifies the data type of the values stored in the value data member of that same PropertyItem object.
// <see cref="http://msdn.microsoft.com/en-us/library/system.drawing.imaging.propertyitem.type.aspx" />
// <see href="http://msdn.microsoft.com/en-us/library/system.drawing.imaging.propertyitem.type.aspx" />
// </summary>
// --------------------------------------------------------------------------------------------------------------------
@ -13,7 +13,7 @@ namespace ImageProcessor.Imaging
{
/// <summary>
/// Specifies the data type of the values stored in the value data member of that same PropertyItem object.
/// <see cref="http://msdn.microsoft.com/en-us/library/system.drawing.imaging.propertyitem.type.aspx"/>
/// <see href="http://msdn.microsoft.com/en-us/library/system.drawing.imaging.propertyitem.type.aspx"/>
/// </summary>
public enum ExifPropertyTagType : short
{

2
src/ImageProcessor/Imaging/Formats/FormatUtilities.cs

@ -27,7 +27,7 @@ namespace ImageProcessor.Imaging.Formats
{
/// <summary>
/// Gets the correct <see cref="ISupportedImageFormat"/> from the given stream.
/// <see cref="http://stackoverflow.com/questions/55869/determine-file-type-of-an-image"/>
/// <see href="http://stackoverflow.com/questions/55869/determine-file-type-of-an-image"/>
/// </summary>
/// <param name="stream">
/// The <see cref="System.IO.Stream"/> to read from.

4
src/ImageProcessor/Imaging/Formats/GifEncoder.cs

@ -9,7 +9,7 @@
// Always wire this up in a using block.
// Disposing the encoder will complete the file.
// Uses default .NET GIF encoding and adds animation headers.
// Adapted from <see cref="http://github.com/DataDink/Bumpkit/blob/master/BumpKit/BumpKit/GifEncoder.cs"/>
// Adapted from <see href="http://github.com/DataDink/Bumpkit/blob/master/BumpKit/BumpKit/GifEncoder.cs"/>
// </remarks>
// </summary>
// --------------------------------------------------------------------------------------------------------------------
@ -27,7 +27,7 @@ namespace ImageProcessor.Imaging.Formats
/// Always wire this up in a using block.
/// Disposing the encoder will complete the file.
/// Uses default .NET GIF encoding and adds animation headers.
/// Adapted from <see cref="http://github.com/DataDink/Bumpkit/blob/master/BumpKit/BumpKit/GifEncoder.cs"/>
/// Adapted from <see href="http://github.com/DataDink/Bumpkit/blob/master/BumpKit/BumpKit/GifEncoder.cs"/>
/// </remarks>
/// </summary>
public class GifEncoder : IDisposable

4
src/ImageProcessor/Imaging/Formats/GifInfo.cs

@ -5,7 +5,7 @@
// </copyright>
// <summary>
// Provides information about an image.
// <see cref="http://madskristensen.net/post/examine-animated-gife28099s-in-c" />
// <see href="http://madskristensen.net/post/examine-animated-gife28099s-in-c" />
// </summary>
// --------------------------------------------------------------------------------------------------------------------
@ -16,7 +16,7 @@ namespace ImageProcessor.Imaging.Formats
/// <summary>
/// Provides information about an image.
/// <see cref="http://madskristensen.net/post/examine-animated-gife28099s-in-c"/>
/// <see href="http://madskristensen.net/post/examine-animated-gife28099s-in-c"/>
/// </summary>
public class GifInfo
{

4
src/ImageProcessor/Imaging/Formats/WebPFormat.cs

@ -5,7 +5,7 @@
// </copyright>
// <summary>
// Provides the necessary information to support webp images.
// Adapted from <see cref="https://groups.google.com/a/webmproject.org/forum/#!topic/webp-discuss/1coeidT0rQU"/>
// Adapted from <see href="https://groups.google.com/a/webmproject.org/forum/#!topic/webp-discuss/1coeidT0rQU"/>
// by Jose M. Piñeiro
// </summary>
// --------------------------------------------------------------------------------------------------------------------
@ -25,7 +25,7 @@ namespace ImageProcessor.Imaging.Formats
/// <summary>
/// Provides the necessary information to support webp images.
/// Adapted from <see cref="http://groups.google.com/a/webmproject.org/forum/#!topic/webp-discuss/1coeidT0rQU"/>
/// Adapted from <see href="http://groups.google.com/a/webmproject.org/forum/#!topic/webp-discuss/1coeidT0rQU"/>
/// by Jose M. Piñeiro
/// </summary>
[SuppressMessage("StyleCop.CSharp.DocumentationRules", "SA1650:ElementDocumentationMustBeSpelledCorrectly", Justification = "Reviewed. Suppression is OK here.")]

2
src/ImageProcessor/Processors/Rotate.cs

@ -100,7 +100,7 @@ namespace ImageProcessor.Processors
/// <param name="angle">The angle in degrees at which to rotate the image.</param>
/// <returns>The image rotated to the given angle at the given position.</returns>
/// <remarks>
/// Based on <see cref="http://www.codeproject.com/Articles/58815/C-Image-PictureBox-Rotations?msg=4155374#xx4155374xx"/>
/// Based on <see href="http://www.codeproject.com/Articles/58815/C-Image-PictureBox-Rotations?msg=4155374#xx4155374xx"/>
/// </remarks>
private Bitmap RotateImage(Image image, float rotateAtX, float rotateAtY, float angle)
{

2
src/ImageProcessor/Processors/Saturation.cs

@ -21,7 +21,7 @@ namespace ImageProcessor.Processors
/// Encapsulates methods to change the saturation component of the image.
/// </summary>
/// <remarks>
/// <see cref="http://www.bobpowell.net/imagesaturation.htm"/>
/// <see href="http://www.bobpowell.net/imagesaturation.htm"/>
/// </remarks>
public class Saturation : IGraphicsProcessor
{

Loading…
Cancel
Save