Browse Source

Merge remote-tracking branch 'origin/dev' into V2

Former-commit-id: ed8ec15cc37e3915f0bb941d246f45485476c867
pull/17/head
James South 12 years ago
parent
commit
3cebc2bab7
  1. 39
      build/Build.ImageProcessor.Web.proj
  2. 34
      build/Build.ImageProcessor.proj
  3. 4
      build/Build.bat
  4. 12
      build/NuSpecs/ImageProcessor.Web.Config.nuspec
  5. 10
      build/NuSpecs/ImageProcessor.Web.nuspec
  6. 7
      build/NuSpecs/ImageProcessor.nuspec
  7. 7
      src/ImageProcessor.Web.UnitTests/ImageProcessor.Web.UnitTests.csproj
  8. 0
      src/ImageProcessor.Web/Caching/CacheIndexer.cs
  9. 0
      src/ImageProcessor.Web/Caching/CachedImage.cs
  10. 1
      src/ImageProcessor.Web/Caching/DiskCache.cs
  11. 0
      src/ImageProcessor.Web/Caching/MemCache.cs
  12. 0
      src/ImageProcessor.Web/Configuration/ImageCacheSection.cs
  13. 0
      src/ImageProcessor.Web/Configuration/ImageProcessingSection.cs
  14. 0
      src/ImageProcessor.Web/Configuration/ImageProcessorConfiguration.cs
  15. 0
      src/ImageProcessor.Web/Configuration/ImageSecuritySection.cs
  16. 0
      src/ImageProcessor.Web/Configuration/Resources/cache.config
  17. 0
      src/ImageProcessor.Web/Configuration/Resources/processing.config
  18. 0
      src/ImageProcessor.Web/Configuration/Resources/security.config
  19. 0
      src/ImageProcessor.Web/Extensions/DirectoryInfoExtensions.cs
  20. 0
      src/ImageProcessor.Web/Extensions/StringExtensions.cs
  21. 3
      src/ImageProcessor.Web/Helpers/AsyncDeDuperLock.cs
  22. 0
      src/ImageProcessor.Web/Helpers/CommonParameterParserUtility.cs
  23. 0
      src/ImageProcessor.Web/Helpers/ImageHelpers.cs
  24. 0
      src/ImageProcessor.Web/Helpers/NativeMethods.cs
  25. 0
      src/ImageProcessor.Web/Helpers/RemoteFile.cs
  26. 0
      src/ImageProcessor.Web/Helpers/ResourceHelpers.cs
  27. 0
      src/ImageProcessor.Web/Helpers/TaskHelpers.cs
  28. 17
      src/ImageProcessor.Web/HttpModules/ImageProcessingModule.cs
  29. 0
      src/ImageProcessor.Web/ImageFactoryExtensions.cs
  30. 2
      src/ImageProcessor.Web/ImageProcessor.Web.csproj
  31. 226
      src/ImageProcessor.Web/NET4/ImageProcessor.Web_NET4.csproj
  32. 15
      src/ImageProcessor.Web/NET4/app.config
  33. 6
      src/ImageProcessor.Web/NET4/packages.config
  34. 0
      src/ImageProcessor.Web/Processors/Alpha.cs
  35. 0
      src/ImageProcessor.Web/Processors/AutoRotate.cs
  36. 0
      src/ImageProcessor.Web/Processors/BackgroundColor.cs
  37. 0
      src/ImageProcessor.Web/Processors/Brightness.cs
  38. 0
      src/ImageProcessor.Web/Processors/Contrast.cs
  39. 0
      src/ImageProcessor.Web/Processors/Crop.cs
  40. 0
      src/ImageProcessor.Web/Processors/Filter.cs
  41. 0
      src/ImageProcessor.Web/Processors/Flip.cs
  42. 0
      src/ImageProcessor.Web/Processors/Format.cs
  43. 0
      src/ImageProcessor.Web/Processors/GaussianBlur.cs
  44. 0
      src/ImageProcessor.Web/Processors/GaussianSharpen.cs
  45. 0
      src/ImageProcessor.Web/Processors/IWebGraphicsProcessor.cs
  46. 0
      src/ImageProcessor.Web/Processors/Quality.cs
  47. 0
      src/ImageProcessor.Web/Processors/Resize.cs
  48. 0
      src/ImageProcessor.Web/Processors/Rotate.cs
  49. 0
      src/ImageProcessor.Web/Processors/RoundedCorners.cs
  50. 0
      src/ImageProcessor.Web/Processors/Saturation.cs
  51. 0
      src/ImageProcessor.Web/Processors/Tint.cs
  52. 0
      src/ImageProcessor.Web/Processors/Vignette.cs
  53. 0
      src/ImageProcessor.Web/Processors/Watermark.cs
  54. 0
      src/ImageProcessor.Web/Properties/AssemblyInfo.cs
  55. 0
      src/ImageProcessor.Web/Settings.StyleCop
  56. 52
      src/ImageProcessor.sln
  57. 1
      src/ImageProcessor.sln.DotSettings
  58. 2
      src/ImageProcessor/Configuration/ImageProcessorBootstrapper.cs
  59. 12
      src/ImageProcessor/ImageProcessor.csproj
  60. 7
      src/Plugins/ImageProcessor/ImageProcessor.Plugins.WebP/ImageProcessor.Plugins.WebP.csproj
  61. 0
      src/TestWebsites/MVC/App_Start/FilterConfig.cs
  62. 0
      src/TestWebsites/MVC/App_Start/RouteConfig.cs
  63. 0
      src/TestWebsites/MVC/App_Start/WebApiConfig.cs
  64. 0
      src/TestWebsites/MVC/Content/responsive.min.css.REMOVED.git-id
  65. 0
      src/TestWebsites/MVC/Controllers/HomeController.cs
  66. 0
      src/TestWebsites/MVC/Global.asax
  67. 0
      src/TestWebsites/MVC/Global.asax.cs
  68. 0
      src/TestWebsites/MVC/Properties/AssemblyInfo.cs
  69. 8
      src/TestWebsites/MVC/Test_Website_MVC.csproj
  70. 0
      src/TestWebsites/MVC/Views/Home/Bmp.cshtml
  71. 0
      src/TestWebsites/MVC/Views/Home/External.cshtml
  72. 0
      src/TestWebsites/MVC/Views/Home/Gif.cshtml
  73. 0
      src/TestWebsites/MVC/Views/Home/Index.cshtml
  74. 0
      src/TestWebsites/MVC/Views/Home/Png.cshtml
  75. 0
      src/TestWebsites/MVC/Views/Home/Png8.cshtml
  76. 0
      src/TestWebsites/MVC/Views/Home/Tiff.cshtml
  77. 0
      src/TestWebsites/MVC/Views/Home/WebP.cshtml
  78. 0
      src/TestWebsites/MVC/Views/Shared/_Layout.cshtml
  79. 0
      src/TestWebsites/MVC/Views/Web.config
  80. 0
      src/TestWebsites/MVC/Views/_ViewStart.cshtml
  81. 0
      src/TestWebsites/MVC/Web.Debug.config
  82. 0
      src/TestWebsites/MVC/Web.Release.config
  83. 0
      src/TestWebsites/MVC/Web.config
  84. 0
      src/TestWebsites/MVC/config/imageprocessor/cache.config
  85. 0
      src/TestWebsites/MVC/config/imageprocessor/processing.config
  86. 0
      src/TestWebsites/MVC/config/imageprocessor/security.config
  87. 0
      src/TestWebsites/MVC/packages.config
  88. 50
      src/TestWebsites/NET4/Controllers/HomeController.cs
  89. 1
      src/TestWebsites/NET4/Global.asax
  90. 40
      src/TestWebsites/NET4/Global.asax.cs
  91. 35
      src/TestWebsites/NET4/Properties/AssemblyInfo.cs
  92. 103
      src/TestWebsites/NET4/Scripts/img.srcsect.pollyfill.js
  93. 246
      src/TestWebsites/NET4/Test_Website_MVC_NET4.csproj
  94. 14
      src/TestWebsites/NET4/Views/Home/External.cshtml
  95. 99
      src/TestWebsites/NET4/Views/Home/Gif.cshtml
  96. 191
      src/TestWebsites/NET4/Views/Home/Index.cshtml
  97. 99
      src/TestWebsites/NET4/Views/Home/Png.cshtml
  98. 40
      src/TestWebsites/NET4/Views/Shared/_Layout.cshtml
  99. 58
      src/TestWebsites/NET4/Views/Web.config
  100. 30
      src/TestWebsites/NET4/Web.Debug.config

39
build/Build.ImageProcessor.Web.proj

@ -2,15 +2,15 @@
<PropertyGroup>
<MSBuildCommunityTasksPath>.\</MSBuildCommunityTasksPath>
</PropertyGroup>
<Import Project=".\MSBuildCommunityTasks\MSBuild.Community.Tasks.Targets" />
<!--
<Import Project=".\MSBuildCommunityTasks\MSBuild.Community.Tasks.Targets" />
<!--
****************************************************
VARIABLES
VARIABLES
*****************************************************
-->
<PropertyGroup>
<BuildConfiguration>Release</BuildConfiguration>
<BuildFolder>_BuildOutput\</BuildFolder>
@ -19,42 +19,39 @@
<BuildFolderAbsolutePath>$(MSBuildProjectDirectory)\$(BuildFolder)</BuildFolderAbsolutePath>
<SolutionBinFolder>$(BuildFolder)bin\</SolutionBinFolder>
<SolutionBinFolderRelativeToProjects>$(BuildFolderRelativeToProjects)bin\</SolutionBinFolderRelativeToProjects>
<SolutionBinFolderAbsolutePath4>$(BuildFolderAbsolutePath)ImageProcessor.Web\lib\net40</SolutionBinFolderAbsolutePath4>
<SolutionBinFolderAbsolutePath45>$(BuildFolderAbsolutePath)ImageProcessor.Web\lib\net45</SolutionBinFolderAbsolutePath45>
<SolutionBinFolderAbsolutePath>$(BuildFolderAbsolutePath)ImageProcessor.Web\lib\net45</SolutionBinFolderAbsolutePath>
<BuildInputDir>..\src\ImageProcessor.Web\</BuildInputDir>
</PropertyGroup>
<!--
<!--
****************************************************
TARGETS
TARGETS
*****************************************************
-->
<Target Name="Build" DependsOnTargets="BuildImageProcessorWeb">
<Message Text="Build finished" />
</Target>
<Target Name="BuildImageProcessorWeb" DependsOnTargets="SetVersionNumber">
<Message Text="Compiling ImageProcessor.Web projects to build\$(BuildFolder)" Importance="High" />
<MSBuild Projects="$(BuildInputDir)NET4\ImageProcessor.Web_NET4.csproj" Properties="WarningLevel=0;Configuration=$(BuildConfiguration);PipelineDependsOnBuild=False;OutDir=$(SolutionBinFolderAbsolutePath4);" Targets="Clean;Rebuild;" BuildInParallel="False" ToolsVersion="4.0" UnloadProjectsOnCompletion="False" />
<MSBuild Projects="$(BuildInputDir)NET45\ImageProcessor.Web_NET45.csproj" Properties="WarningLevel=0;Configuration=$(BuildConfiguration);PipelineDependsOnBuild=False;OutDir=$(SolutionBinFolderAbsolutePath45);" Targets="Clean;Rebuild;" BuildInParallel="False" ToolsVersion="4.0" UnloadProjectsOnCompletion="False" />
<MSBuild Projects="$(BuildInputDir)\ImageProcessor.Web.csproj" Properties="WarningLevel=0;Configuration=$(BuildConfiguration);PipelineDependsOnBuild=False;OutDir=$(SolutionBinFolderAbsolutePath);" Targets="Clean;Rebuild;" BuildInParallel="False" ToolsVersion="4.0" UnloadProjectsOnCompletion="False" />
<Message Text="Finished compiling projects" Importance="High" />
</Target>
<Target Name="SetVersionNumber" Condition="'$(BUILD_RELEASE)'!=''">
<Message Text="Creating Version File: $(BUILD_RELEASE)"/>
<ItemGroup>
<AssemblyFiles Include="$(BuildInputDir)NET45\Properties\AssemblyInfo.cs;" />
</ItemGroup>
<AssemblyFiles Include="$(BuildInputDir)Properties\AssemblyInfo.cs;" />
</ItemGroup>
<FileUpdate Files="@(AssemblyFiles)"
Multiline="true"
Singleline="false"
Regex="(AssemblyVersion|AssemblyFileVersionAttribute|AssemblyFileVersion)\(&quot;([0-9]+\.[0-9]+\.[0-9]+\.[0-9]+)?&quot;\)"
ReplacementText="$1(&quot;$(BUILD_RELEASE)&quot;)" />
</Target>
</Project>
</Project>

34
build/Build.ImageProcessor.proj

@ -2,53 +2,53 @@
<PropertyGroup>
<MSBuildCommunityTasksPath>.\</MSBuildCommunityTasksPath>
</PropertyGroup>
<Import Project=".\MSBuildCommunityTasks\MSBuild.Community.Tasks.Targets" />
<!--
<Import Project=".\MSBuildCommunityTasks\MSBuild.Community.Tasks.Targets" />
<!--
****************************************************
VARIABLES
VARIABLES
*****************************************************
-->
<PropertyGroup>
<BuildConfiguration>Release</BuildConfiguration>
<BuildFolder>_BuildOutput\</BuildFolder>
<IncludeSymbols>False</IncludeSymbols>
<BuildFolderAbsolutePath>$(MSBuildProjectDirectory)\$(BuildFolder)</BuildFolderAbsolutePath>
<SolutionBinFolderAbsolutePath>$(BuildFolderAbsolutePath)ImageProcessor\lib\</SolutionBinFolderAbsolutePath>
<SolutionBinFolderAbsolutePath>$(BuildFolderAbsolutePath)ImageProcessor\lib\net45</SolutionBinFolderAbsolutePath>
<BuildInputDir>..\src\ImageProcessor\</BuildInputDir>
</PropertyGroup>
<!--
<!--
****************************************************
TARGETS
TARGETS
*****************************************************
-->
<Target Name="Build" DependsOnTargets="BuildImageProcessor">
<Message Text="Build finished" />
</Target>
<Target Name="BuildImageProcessor" DependsOnTargets="SetVersionNumber">
<Message Text="Compiling ImageProcessor project to build\$(BuildFolder)" Importance="High" />
<MSBuild Projects="$(BuildInputDir)\ImageProcessor.csproj" Properties="WarningLevel=0;Configuration=$(BuildConfiguration);PipelineDependsOnBuild=False;OutDir=$(SolutionBinFolderAbsolutePath);" Targets="Clean;Rebuild;" BuildInParallel="False" ToolsVersion="4.0" UnloadProjectsOnCompletion="False" />
<Message Text="Finished compiling project" Importance="High" />
</Target>
<Target Name="SetVersionNumber" Condition="'$(BUILD_RELEASE)'!=''">
<Message Text="Creating Version File: $(BUILD_RELEASE)"/>
<ItemGroup>
<AssemblyFiles Include="$(BuildInputDir)Properties\AssemblyInfo.cs;" />
</ItemGroup>
</ItemGroup>
<FileUpdate Files="@(AssemblyFiles)"
Multiline="true"
Singleline="false"
Regex="(AssemblyVersion|AssemblyFileVersionAttribute|AssemblyFileVersion)\(&quot;([0-9]+\.[0-9]+\.[0-9]+\.[0-9]+)?&quot;\)"
ReplacementText="$1(&quot;$(BUILD_RELEASE)&quot;)" />
</Target>
</Project>
</Project>

4
build/Build.bat

@ -6,10 +6,6 @@ SET webconfigversion=2.0.0.0
ECHO Building ImageProcessor %version%, ImageProcess.Web %webversion% and ImageProcess.Web.Config %webconfigversion%
ECHO Installing the Microsoft.Bcl.Build package before anything else, otherwise you'd have to run build.cmd twice
SET nuGetFolder=%CD%\..\src\packages\
..\src\.nuget\NuGet.exe install ..\src\ImageProcessor.Web\NET4\packages.config -OutputDirectory %nuGetFolder%
ECHO Removing _BuildOutput directory so everything is nice and clean
RD _BuildOutput /q /s

12
build/NuSpecs/ImageProcessor.Web.Config.nuspec

@ -20,10 +20,6 @@ Feedback is always welcome</description>
<language>en-GB</language>
<tags>Image Imaging ASP Performance Processing HttpModule Cache Resize Rotate RoundedCorners Flip Crop Filter Effects Quality Watermark Alpha Vignette Saturation Brightness Contrast Gif Jpg Jpeg Bitmap Png WebP Fluent GDI Gaussian Blur Sharpen Tint Quantizer Animated</tags>
<dependencies>
<group targetFramework=".NETFramework4.0">
<dependency id="ImageProcessor" version="2.0.0.0" />
<dependency id="ImageProcessor.Web" version="4.0.0.0" />
</group>
<group targetFramework=".NETFramework4.5">
<dependency id="ImageProcessor" version="2.0.0.0" />
<dependency id="ImageProcessor.Web" version="4.0.0.0" />
@ -31,9 +27,9 @@ Feedback is always welcome</description>
</dependencies>
</metadata>
<files>
<file src="..\..\src\ImageProcessor.Web\NET45\Configuration\Resources\cache.config" target="content\config\imageprocessor\cache.config" />
<file src="..\..\src\ImageProcessor.Web\NET45\Configuration\Resources\processing.config" target="content\config\imageprocessor\processing.config" />
<file src="..\..\src\ImageProcessor.Web\NET45\Configuration\Resources\security.config" target="content\config\imageprocessor\security.config" />
<file src="..\..\src\ImageProcessor.Web\Configuration\Resources\cache.config" target="content\config\imageprocessor\cache.config" />
<file src="..\..\src\ImageProcessor.Web\Configuration\Resources\processing.config" target="content\config\imageprocessor\processing.config" />
<file src="..\..\src\ImageProcessor.Web\Configuration\Resources\security.config" target="content\config\imageprocessor\security.config" />
<file src="..\content\ImageProcessor.Web.Config\web.config.transform" target="content\web.config.transform" />
</files>
</package>
</package>

10
build/NuSpecs/ImageProcessor.Web.nuspec

@ -13,8 +13,6 @@
Methods include: Resize, Rotate, Rounded Corners, Flip, Crop, Watermark, Filter, Saturation, Brightness, Contrast, Quality, Format, Vignette, Gaussian Blur, Gaussian Sharpen, and Transparency.
This package also requires Microsoft.Bcl.Async on .NET 4.0 which will be added on install if applicable.
If you use ImageProcessor please get in touch via my twitter @james_m_south
Feedback is always welcome</description>
@ -24,11 +22,6 @@ Feedback is always welcome</description>
<language>en-GB</language>
<tags>Image Imaging ASP Performance Processing HttpModule Cache Resize AutoRotate Rotate RoundedCorners Flip Crop Filter Effects Quality Watermark Alpha Vignette Saturation Brightness Contrast Gif Jpg Jpeg Bitmap Png WebP Fluent GDI Gaussian Blur Sharpen Tint Quantizer Animated EXIF</tags>
<dependencies>
<group targetFramework=".NETFramework4.0">
<dependency id="Microsoft.Bcl.Async" version="1.0.168" />
<dependency id="Microsoft.Bcl" version="1.1.9" />
<dependency id="ImageProcessor" version="2.0.0.0" />
</group>
<group targetFramework=".NETFramework4.5">
<dependency id="ImageProcessor" version="2.0.0.0" />
</group>
@ -36,7 +29,6 @@ Feedback is always welcome</description>
</metadata>
<files>
<file src="..\content\ImageProcessor.Web\web.config.transform" target="content\web.config.transform" />
<file src="..\_BuildOutput\ImageProcessor.Web\lib\net40\ImageProcessor.Web.dll" target="lib\net40\ImageProcessor.Web.dll" />
<file src="..\_BuildOutput\ImageProcessor.Web\lib\net45\ImageProcessor.Web.dll" target="lib\net45\ImageProcessor.Web.dll" />
</files>
</package>
</package>

7
build/NuSpecs/ImageProcessor.nuspec

@ -9,13 +9,12 @@
<projectUrl>http://imageprocessor.org</projectUrl>
<iconUrl>http://raw.githubusercontent.com/JimBobSquarePants/ImageProcessor/master/build/content/imageprocessor.128.png</iconUrl>
<requireLicenseAcceptance>false</requireLicenseAcceptance>
<description>Image Processor is an easy to use and extend processing library written in C#. Its fluent API makes common imaging tasks very simple to perform.
<description>Image Processor is an easy to use and extend processing library written in C#. Its fluent API makes common imaging tasks very simple to perform.
Methods include; Resize, Rotate, Rounded Corners, Flip, Crop, Watermark, Filter, Saturation, Brightness, Contrast, Quality, Format, Vignette, Gaussian Blur, Gaussian Sharpen, and Transparency.
If you use ImageProcessor please get in touch on my twitter @james_m_south.
Feedback is always welcome.</description>
<summary>A library for manipulating image files written in C#.</summary>
<releaseNotes />
@ -24,6 +23,6 @@ Feedback is always welcome.</description>
<tags>Image Imaging ASP Performance Processing Resize AutoRotate Rotate RoundedCorners Flip Crop Filter Effects Quality Watermark Alpha Vignette Saturation Brightness Contrast Gif Jpg Jpeg Bitmap Png WebP Fluent GDI Gaussian Blur Sharpen Tint Quantizer Animated EXIF</tags>
</metadata>
<files>
<file src="..\_BuildOutput\ImageProcessor\lib\ImageProcessor.dll" target="lib\ImageProcessor.dll" />
<file src="..\_BuildOutput\ImageProcessor\lib\net45\ImageProcessor.dll" target="lib\net45\ImageProcessor.dll" />
</files>
</package>
</package>

7
src/ImageProcessor.Web.UnitTests/ImageProcessor.Web.UnitTests.csproj

@ -8,7 +8,7 @@
<AppDesignerFolder>Properties</AppDesignerFolder>
<RootNamespace>ImageProcessor.Web.UnitTests</RootNamespace>
<AssemblyName>ImageProcessor.Web.UnitTests</AssemblyName>
<TargetFrameworkVersion>v4.5.1</TargetFrameworkVersion>
<TargetFrameworkVersion>v4.5</TargetFrameworkVersion>
<FileAlignment>512</FileAlignment>
<ProjectTypeGuids>{3AC096D0-A1C2-E12C-1390-A8335801FDAB};{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}</ProjectTypeGuids>
<VisualStudioVersion Condition="'$(VisualStudioVersion)' == ''">10.0</VisualStudioVersion>
@ -18,6 +18,7 @@
<TestProjectType>UnitTest</TestProjectType>
<SolutionDir Condition="$(SolutionDir) == '' Or $(SolutionDir) == '*Undefined*'">..\</SolutionDir>
<RestorePackages>true</RestorePackages>
<TargetFrameworkProfile />
</PropertyGroup>
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' ">
<DebugSymbols>true</DebugSymbols>
@ -61,9 +62,9 @@
<None Include="packages.config" />
</ItemGroup>
<ItemGroup>
<ProjectReference Include="..\ImageProcessor.Web\NET45\ImageProcessor.Web_NET45.csproj">
<ProjectReference Include="..\ImageProcessor.Web\ImageProcessor.Web.csproj">
<Project>{d011a778-59c8-4bfa-a770-c350216bf161}</Project>
<Name>ImageProcessor.Web_NET45</Name>
<Name>ImageProcessor.Web</Name>
</ProjectReference>
<ProjectReference Include="..\ImageProcessor\ImageProcessor.csproj">
<Project>{3b5dd734-fb7a-487d-8ce6-55e7af9aea7e}</Project>

0
src/ImageProcessor.Web/NET45/Caching/CacheIndexer.cs → src/ImageProcessor.Web/Caching/CacheIndexer.cs

0
src/ImageProcessor.Web/NET45/Caching/CachedImage.cs → src/ImageProcessor.Web/Caching/CachedImage.cs

1
src/ImageProcessor.Web/NET45/Caching/DiskCache.cs → src/ImageProcessor.Web/Caching/DiskCache.cs

@ -17,7 +17,6 @@ namespace ImageProcessor.Web.Caching
using System.IO;
using System.Linq;
using System.Threading.Tasks;
using System.Web;
using System.Web.Hosting;
using ImageProcessor.Web.Configuration;

0
src/ImageProcessor.Web/NET45/Caching/MemCache.cs → src/ImageProcessor.Web/Caching/MemCache.cs

0
src/ImageProcessor.Web/NET45/Configuration/ImageCacheSection.cs → src/ImageProcessor.Web/Configuration/ImageCacheSection.cs

0
src/ImageProcessor.Web/NET45/Configuration/ImageProcessingSection.cs → src/ImageProcessor.Web/Configuration/ImageProcessingSection.cs

0
src/ImageProcessor.Web/NET45/Configuration/ImageProcessorConfiguration.cs → src/ImageProcessor.Web/Configuration/ImageProcessorConfiguration.cs

0
src/ImageProcessor.Web/NET45/Configuration/ImageSecuritySection.cs → src/ImageProcessor.Web/Configuration/ImageSecuritySection.cs

0
src/ImageProcessor.Web/NET45/Configuration/Resources/cache.config → src/ImageProcessor.Web/Configuration/Resources/cache.config

0
src/ImageProcessor.Web/NET45/Configuration/Resources/processing.config → src/ImageProcessor.Web/Configuration/Resources/processing.config

0
src/ImageProcessor.Web/NET45/Configuration/Resources/security.config → src/ImageProcessor.Web/Configuration/Resources/security.config

0
src/ImageProcessor.Web/NET45/Extensions/DirectoryInfoExtensions.cs → src/ImageProcessor.Web/Extensions/DirectoryInfoExtensions.cs

0
src/ImageProcessor.Web/NET45/Extensions/StringExtensions.cs → src/ImageProcessor.Web/Extensions/StringExtensions.cs

3
src/ImageProcessor.Web/NET45/Helpers/AsyncDeDuperLock.cs → src/ImageProcessor.Web/Helpers/AsyncDeDuperLock.cs

@ -54,7 +54,6 @@ namespace ImageProcessor.Web.Helpers
return releaser;
}
#if NET45 && !__MonoCS__
/// <summary>
/// The lock async.
/// </summary>
@ -92,7 +91,7 @@ namespace ImageProcessor.Web.Helpers
TaskContinuationOptions.ExecuteSynchronously,
TaskScheduler.Default);
}
#endif
/// <summary>
/// The disposable scope.
/// </summary>

0
src/ImageProcessor.Web/NET45/Helpers/CommonParameterParserUtility.cs → src/ImageProcessor.Web/Helpers/CommonParameterParserUtility.cs

0
src/ImageProcessor.Web/NET45/Helpers/ImageHelpers.cs → src/ImageProcessor.Web/Helpers/ImageHelpers.cs

0
src/ImageProcessor.Web/NET45/Helpers/NativeMethods.cs → src/ImageProcessor.Web/Helpers/NativeMethods.cs

0
src/ImageProcessor.Web/NET45/Helpers/RemoteFile.cs → src/ImageProcessor.Web/Helpers/RemoteFile.cs

0
src/ImageProcessor.Web/NET45/Helpers/ResourceHelpers.cs → src/ImageProcessor.Web/Helpers/ResourceHelpers.cs

0
src/ImageProcessor.Web/NET45/Helpers/TaskHelpers.cs → src/ImageProcessor.Web/Helpers/TaskHelpers.cs

17
src/ImageProcessor.Web/NET45/HttpModules/ImageProcessingModule.cs → src/ImageProcessor.Web/HttpModules/ImageProcessingModule.cs

@ -175,8 +175,6 @@ namespace ImageProcessor.Web.HttpModules
}
#endregion
#if NET45 && !__MonoCS__
/// <summary>
/// Occurs when the user for the current request has been authorized.
/// </summary>
@ -195,21 +193,6 @@ namespace ImageProcessor.Web.HttpModules
return this.ProcessImageAsync(context);
}
#else
/// <summary>
/// Occurs when the user for the current request has been authorized.
/// </summary>
/// <param name="sender">The source of the event.</param>
/// <param name="e">An <see cref="T:System.EventArgs">EventArgs</see> that contains the event data.</param>
private async void PostAuthorizeRequest(object sender, EventArgs e)
{
HttpContext context = ((HttpApplication)sender).Context;
await this.ProcessImageAsync(context);
}
#endif
/// <summary>
/// Occurs just before ASP.NET send HttpHeaders to the client.
/// </summary>

0
src/ImageProcessor.Web/NET45/ImageFactoryExtensions.cs → src/ImageProcessor.Web/ImageFactoryExtensions.cs

2
src/ImageProcessor.Web/NET45/ImageProcessor.Web_NET45.csproj → src/ImageProcessor.Web/ImageProcessor.Web.csproj

@ -87,7 +87,7 @@
<Compile Include="Properties\AssemblyInfo.cs" />
</ItemGroup>
<ItemGroup>
<ProjectReference Include="..\..\ImageProcessor\ImageProcessor.csproj">
<ProjectReference Include="..\ImageProcessor\ImageProcessor.csproj">
<Project>{3b5dd734-fb7a-487d-8ce6-55e7af9aea7e}</Project>
<Name>ImageProcessor</Name>
</ProjectReference>

226
src/ImageProcessor.Web/NET4/ImageProcessor.Web_NET4.csproj

@ -1,226 +0,0 @@
<?xml version="1.0" encoding="utf-8"?>
<Project ToolsVersion="4.0" DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
<PropertyGroup>
<Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration>
<Platform Condition=" '$(Platform)' == '' ">AnyCPU</Platform>
<ProductVersion>8.0.30703</ProductVersion>
<SchemaVersion>2.0</SchemaVersion>
<ProjectGuid>{4F7050F2-465F-4E10-8DB2-2FB97AC6AA43}</ProjectGuid>
<OutputType>Library</OutputType>
<AppDesignerFolder>Properties</AppDesignerFolder>
<RootNamespace>ImageProcessor.Web</RootNamespace>
<AssemblyName>ImageProcessor.Web</AssemblyName>
<TargetFrameworkVersion>v4.0</TargetFrameworkVersion>
<FileAlignment>512</FileAlignment>
<SolutionDir Condition="$(SolutionDir) == '' Or $(SolutionDir) == '*Undefined*'">..\..\</SolutionDir>
<RestorePackages>true</RestorePackages>
</PropertyGroup>
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' ">
<DebugSymbols>true</DebugSymbols>
<DebugType>full</DebugType>
<Optimize>false</Optimize>
<OutputPath>bin\Debug\</OutputPath>
<DefineConstants>TRACE;DEBUG;USE_CSHARP_SQLITE</DefineConstants>
<ErrorReport>prompt</ErrorReport>
<WarningLevel>4</WarningLevel>
</PropertyGroup>
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' ">
<DebugType>pdbonly</DebugType>
<Optimize>true</Optimize>
<OutputPath>bin\Release\</OutputPath>
<DefineConstants>TRACE;USE_CSHARP_SQLITE</DefineConstants>
<ErrorReport>prompt</ErrorReport>
<WarningLevel>4</WarningLevel>
</PropertyGroup>
<PropertyGroup Condition="'$(Configuration)|$(Platform)' == 'All|AnyCPU'">
<DebugSymbols>true</DebugSymbols>
<OutputPath>bin\All\</OutputPath>
<DefineConstants>TRACE;DEBUG;USE_CSHARP_SQLITE</DefineConstants>
<DebugType>full</DebugType>
<PlatformTarget>AnyCPU</PlatformTarget>
<ErrorReport>prompt</ErrorReport>
</PropertyGroup>
<ItemGroup>
<Reference Include="Microsoft.CSharp" />
<Reference Include="Microsoft.Threading.Tasks, Version=1.0.12.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a, processorArchitecture=MSIL">
<SpecificVersion>False</SpecificVersion>
<HintPath>..\..\packages\Microsoft.Bcl.Async.1.0.168\lib\net40\Microsoft.Threading.Tasks.dll</HintPath>
</Reference>
<Reference Include="Microsoft.Threading.Tasks.Extensions, Version=1.0.12.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a, processorArchitecture=MSIL">
<SpecificVersion>False</SpecificVersion>
<HintPath>..\..\packages\Microsoft.Bcl.Async.1.0.168\lib\net40\Microsoft.Threading.Tasks.Extensions.dll</HintPath>
</Reference>
<Reference Include="Microsoft.Threading.Tasks.Extensions.Desktop, Version=1.0.168.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a, processorArchitecture=MSIL">
<SpecificVersion>False</SpecificVersion>
<HintPath>..\..\packages\Microsoft.Bcl.Async.1.0.168\lib\net40\Microsoft.Threading.Tasks.Extensions.Desktop.dll</HintPath>
</Reference>
<Reference Include="System" />
<Reference Include="System.Configuration" />
<Reference Include="System.Core" />
<Reference Include="System.Drawing" />
<Reference Include="System.IO">
<HintPath>..\..\packages\Microsoft.Bcl.1.1.9\lib\net40\System.IO.dll</HintPath>
<Private>True</Private>
</Reference>
<Reference Include="System.Net" />
<Reference Include="System.Runtime">
<HintPath>..\..\packages\Microsoft.Bcl.1.1.9\lib\net40\System.Runtime.dll</HintPath>
</Reference>
<Reference Include="System.Runtime.Caching" />
<Reference Include="System.Threading.Tasks">
<HintPath>..\..\packages\Microsoft.Bcl.1.1.9\lib\net40\System.Threading.Tasks.dll</HintPath>
</Reference>
<Reference Include="System.Web" />
<Reference Include="System.Data" />
<Reference Include="System.XML" />
</ItemGroup>
<ItemGroup>
<Compile Include="..\NET45\Caching\CachedImage.cs" />
<Compile Include="..\NET45\Caching\CacheIndexer.cs">
<Link>CacheIndexer.cs</Link>
</Compile>
<Compile Include="..\NET45\Caching\DiskCache.cs" />
<Compile Include="..\NET45\Caching\MemCache.cs">
<Link>MemCache.cs</Link>
</Compile>
<Compile Include="..\NET45\Configuration\ImageCacheSection.cs">
<Link>ImageCacheSection.cs</Link>
</Compile>
<Compile Include="..\NET45\Configuration\ImageProcessingSection.cs">
<Link>ImageProcessingSection.cs</Link>
</Compile>
<Compile Include="..\NET45\Configuration\ImageProcessorConfiguration.cs">
<Link>ImageProcessorConfiguration.cs</Link>
</Compile>
<Compile Include="..\NET45\Configuration\ImageSecuritySection.cs">
<Link>ImageSecuritySection.cs</Link>
</Compile>
<Compile Include="..\NET45\Extensions\DirectoryInfoExtensions.cs">
<Link>DirectoryInfoExtensions.cs</Link>
</Compile>
<Compile Include="..\NET45\Extensions\StringExtensions.cs">
<Link>StringExtensions.cs</Link>
</Compile>
<Compile Include="..\NET45\Helpers\AsyncDeDuperLock.cs">
<Link>AsyncDeDuperLock.cs</Link>
</Compile>
<Compile Include="..\NET45\Helpers\CommonParameterParserUtility.cs">
<Link>CommonParameterParserUtility.cs</Link>
</Compile>
<Compile Include="..\NET45\Helpers\ImageHelpers.cs">
<Link>ImageHelpers.cs</Link>
</Compile>
<Compile Include="..\NET45\Helpers\NativeMethods.cs">
<Link>NativeMethods.cs</Link>
</Compile>
<Compile Include="..\NET45\Helpers\RemoteFile.cs" />
<Compile Include="..\NET45\Helpers\ResourceHelpers.cs">
<Link>ResourceHelpers.cs</Link>
</Compile>
<Compile Include="..\NET45\Helpers\TaskHelpers.cs" />
<Compile Include="..\NET45\HttpModules\ImageProcessingModule.cs" />
<Compile Include="..\NET45\ImageFactoryExtensions.cs" />
<Compile Include="..\NET45\Processors\Alpha.cs">
<Link>Alpha.cs</Link>
</Compile>
<Compile Include="..\NET45\Processors\AutoRotate.cs">
<Link>AutoRotate.cs</Link>
</Compile>
<Compile Include="..\NET45\Processors\BackgroundColor.cs">
<Link>BackgroundColor.cs</Link>
</Compile>
<Compile Include="..\NET45\Processors\Brightness.cs">
<Link>Brightness.cs</Link>
</Compile>
<Compile Include="..\NET45\Processors\Contrast.cs">
<Link>Contrast.cs</Link>
</Compile>
<Compile Include="..\NET45\Processors\Crop.cs">
<Link>Crop.cs</Link>
</Compile>
<Compile Include="..\NET45\Processors\Filter.cs">
<Link>Filter.cs</Link>
</Compile>
<Compile Include="..\NET45\Processors\Flip.cs">
<Link>Flip.cs</Link>
</Compile>
<Compile Include="..\NET45\Processors\Format.cs">
<Link>Format.cs</Link>
</Compile>
<Compile Include="..\NET45\Processors\GaussianBlur.cs">
<Link>GaussianBlur.cs</Link>
</Compile>
<Compile Include="..\NET45\Processors\GaussianSharpen.cs">
<Link>GaussianSharpen.cs</Link>
</Compile>
<Compile Include="..\NET45\Processors\IWebGraphicsProcessor.cs">
<Link>IWebGraphicsProcessor.cs</Link>
</Compile>
<Compile Include="..\NET45\Processors\Quality.cs">
<Link>Quality.cs</Link>
</Compile>
<Compile Include="..\NET45\Processors\Resize.cs">
<Link>Resize.cs</Link>
</Compile>
<Compile Include="..\NET45\Processors\Rotate.cs">
<Link>Rotate.cs</Link>
</Compile>
<Compile Include="..\NET45\Processors\RoundedCorners.cs">
<Link>RoundedCorners.cs</Link>
</Compile>
<Compile Include="..\NET45\Processors\Saturation.cs">
<Link>Saturation.cs</Link>
</Compile>
<Compile Include="..\NET45\Processors\Tint.cs">
<Link>Tint.cs</Link>
</Compile>
<Compile Include="..\NET45\Processors\Vignette.cs">
<Link>Vignette.cs</Link>
</Compile>
<Compile Include="..\NET45\Processors\Watermark.cs">
<Link>Watermark.cs</Link>
</Compile>
<Compile Include="..\NET45\Properties\AssemblyInfo.cs" />
</ItemGroup>
<ItemGroup>
<ProjectReference Include="..\..\ImageProcessor\ImageProcessor.csproj">
<Project>{3B5DD734-FB7A-487D-8CE6-55E7AF9AEA7E}</Project>
<Name>ImageProcessor</Name>
</ProjectReference>
</ItemGroup>
<ItemGroup>
<None Include="..\NET45\Configuration\Resources\cache.config">
<Link>Configuration\Resources\cache.config</Link>
</None>
<None Include="..\NET45\Configuration\Resources\processing.config">
<Link>Configuration\Resources\processing.config</Link>
</None>
<None Include="..\NET45\Configuration\Resources\security.config">
<Link>Configuration\Resources\security.config</Link>
</None>
<None Include="app.config">
<SubType>Designer</SubType>
</None>
<None Include="packages.config">
<SubType>Designer</SubType>
</None>
</ItemGroup>
<Import Project="$(MSBuildToolsPath)\Microsoft.CSharp.targets" />
<PropertyGroup>
<PostBuildEvent>
</PostBuildEvent>
</PropertyGroup>
<Import Project="$(SolutionDir)\.nuget\NuGet.targets" Condition="Exists('$(SolutionDir)\.nuget\NuGet.targets')" />
<Import Project="..\..\packages\Microsoft.Bcl.Build.1.0.14\tools\Microsoft.Bcl.Build.targets" Condition="Exists('..\..\packages\Microsoft.Bcl.Build.1.0.14\tools\Microsoft.Bcl.Build.targets')" />
<Target Name="EnsureBclBuildImported" BeforeTargets="BeforeBuild" Condition="'$(BclBuildImported)' == ''">
<Error Condition="!Exists('..\..\packages\Microsoft.Bcl.Build.1.0.14\tools\Microsoft.Bcl.Build.targets')" Text="This project references NuGet package(s) that are missing on this computer. Enable NuGet Package Restore to download them. For more information, see http://go.microsoft.com/fwlink/?LinkID=317567." HelpKeyword="BCLBUILD2001" />
<Error Condition="Exists('..\..\packages\Microsoft.Bcl.Build.1.0.14\tools\Microsoft.Bcl.Build.targets')" Text="The build restored NuGet packages. Build the project again to include these packages in the build. For more information, see http://go.microsoft.com/fwlink/?LinkID=317568." HelpKeyword="BCLBUILD2002" />
</Target>
<!-- To modify your build process, add your task inside one of the targets below and uncomment it.
Other similar extension points exist, see Microsoft.Common.targets.
<Target Name="BeforeBuild">
</Target>
<Target Name="AfterBuild">
</Target>
-->
</Project>

15
src/ImageProcessor.Web/NET4/app.config

@ -1,15 +0,0 @@
<?xml version="1.0" encoding="utf-8"?>
<configuration>
<runtime>
<assemblyBinding xmlns:bcl="urn:schemas-microsoft-com:bcl" xmlns="urn:schemas-microsoft-com:asm.v1">
<dependentAssembly bcl:name="System.Runtime">
<assemblyIdentity name="System.Runtime" publicKeyToken="b03f5f7f11d50a3a" culture="neutral" />
<bindingRedirect oldVersion="0.0.0.0-2.6.9.0" newVersion="2.6.9.0" />
</dependentAssembly>
<dependentAssembly bcl:name="System.Threading.Tasks">
<assemblyIdentity name="System.Threading.Tasks" publicKeyToken="b03f5f7f11d50a3a" culture="neutral" />
<bindingRedirect oldVersion="0.0.0.0-2.6.9.0" newVersion="2.6.9.0" />
</dependentAssembly>
</assemblyBinding>
</runtime>
</configuration>

6
src/ImageProcessor.Web/NET4/packages.config

@ -1,6 +0,0 @@
<?xml version="1.0" encoding="utf-8"?>
<packages>
<package id="Microsoft.Bcl" version="1.1.9" targetFramework="net40" />
<package id="Microsoft.Bcl.Async" version="1.0.168" targetFramework="net40" />
<package id="Microsoft.Bcl.Build" version="1.0.14" targetFramework="net40" />
</packages>

0
src/ImageProcessor.Web/NET45/Processors/Alpha.cs → src/ImageProcessor.Web/Processors/Alpha.cs

0
src/ImageProcessor.Web/NET45/Processors/AutoRotate.cs → src/ImageProcessor.Web/Processors/AutoRotate.cs

0
src/ImageProcessor.Web/NET45/Processors/BackgroundColor.cs → src/ImageProcessor.Web/Processors/BackgroundColor.cs

0
src/ImageProcessor.Web/NET45/Processors/Brightness.cs → src/ImageProcessor.Web/Processors/Brightness.cs

0
src/ImageProcessor.Web/NET45/Processors/Contrast.cs → src/ImageProcessor.Web/Processors/Contrast.cs

0
src/ImageProcessor.Web/NET45/Processors/Crop.cs → src/ImageProcessor.Web/Processors/Crop.cs

0
src/ImageProcessor.Web/NET45/Processors/Filter.cs → src/ImageProcessor.Web/Processors/Filter.cs

0
src/ImageProcessor.Web/NET45/Processors/Flip.cs → src/ImageProcessor.Web/Processors/Flip.cs

0
src/ImageProcessor.Web/NET45/Processors/Format.cs → src/ImageProcessor.Web/Processors/Format.cs

0
src/ImageProcessor.Web/NET45/Processors/GaussianBlur.cs → src/ImageProcessor.Web/Processors/GaussianBlur.cs

0
src/ImageProcessor.Web/NET45/Processors/GaussianSharpen.cs → src/ImageProcessor.Web/Processors/GaussianSharpen.cs

0
src/ImageProcessor.Web/NET45/Processors/IWebGraphicsProcessor.cs → src/ImageProcessor.Web/Processors/IWebGraphicsProcessor.cs

0
src/ImageProcessor.Web/NET45/Processors/Quality.cs → src/ImageProcessor.Web/Processors/Quality.cs

0
src/ImageProcessor.Web/NET45/Processors/Resize.cs → src/ImageProcessor.Web/Processors/Resize.cs

0
src/ImageProcessor.Web/NET45/Processors/Rotate.cs → src/ImageProcessor.Web/Processors/Rotate.cs

0
src/ImageProcessor.Web/NET45/Processors/RoundedCorners.cs → src/ImageProcessor.Web/Processors/RoundedCorners.cs

0
src/ImageProcessor.Web/NET45/Processors/Saturation.cs → src/ImageProcessor.Web/Processors/Saturation.cs

0
src/ImageProcessor.Web/NET45/Processors/Tint.cs → src/ImageProcessor.Web/Processors/Tint.cs

0
src/ImageProcessor.Web/NET45/Processors/Vignette.cs → src/ImageProcessor.Web/Processors/Vignette.cs

0
src/ImageProcessor.Web/NET45/Processors/Watermark.cs → src/ImageProcessor.Web/Processors/Watermark.cs

0
src/ImageProcessor.Web/NET45/Properties/AssemblyInfo.cs → src/ImageProcessor.Web/Properties/AssemblyInfo.cs

0
src/ImageProcessor.Web/NET45/Settings.StyleCop → src/ImageProcessor.Web/Settings.StyleCop

52
src/ImageProcessor.sln

@ -18,17 +18,9 @@ Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = ".nuget", ".nuget", "{1E656C
EndProject
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "ImageProcessor", "ImageProcessor\ImageProcessor.csproj", "{3B5DD734-FB7A-487D-8CE6-55E7AF9AEA7E}"
EndProject
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Web.Tests", "Web.Test\Web.Tests.csproj", "{23CE0FC0-9E59-4C93-A604-A4A98A6284D1}"
EndProject
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Test_Website_MVC_NET4", "TestWebsites\NET4\Test_Website_MVC_NET4.csproj", "{30327C08-7574-4D7E-AC95-6A58753C6855}"
EndProject
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Test_Website_MVC_NET45", "TestWebsites\NET45\Test_Website_NET45\Test_Website_MVC_NET45.csproj", "{F6A208E9-C18F-43E9-B051-3C6EED30FDAF}"
EndProject
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "ImageProcessor.Web_NET4", "ImageProcessor.Web\NET4\ImageProcessor.Web_NET4.csproj", "{4F7050F2-465F-4E10-8DB2-2FB97AC6AA43}"
EndProject
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "ImageProcessor.Web_NET45", "ImageProcessor.Web\NET45\ImageProcessor.Web_NET45.csproj", "{D011A778-59C8-4BFA-A770-C350216BF161}"
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "ImageProcessor.Web", "ImageProcessor.Web\ImageProcessor.Web.csproj", "{D011A778-59C8-4BFA-A770-C350216BF161}"
EndProject
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Test_Website_Webforms_NET45", "TestWebsites\NET45\Test_Website_Webforms_NET45\Test_Website_Webforms_NET45.csproj", "{8DA47D8C-DB1A-4D82-843F-896AB9C3B3D2}"
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "ImageProcessor.Plugins.WebP", "Plugins\ImageProcessor\ImageProcessor.Plugins.WebP\ImageProcessor.Plugins.WebP.csproj", "{2CF69699-959A-44DC-A281-4E2596C25043}"
EndProject
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "ImageProcessorConsole", "ImageProcessorConsole\ImageProcessorConsole.csproj", "{7BF5274B-56A7-4B62-8105-E9BDF25BAFE7}"
EndProject
@ -36,8 +28,13 @@ Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "ImageProcessor.Web.UnitTest
EndProject
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "ImageProcessor.UnitTests", "ImageProcessor.UnitTests\ImageProcessor.UnitTests.csproj", "{633B1C4C-4823-47BE-9A01-A665F3118C8C}"
EndProject
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "ImageProcessor.Plugins.WebP", "Plugins\ImageProcessor\ImageProcessor.Plugins.WebP\ImageProcessor.Plugins.WebP.csproj", "{2CF69699-959A-44DC-A281-4E2596C25043}"
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Web.Tests", "Web.Test\Web.Tests.csproj", "{23CE0FC0-9E59-4C93-A604-A4A98A6284D1}"
EndProject
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Test_Website_MVC", "TestWebsites\MVC\Test_Website_MVC.csproj", "{F6A208E9-C18F-43E9-B051-3C6EED30FDAF}"
EndProject
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Test_Website_Webforms", "TestWebsites\WebForms\Test_Website_Webforms.csproj", "{8DA47D8C-DB1A-4D82-843F-896AB9C3B3D2}"
EndProject
Global
GlobalSection(SolutionConfigurationPlatforms) = preSolution
All|Any CPU = All|Any CPU
@ -80,24 +77,6 @@ Global
{23CE0FC0-9E59-4C93-A604-A4A98A6284D1}.Release|Mixed Platforms.ActiveCfg = Release|Any CPU
{23CE0FC0-9E59-4C93-A604-A4A98A6284D1}.Release|Mixed Platforms.Build.0 = Release|Any CPU
{23CE0FC0-9E59-4C93-A604-A4A98A6284D1}.Release|x86.ActiveCfg = Release|Any CPU
{30327C08-7574-4D7E-AC95-6A58753C6855}.All|Any CPU.ActiveCfg = All|Any CPU
{30327C08-7574-4D7E-AC95-6A58753C6855}.All|Any CPU.Build.0 = All|Any CPU
{30327C08-7574-4D7E-AC95-6A58753C6855}.All|Mixed Platforms.ActiveCfg = All|x86
{30327C08-7574-4D7E-AC95-6A58753C6855}.All|Mixed Platforms.Build.0 = All|x86
{30327C08-7574-4D7E-AC95-6A58753C6855}.All|x86.ActiveCfg = All|x86
{30327C08-7574-4D7E-AC95-6A58753C6855}.All|x86.Build.0 = All|x86
{30327C08-7574-4D7E-AC95-6A58753C6855}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
{30327C08-7574-4D7E-AC95-6A58753C6855}.Debug|Any CPU.Build.0 = Debug|Any CPU
{30327C08-7574-4D7E-AC95-6A58753C6855}.Debug|Mixed Platforms.ActiveCfg = Debug|x86
{30327C08-7574-4D7E-AC95-6A58753C6855}.Debug|Mixed Platforms.Build.0 = Debug|x86
{30327C08-7574-4D7E-AC95-6A58753C6855}.Debug|x86.ActiveCfg = Debug|x86
{30327C08-7574-4D7E-AC95-6A58753C6855}.Debug|x86.Build.0 = Debug|x86
{30327C08-7574-4D7E-AC95-6A58753C6855}.Release|Any CPU.ActiveCfg = Release|Any CPU
{30327C08-7574-4D7E-AC95-6A58753C6855}.Release|Any CPU.Build.0 = Release|Any CPU
{30327C08-7574-4D7E-AC95-6A58753C6855}.Release|Mixed Platforms.ActiveCfg = Release|x86
{30327C08-7574-4D7E-AC95-6A58753C6855}.Release|Mixed Platforms.Build.0 = Release|x86
{30327C08-7574-4D7E-AC95-6A58753C6855}.Release|x86.ActiveCfg = Release|x86
{30327C08-7574-4D7E-AC95-6A58753C6855}.Release|x86.Build.0 = Release|x86
{F6A208E9-C18F-43E9-B051-3C6EED30FDAF}.All|Any CPU.ActiveCfg = Release|Any CPU
{F6A208E9-C18F-43E9-B051-3C6EED30FDAF}.All|Any CPU.Build.0 = Release|Any CPU
{F6A208E9-C18F-43E9-B051-3C6EED30FDAF}.All|Mixed Platforms.ActiveCfg = Release|Any CPU
@ -113,21 +92,6 @@ Global
{F6A208E9-C18F-43E9-B051-3C6EED30FDAF}.Release|Mixed Platforms.ActiveCfg = Release|Any CPU
{F6A208E9-C18F-43E9-B051-3C6EED30FDAF}.Release|Mixed Platforms.Build.0 = Release|Any CPU
{F6A208E9-C18F-43E9-B051-3C6EED30FDAF}.Release|x86.ActiveCfg = Release|Any CPU
{4F7050F2-465F-4E10-8DB2-2FB97AC6AA43}.All|Any CPU.ActiveCfg = All|Any CPU
{4F7050F2-465F-4E10-8DB2-2FB97AC6AA43}.All|Any CPU.Build.0 = All|Any CPU
{4F7050F2-465F-4E10-8DB2-2FB97AC6AA43}.All|Mixed Platforms.ActiveCfg = All|Any CPU
{4F7050F2-465F-4E10-8DB2-2FB97AC6AA43}.All|Mixed Platforms.Build.0 = All|Any CPU
{4F7050F2-465F-4E10-8DB2-2FB97AC6AA43}.All|x86.ActiveCfg = All|Any CPU
{4F7050F2-465F-4E10-8DB2-2FB97AC6AA43}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
{4F7050F2-465F-4E10-8DB2-2FB97AC6AA43}.Debug|Any CPU.Build.0 = Debug|Any CPU
{4F7050F2-465F-4E10-8DB2-2FB97AC6AA43}.Debug|Mixed Platforms.ActiveCfg = Debug|Any CPU
{4F7050F2-465F-4E10-8DB2-2FB97AC6AA43}.Debug|Mixed Platforms.Build.0 = Debug|Any CPU
{4F7050F2-465F-4E10-8DB2-2FB97AC6AA43}.Debug|x86.ActiveCfg = Debug|Any CPU
{4F7050F2-465F-4E10-8DB2-2FB97AC6AA43}.Release|Any CPU.ActiveCfg = Release|Any CPU
{4F7050F2-465F-4E10-8DB2-2FB97AC6AA43}.Release|Any CPU.Build.0 = Release|Any CPU
{4F7050F2-465F-4E10-8DB2-2FB97AC6AA43}.Release|Mixed Platforms.ActiveCfg = Release|Any CPU
{4F7050F2-465F-4E10-8DB2-2FB97AC6AA43}.Release|Mixed Platforms.Build.0 = Release|Any CPU
{4F7050F2-465F-4E10-8DB2-2FB97AC6AA43}.Release|x86.ActiveCfg = Release|Any CPU
{D011A778-59C8-4BFA-A770-C350216BF161}.All|Any CPU.ActiveCfg = Release|Any CPU
{D011A778-59C8-4BFA-A770-C350216BF161}.All|Any CPU.Build.0 = Release|Any CPU
{D011A778-59C8-4BFA-A770-C350216BF161}.All|Mixed Platforms.ActiveCfg = Release|Any CPU

1
src/ImageProcessor.sln.DotSettings

@ -11,6 +11,7 @@
<s:String x:Key="/Default/CodeStyle/Naming/CSharpNaming/Abbreviations/=JPEGDC/@EntryIndexedValue">JPEGDC</s:String>
<s:String x:Key="/Default/CodeStyle/Naming/CSharpNaming/Abbreviations/=JPEGQ/@EntryIndexedValue">JPEGQ</s:String>
<s:String x:Key="/Default/CodeStyle/Naming/CSharpNaming/Abbreviations/=LPI/@EntryIndexedValue">LPI</s:String>
<s:String x:Key="/Default/CodeStyle/Naming/CSharpNaming/Abbreviations/=MD/@EntryIndexedValue">MD</s:String>
<s:String x:Key="/Default/CodeStyle/Naming/CSharpNaming/Abbreviations/=OECF/@EntryIndexedValue">OECF</s:String>
<s:String x:Key="/Default/CodeStyle/Naming/CSharpNaming/Abbreviations/=REF/@EntryIndexedValue">REF</s:String>
<s:String x:Key="/Default/CodeStyle/Naming/CSharpNaming/Abbreviations/=SRGB/@EntryIndexedValue">SRGB</s:String>

2
src/ImageProcessor/Configuration/ImageProcessorBootstrapper.cs

@ -132,7 +132,7 @@ namespace ImageProcessor.Configuration
// Store root assembly (level 0) directly into results list
stack.Push(assembly.ToString());
// Do a preorder, non-recursive traversal
// Do a pre-order, non-recursive traversal
while (stack.Count > 0)
{
string info = (string)stack.Pop();

12
src/ImageProcessor/ImageProcessor.csproj

@ -1,5 +1,6 @@
<?xml version="1.0" encoding="utf-8"?>
<Project ToolsVersion="4.0" DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
<Project ToolsVersion="12.0" DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
<Import Project="$(MSBuildExtensionsPath)\$(MSBuildToolsVersion)\Microsoft.Common.props" Condition="Exists('$(MSBuildExtensionsPath)\$(MSBuildToolsVersion)\Microsoft.Common.props')" />
<PropertyGroup>
<Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration>
<Platform Condition=" '$(Platform)' == '' ">AnyCPU</Platform>
@ -8,12 +9,12 @@
<AppDesignerFolder>Properties</AppDesignerFolder>
<RootNamespace>ImageProcessor</RootNamespace>
<AssemblyName>ImageProcessor</AssemblyName>
<TargetFrameworkVersion>v4.0</TargetFrameworkVersion>
<TargetFrameworkVersion>v4.5</TargetFrameworkVersion>
<FileAlignment>512</FileAlignment>
<SolutionDir Condition="$(SolutionDir) == '' Or $(SolutionDir) == '*Undefined*'">..\</SolutionDir>
<RestorePackages>true</RestorePackages>
<TargetFrameworkProfile>Client</TargetFrameworkProfile>
<UseMSBuildEngine>False</UseMSBuildEngine>
<TargetFrameworkProfile>
</TargetFrameworkProfile>
</PropertyGroup>
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' ">
<DebugSymbols>true</DebugSymbols>
@ -24,6 +25,7 @@
<ErrorReport>prompt</ErrorReport>
<WarningLevel>4</WarningLevel>
<DocumentationFile>bin\Debug\ImageProcessor.XML</DocumentationFile>
<Prefer32Bit>false</Prefer32Bit>
</PropertyGroup>
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' ">
<DebugType>pdbonly</DebugType>
@ -33,6 +35,7 @@
<ErrorReport>prompt</ErrorReport>
<WarningLevel>4</WarningLevel>
<DocumentationFile>bin\Release\ImageProcessor.XML</DocumentationFile>
<Prefer32Bit>false</Prefer32Bit>
</PropertyGroup>
<PropertyGroup Condition="'$(Configuration)|$(Platform)' == 'All|AnyCPU'">
<DebugSymbols>true</DebugSymbols>
@ -46,6 +49,7 @@
<CodeAnalysisIgnoreBuiltInRules>true</CodeAnalysisIgnoreBuiltInRules>
<WarningLevel>4</WarningLevel>
<Optimize>false</Optimize>
<Prefer32Bit>false</Prefer32Bit>
</PropertyGroup>
<ItemGroup>
<Reference Include="System" />

7
src/Plugins/ImageProcessor/ImageProcessor.Plugins.WebP/ImageProcessor.Plugins.WebP.csproj

@ -9,9 +9,10 @@
<AppDesignerFolder>Properties</AppDesignerFolder>
<RootNamespace>ImageProcessor.Plugins.WebP</RootNamespace>
<AssemblyName>ImageProcessor.Plugins.WebP</AssemblyName>
<TargetFrameworkVersion>v4.0</TargetFrameworkVersion>
<TargetFrameworkVersion>v4.5</TargetFrameworkVersion>
<FileAlignment>512</FileAlignment>
<TargetFrameworkProfile>Client</TargetFrameworkProfile>
<TargetFrameworkProfile>
</TargetFrameworkProfile>
</PropertyGroup>
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' ">
<DebugSymbols>true</DebugSymbols>
@ -21,6 +22,7 @@
<DefineConstants>DEBUG;TRACE</DefineConstants>
<ErrorReport>prompt</ErrorReport>
<WarningLevel>4</WarningLevel>
<Prefer32Bit>false</Prefer32Bit>
</PropertyGroup>
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' ">
<DebugType>pdbonly</DebugType>
@ -29,6 +31,7 @@
<DefineConstants>TRACE</DefineConstants>
<ErrorReport>prompt</ErrorReport>
<WarningLevel>4</WarningLevel>
<Prefer32Bit>false</Prefer32Bit>
</PropertyGroup>
<ItemGroup>
<Reference Include="System" />

0
src/TestWebsites/NET45/Test_Website_NET45/App_Start/FilterConfig.cs → src/TestWebsites/MVC/App_Start/FilterConfig.cs

0
src/TestWebsites/NET45/Test_Website_NET45/App_Start/RouteConfig.cs → src/TestWebsites/MVC/App_Start/RouteConfig.cs

0
src/TestWebsites/NET45/Test_Website_NET45/App_Start/WebApiConfig.cs → src/TestWebsites/MVC/App_Start/WebApiConfig.cs

0
src/TestWebsites/NET4/Content/responsive.min.css.REMOVED.git-id → src/TestWebsites/MVC/Content/responsive.min.css.REMOVED.git-id

0
src/TestWebsites/NET45/Test_Website_NET45/Controllers/HomeController.cs → src/TestWebsites/MVC/Controllers/HomeController.cs

0
src/TestWebsites/NET45/Test_Website_NET45/Global.asax → src/TestWebsites/MVC/Global.asax

0
src/TestWebsites/NET45/Test_Website_NET45/Global.asax.cs → src/TestWebsites/MVC/Global.asax.cs

0
src/TestWebsites/NET45/Test_Website_NET45/Properties/AssemblyInfo.cs → src/TestWebsites/MVC/Properties/AssemblyInfo.cs

8
src/TestWebsites/NET45/Test_Website_NET45/Test_Website_MVC_NET45.csproj → src/TestWebsites/MVC/Test_Website_MVC.csproj

@ -151,15 +151,15 @@
<Content Include="Views\Home\Index.cshtml" />
</ItemGroup>
<ItemGroup>
<ProjectReference Include="..\..\..\ImageProcessor.Web\NET45\ImageProcessor.Web_NET45.csproj">
<ProjectReference Include="..\..\ImageProcessor.Web\ImageProcessor.Web.csproj">
<Project>{d011a778-59c8-4bfa-a770-c350216bf161}</Project>
<Name>ImageProcessor.Web_NET45</Name>
<Name>ImageProcessor.Web</Name>
</ProjectReference>
<ProjectReference Include="..\..\..\ImageProcessor\ImageProcessor.csproj">
<ProjectReference Include="..\..\ImageProcessor\ImageProcessor.csproj">
<Project>{3b5dd734-fb7a-487d-8ce6-55e7af9aea7e}</Project>
<Name>ImageProcessor</Name>
</ProjectReference>
<ProjectReference Include="..\..\..\Plugins\ImageProcessor\ImageProcessor.Plugins.WebP\ImageProcessor.Plugins.WebP.csproj">
<ProjectReference Include="..\..\Plugins\ImageProcessor\ImageProcessor.Plugins.WebP\ImageProcessor.Plugins.WebP.csproj">
<Project>{2cf69699-959a-44dc-a281-4e2596c25043}</Project>
<Name>ImageProcessor.Plugins.WebP</Name>
</ProjectReference>

0
src/TestWebsites/NET4/Views/Home/Bmp.cshtml → src/TestWebsites/MVC/Views/Home/Bmp.cshtml

0
src/TestWebsites/NET45/Test_Website_NET45/Views/Home/External.cshtml → src/TestWebsites/MVC/Views/Home/External.cshtml

0
src/TestWebsites/NET45/Test_Website_NET45/Views/Home/Gif.cshtml → src/TestWebsites/MVC/Views/Home/Gif.cshtml

0
src/TestWebsites/NET45/Test_Website_NET45/Views/Home/Index.cshtml → src/TestWebsites/MVC/Views/Home/Index.cshtml

0
src/TestWebsites/NET45/Test_Website_NET45/Views/Home/Png.cshtml → src/TestWebsites/MVC/Views/Home/Png.cshtml

0
src/TestWebsites/NET4/Views/Home/Png8.cshtml → src/TestWebsites/MVC/Views/Home/Png8.cshtml

0
src/TestWebsites/NET4/Views/Home/Tiff.cshtml → src/TestWebsites/MVC/Views/Home/Tiff.cshtml

0
src/TestWebsites/NET45/Test_Website_NET45/Views/Home/WebP.cshtml → src/TestWebsites/MVC/Views/Home/WebP.cshtml

0
src/TestWebsites/NET45/Test_Website_NET45/Views/Shared/_Layout.cshtml → src/TestWebsites/MVC/Views/Shared/_Layout.cshtml

0
src/TestWebsites/NET45/Test_Website_NET45/Views/Web.config → src/TestWebsites/MVC/Views/Web.config

0
src/TestWebsites/NET4/Views/_ViewStart.cshtml → src/TestWebsites/MVC/Views/_ViewStart.cshtml

0
src/TestWebsites/NET45/Test_Website_NET45/Web.Debug.config → src/TestWebsites/MVC/Web.Debug.config

0
src/TestWebsites/NET45/Test_Website_NET45/Web.Release.config → src/TestWebsites/MVC/Web.Release.config

0
src/TestWebsites/NET45/Test_Website_NET45/Web.config → src/TestWebsites/MVC/Web.config

0
src/TestWebsites/NET4/config/imageprocessor/cache.config → src/TestWebsites/MVC/config/imageprocessor/cache.config

0
src/TestWebsites/NET45/Test_Website_NET45/config/imageprocessor/processing.config → src/TestWebsites/MVC/config/imageprocessor/processing.config

0
src/TestWebsites/NET45/Test_Website_NET45/config/imageprocessor/security.config → src/TestWebsites/MVC/config/imageprocessor/security.config

0
src/TestWebsites/NET45/Test_Website_NET45/packages.config → src/TestWebsites/MVC/packages.config

50
src/TestWebsites/NET4/Controllers/HomeController.cs

@ -1,50 +0,0 @@
using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.Mvc;
namespace Test.Controllers
{
public class HomeController : Controller
{
//
// GET: /Home/
public ActionResult Index()
{
return this.View();
}
public ActionResult Png()
{
return this.View();
}
public ActionResult Png8()
{
return this.View();
}
public ActionResult Gif()
{
return this.View();
}
public ActionResult Bmp()
{
return View();
}
public ActionResult Tiff()
{
return View();
}
public ActionResult External()
{
return this.View();
}
}
}

1
src/TestWebsites/NET4/Global.asax

@ -1 +0,0 @@
<%@ Application Codebehind="Global.asax.cs" Inherits="Test.MvcApplication" Language="C#" %>

40
src/TestWebsites/NET4/Global.asax.cs

@ -1,40 +0,0 @@
using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.Mvc;
using System.Web.Routing;
namespace Test
{
// Note: For instructions on enabling IIS6 or IIS7 classic mode,
// visit http://go.microsoft.com/?LinkId=9394801
public class MvcApplication : System.Web.HttpApplication
{
public static void RegisterGlobalFilters(GlobalFilterCollection filters)
{
filters.Add(new HandleErrorAttribute());
}
public static void RegisterRoutes(RouteCollection routes)
{
routes.IgnoreRoute("{resource}.axd/{*pathInfo}");
routes.MapRoute(
"Default", // Route name
"{controller}/{action}/{id}", // URL with parameters
new { controller = "Home", action = "Index", id = UrlParameter.Optional } // Parameter defaults
);
}
protected void Application_Start()
{
AreaRegistration.RegisterAllAreas();
RegisterGlobalFilters(GlobalFilters.Filters);
RegisterRoutes(RouteTable.Routes);
}
}
}

35
src/TestWebsites/NET4/Properties/AssemblyInfo.cs

@ -1,35 +0,0 @@
using System.Reflection;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
// General Information about an assembly is controlled through the following
// set of attributes. Change these attribute values to modify the information
// associated with an assembly.
[assembly: AssemblyTitle("Test")]
[assembly: AssemblyDescription("")]
[assembly: AssemblyConfiguration("")]
[assembly: AssemblyCompany("")]
[assembly: AssemblyProduct("Test")]
[assembly: AssemblyCopyright("Copyright © 2012")]
[assembly: AssemblyTrademark("")]
[assembly: AssemblyCulture("")]
// Setting ComVisible to false makes the types in this assembly not visible
// to COM components. If you need to access a type in this assembly from
// COM, set the ComVisible attribute to true on that type.
[assembly: ComVisible(false)]
// The following GUID is for the ID of the typelib if this project is exposed to COM
[assembly: Guid("34f4c859-67cc-40d2-97ae-27e8c7157052")]
// Version information for an assembly consists of the following four values:
//
// Major Version
// Minor Version
// Build Number
// Revision
//
// You can specify all the values or you can default the Revision and Build Numbers
// by using the '*' as shown below:
[assembly: AssemblyVersion("1.0.0.0")]
[assembly: AssemblyFileVersion("1.0.0.0")]

103
src/TestWebsites/NET4/Scripts/img.srcsect.pollyfill.js

@ -1,103 +0,0 @@
(function ($) {
// http: //www.whatwg.org/specs/web-apps/current-work/multipage/embedded-content-1.html#attr-img-srcset
// Regexes for matching queries.
var rSrc = /[^\s]+/,
rWidth = /(\d+)w/,
rRatio = /(\d+)x/;
// Detect retina display
// http: //www.quirksmode.org/blog/archives/2012/06/devicepixelrati.html
var pixelRatio = (window.devicePixelRatio || 1);
// Cache the images as theres no point querying them twice.
var imageList = [];
// http://lodash.com/docs/#debounce
var debounce = function (func, wait, immediate) {
var args,
result,
thisArg,
timeoutId;
function delayed() {
timeoutId = null;
if (!immediate) {
func.apply(thisArg, args);
}
}
return function () {
var isImmediate = immediate && !timeoutId;
args = arguments;
thisArg = this;
clearTimeout(timeoutId);
timeoutId = setTimeout(delayed, wait);
if (isImmediate) {
result = func.apply(thisArg, args);
}
return result;
};
};
var getImgSrc = function (image) {
var imgSrc = null, imgWidth = 0, i,
imgSrcParts = image.attributes["srcset"].nodeValue.split(","),
len = imgSrcParts.length,
width = $(window).width();
for (i = 0; i < len; i += 1) {
// This is just a rough play on the algorithm.
var newImgSrc = imgSrcParts[i].match(rSrc)[0],
newImgWidth = rWidth.test(imgSrcParts[i]) ? parseInt(imgSrcParts[i].match(rWidth)[1], 10) : 1, // Use 1 for truthy
newPixelRatio = rRatio.test(imgSrcParts[i]) ? parseInt(imgSrcParts[i].match(rRatio)[1], 10) : 1;
if ((newImgWidth > imgWidth && width > newImgWidth && newPixelRatio === pixelRatio)) {
imgWidth = newImgWidth || imgWidth;
imgSrc = newImgSrc;
}
}
// Return null
return imgSrc;
};
$(window).resize(function () {
$.each(imageList, function () {
var self = this,
checkImage = function () {
var src = getImgSrc(self);
if (src) {
self.src = src;
}
},
lazyCheck = debounce(checkImage, 100);
// Run debounced
lazyCheck();
});
});
$(window).load(function () {
$("img[srcset]").each(function () {
var src = getImgSrc(this);
if (src) {
this.src = src;
}
imageList.push(this);
});
});
} (jQuery));

246
src/TestWebsites/NET4/Test_Website_MVC_NET4.csproj

@ -1,246 +0,0 @@
<?xml version="1.0" encoding="utf-8"?>
<Project ToolsVersion="4.0" DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
<Import Project="$(MSBuildExtensionsPath)\$(MSBuildToolsVersion)\Microsoft.Common.props" Condition="Exists('$(MSBuildExtensionsPath)\$(MSBuildToolsVersion)\Microsoft.Common.props')" />
<PropertyGroup>
<Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration>
<Platform Condition=" '$(Platform)' == '' ">AnyCPU</Platform>
<ProductVersion>
</ProductVersion>
<SchemaVersion>2.0</SchemaVersion>
<ProjectGuid>{30327C08-7574-4D7E-AC95-6A58753C6855}</ProjectGuid>
<ProjectTypeGuids>{E53F8FEA-EAE0-44A6-8774-FFD645390401};{349c5851-65df-11da-9384-00065b846f21};{fae04ec0-301f-11d3-bf4b-00c04f79efbc}</ProjectTypeGuids>
<OutputType>Library</OutputType>
<AppDesignerFolder>Properties</AppDesignerFolder>
<RootNamespace>Test</RootNamespace>
<AssemblyName>Test</AssemblyName>
<TargetFrameworkVersion>v4.0</TargetFrameworkVersion>
<MvcBuildViews>false</MvcBuildViews>
<UseIISExpress>false</UseIISExpress>
<FileUpgradeFlags>
</FileUpgradeFlags>
<UpgradeBackupLocation>
</UpgradeBackupLocation>
<OldToolsVersion>4.0</OldToolsVersion>
<IISExpressSSLPort />
<IISExpressAnonymousAuthentication />
<IISExpressWindowsAuthentication />
<IISExpressUseClassicPipelineMode />
<SolutionDir Condition="$(SolutionDir) == '' Or $(SolutionDir) == '*Undefined*'">..\..\</SolutionDir>
<RestorePackages>true</RestorePackages>
<MvcProjectUpgradeChecked>true</MvcProjectUpgradeChecked>
</PropertyGroup>
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' ">
<DebugSymbols>true</DebugSymbols>
<DebugType>full</DebugType>
<Optimize>false</Optimize>
<OutputPath>bin\</OutputPath>
<DefineConstants>DEBUG;TRACE</DefineConstants>
<ErrorReport>prompt</ErrorReport>
<WarningLevel>4</WarningLevel>
</PropertyGroup>
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' ">
<DebugType>pdbonly</DebugType>
<Optimize>true</Optimize>
<OutputPath>bin\</OutputPath>
<DefineConstants>TRACE</DefineConstants>
<ErrorReport>prompt</ErrorReport>
<WarningLevel>4</WarningLevel>
</PropertyGroup>
<PropertyGroup Condition="'$(Configuration)|$(Platform)' == 'All|AnyCPU'">
<DebugSymbols>true</DebugSymbols>
<OutputPath>bin\</OutputPath>
<DefineConstants>DEBUG;TRACE</DefineConstants>
<DebugType>full</DebugType>
<PlatformTarget>AnyCPU</PlatformTarget>
<ErrorReport>prompt</ErrorReport>
</PropertyGroup>
<ItemGroup>
<Reference Include="Microsoft.CSharp" />
<Reference Include="Microsoft.Threading.Tasks, Version=1.0.12.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a, processorArchitecture=MSIL">
<SpecificVersion>False</SpecificVersion>
<HintPath>..\..\packages\Microsoft.Bcl.Async.1.0.168\lib\net40\Microsoft.Threading.Tasks.dll</HintPath>
</Reference>
<Reference Include="Microsoft.Threading.Tasks.Extensions, Version=1.0.12.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a, processorArchitecture=MSIL">
<SpecificVersion>False</SpecificVersion>
<HintPath>..\..\packages\Microsoft.Bcl.Async.1.0.168\lib\net40\Microsoft.Threading.Tasks.Extensions.dll</HintPath>
</Reference>
<Reference Include="Microsoft.Threading.Tasks.Extensions.Desktop, Version=1.0.168.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a, processorArchitecture=MSIL">
<SpecificVersion>False</SpecificVersion>
<HintPath>..\..\packages\Microsoft.Bcl.Async.1.0.168\lib\net40\Microsoft.Threading.Tasks.Extensions.Desktop.dll</HintPath>
</Reference>
<Reference Include="System.Data.Entity" />
<Reference Include="System.IO">
<HintPath>..\..\packages\Microsoft.Bcl.1.1.9\lib\net40\System.IO.dll</HintPath>
</Reference>
<Reference Include="System.Net" />
<Reference Include="System.Runtime">
<HintPath>..\..\packages\Microsoft.Bcl.1.1.9\lib\net40\System.Runtime.dll</HintPath>
</Reference>
<Reference Include="System.Threading.Tasks">
<HintPath>..\..\packages\Microsoft.Bcl.1.1.9\lib\net40\System.Threading.Tasks.dll</HintPath>
</Reference>
<Reference Include="System.Web.Mvc, Version=3.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35, processorArchitecture=MSIL" />
<Reference Include="System.Web.WebPages, Version=1.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35, processorArchitecture=MSIL" />
<Reference Include="System.Web.Helpers, Version=1.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35, processorArchitecture=MSIL" />
<Reference Include="System" />
<Reference Include="System.Data" />
<Reference Include="System.Drawing" />
<Reference Include="System.Web.DynamicData" />
<Reference Include="System.Web.Entity" />
<Reference Include="System.Web.ApplicationServices" />
<Reference Include="System.ComponentModel.DataAnnotations" />
<Reference Include="System.Core" />
<Reference Include="System.Data.DataSetExtensions" />
<Reference Include="System.Xml.Linq" />
<Reference Include="System.Web" />
<Reference Include="System.Web.Extensions" />
<Reference Include="System.Web.Abstractions" />
<Reference Include="System.Web.Routing" />
<Reference Include="System.Xml" />
<Reference Include="System.Configuration" />
<Reference Include="System.Web.Services" />
<Reference Include="System.EnterpriseServices" />
</ItemGroup>
<ItemGroup>
<Compile Include="Controllers\HomeController.cs" />
<Compile Include="Global.asax.cs">
<DependentUpon>Global.asax</DependentUpon>
</Compile>
<Compile Include="Properties\AssemblyInfo.cs" />
</ItemGroup>
<ItemGroup>
<Content Include="Content\responsive.min.css" />
<Content Include="Global.asax" />
<Content Include="Scripts\img.srcsect.pollyfill.js" />
<Content Include="Web.config">
<SubType>Designer</SubType>
</Content>
<Content Include="Web.Debug.config">
<DependentUpon>Web.config</DependentUpon>
</Content>
<Content Include="Web.Release.config">
<DependentUpon>Web.config</DependentUpon>
</Content>
<Content Include="Views\_ViewStart.cshtml" />
<Content Include="Views\Shared\_Layout.cshtml" />
<Content Include="Views\Web.config" />
</ItemGroup>
<ItemGroup>
<Folder Include="App_Data\" />
<Folder Include="Models\" />
</ItemGroup>
<ItemGroup>
<ProjectReference Include="..\..\ImageProcessor.Web\NET4\ImageProcessor.Web_NET4.csproj">
<Project>{4f7050f2-465f-4e10-8db2-2fb97ac6aa43}</Project>
<Name>ImageProcessor.Web_NET4</Name>
</ProjectReference>
<ProjectReference Include="..\..\ImageProcessor\ImageProcessor.csproj">
<Project>{3B5DD734-FB7A-487D-8CE6-55E7AF9AEA7E}</Project>
<Name>ImageProcessor</Name>
</ProjectReference>
</ItemGroup>
<ItemGroup>
<Content Include="Views\Home\Index.cshtml" />
</ItemGroup>
<ItemGroup>
<Content Include="config\imageprocessor\cache.config" />
</ItemGroup>
<ItemGroup>
<Content Include="config\imageprocessor\processing.config" />
</ItemGroup>
<ItemGroup>
<Content Include="config\imageprocessor\security.config" />
</ItemGroup>
<ItemGroup>
<Content Include="Views\Home\Bmp.cshtml" />
</ItemGroup>
<ItemGroup>
<Content Include="Views\Home\External.cshtml" />
</ItemGroup>
<ItemGroup>
<Content Include="Views\Home\Gif.cshtml" />
</ItemGroup>
<ItemGroup>
<Content Include="Views\Home\Png.cshtml" />
</ItemGroup>
<ItemGroup>
<Content Include="Views\Home\Png8.cshtml" />
</ItemGroup>
<ItemGroup>
<Content Include="Views\Home\Tiff.cshtml" />
</ItemGroup>
<ItemGroup>
<Content Include="packages.config" />
</ItemGroup>
<PropertyGroup>
<VisualStudioVersion Condition="'$(VisualStudioVersion)' == ''">10.0</VisualStudioVersion>
<VSToolsPath Condition="'$(VSToolsPath)' == ''">$(MSBuildExtensionsPath32)\Microsoft\VisualStudio\v$(VisualStudioVersion)</VSToolsPath>
</PropertyGroup>
<PropertyGroup Condition="'$(Configuration)|$(Platform)' == 'Debug|x86'">
<DebugSymbols>true</DebugSymbols>
<OutputPath>bin\</OutputPath>
<DefineConstants>DEBUG;TRACE</DefineConstants>
<DebugType>full</DebugType>
<PlatformTarget>x86</PlatformTarget>
<ErrorReport>prompt</ErrorReport>
<CodeAnalysisRuleSet>MinimumRecommendedRules.ruleset</CodeAnalysisRuleSet>
</PropertyGroup>
<PropertyGroup Condition="'$(Configuration)|$(Platform)' == 'Release|x86'">
<OutputPath>bin\</OutputPath>
<DefineConstants>TRACE</DefineConstants>
<Optimize>true</Optimize>
<DebugType>pdbonly</DebugType>
<PlatformTarget>x86</PlatformTarget>
<ErrorReport>prompt</ErrorReport>
<CodeAnalysisRuleSet>MinimumRecommendedRules.ruleset</CodeAnalysisRuleSet>
</PropertyGroup>
<PropertyGroup Condition="'$(Configuration)|$(Platform)' == 'All|x86'">
<DebugSymbols>true</DebugSymbols>
<OutputPath>bin\</OutputPath>
<DefineConstants>DEBUG;TRACE</DefineConstants>
<DebugType>full</DebugType>
<PlatformTarget>x86</PlatformTarget>
<ErrorReport>prompt</ErrorReport>
<CodeAnalysisRuleSet>MinimumRecommendedRules.ruleset</CodeAnalysisRuleSet>
</PropertyGroup>
<Import Project="$(MSBuildBinPath)\Microsoft.CSharp.targets" />
<Import Project="$(VSToolsPath)\WebApplications\Microsoft.WebApplication.targets" Condition="'$(VSToolsPath)' != ''" />
<Import Project="$(MSBuildExtensionsPath32)\Microsoft\VisualStudio\v10.0\WebApplications\Microsoft.WebApplication.targets" Condition="false" />
<!-- To modify your build process, add your task inside one of the targets below and uncomment it.
Other similar extension points exist, see Microsoft.Common.targets.
<Target Name="BeforeBuild">
</Target>
<Target Name="AfterBuild">
</Target> -->
<Target Name="MvcBuildViews" AfterTargets="AfterBuild" Condition="'$(MvcBuildViews)'=='true'">
<AspNetCompiler VirtualPath="temp" PhysicalPath="$(WebProjectOutputDir)" />
</Target>
<ProjectExtensions>
<VisualStudio>
<FlavorProperties GUID="{349c5851-65df-11da-9384-00065b846f21}">
<WebProjectProperties>
<UseIIS>False</UseIIS>
<AutoAssignPort>True</AutoAssignPort>
<DevelopmentServerPort>21961</DevelopmentServerPort>
<DevelopmentServerVPath>/</DevelopmentServerVPath>
<IISUrl>
</IISUrl>
<NTLMAuthentication>False</NTLMAuthentication>
<UseCustomServer>False</UseCustomServer>
<CustomServerUrl>
</CustomServerUrl>
<SaveServerSettingsInUserFile>False</SaveServerSettingsInUserFile>
</WebProjectProperties>
</FlavorProperties>
</VisualStudio>
</ProjectExtensions>
<Import Project="$(SolutionDir)\.nuget\NuGet.targets" Condition="Exists('$(SolutionDir)\.nuget\NuGet.targets')" />
<Target Name="AfterBuild">
<Exec Command="xcopy &quot;$(SolutionDir)Images&quot; &quot;$(ProjectDir)Images&quot; /S /Y /I" />
</Target>
<Import Project="..\..\packages\Microsoft.Bcl.Build.1.0.14\tools\Microsoft.Bcl.Build.targets" Condition="Exists('..\..\packages\Microsoft.Bcl.Build.1.0.14\tools\Microsoft.Bcl.Build.targets')" />
<Target Name="EnsureBclBuildImported" BeforeTargets="BeforeBuild" Condition="'$(BclBuildImported)' == ''">
<Error Condition="!Exists('..\..\packages\Microsoft.Bcl.Build.1.0.14\tools\Microsoft.Bcl.Build.targets')" Text="This project references NuGet package(s) that are missing on this computer. Enable NuGet Package Restore to download them. For more information, see http://go.microsoft.com/fwlink/?LinkID=317567." HelpKeyword="BCLBUILD2001" />
<Error Condition="Exists('..\..\packages\Microsoft.Bcl.Build.1.0.14\tools\Microsoft.Bcl.Build.targets')" Text="The build restored NuGet packages. Build the project again to include these packages in the build. For more information, see http://go.microsoft.com/fwlink/?LinkID=317568." HelpKeyword="BCLBUILD2002" />
</Target>
</Project>

14
src/TestWebsites/NET4/Views/Home/External.cshtml

@ -1,14 +0,0 @@
@{
ViewBag.Title = "External";
}
<h1>External</h1>
<section>
<div class="row">
<div class="col-s-6">
<img src="/remote.axd?http://images.mymovies.net/images/film/cin/500x377/fid11707.jpg?width=400" />
</div>
<div class="col-s-6">
<img src="/remote.axd?http://maps.googleapis.com/maps/api/staticmap?center=Albany,+NY&zoom=13&scale=false&size=800x500&maptype=roadmap&sensor=false&format=png&visual_refresh=true?width=400" />
</div>
</div>
</section>

99
src/TestWebsites/NET4/Views/Home/Gif.cshtml

@ -1,99 +0,0 @@
@{
ViewBag.Title = "Gif";
}
<article>
<h1>Gif</h1>
<section>
<div class="row">
<div class="col-s-6">
<h2>Resized</h2>
<img src="/images/Penguins.gif?width=300" />
</div>
<div class="col-s-6">
<h2>Cropped </h2>
<img src="/images/Penguins.gif?crop=0-0-300-225" />
</div>
</div>
</section>
<section>
<h2>Filter</h2>
<div class="row">
<div class="col-s-6">
<h3>blackwhite</h3>
<img src="/images/Penguins.gif?width=300&filter=blackwhite" />
</div>
<div class="col-s-6">
<h3>comic</h3>
<img src="/images/Penguins.gif?width=300&filter=comic" />
</div>
</div>
<div class="row">
<div class="col-s-6">
<h3>lomograph</h3>
<img src="/images/Penguins.gif?width=300&filter=lomograph" />
</div>
<div class="col-s-6">
<h3>greyscale</h3>
<img src="/images/Penguins.gif?width=300&filter=greyscale" />
</div>
</div>
<div class="row">
<div class="col-s-6">
<h3>polaroid</h3>
<img src="/images/Penguins.gif?width=300&filter=polaroid" />
</div>
<div class="col-s-6">
<h3>sepia</h3>
<img src="/images/Penguins.gif?width=300&filter=sepia" />
</div>
</div>
<div class="row">
<div class="col-s-6">
<h3>gotham</h3>
<img src="/images/Penguins.gif?width=300&filter=gotham" />
</div>
<div class="col-s-6">
<h3>hisatch</h3>
<img src="/images/Penguins.gif?width=300&filter=hisatch" />
</div>
</div>
<div class="row">
<div class="col-s-6">
<h3>losatch</h3>
<img src="/images/Penguins.gif?width=300&filter=losatch" />
</div>
</div>
</section>
<section>
<div class="row">
<div class="col-s-6">
<h2>Watermark</h2>
<img src="/images/Penguins.gif?width=300&watermark=text-test|color-fff|size-48|style-italic|opacity-100|position-100-100|shadow-true|font-arial" />
</div>
<div class="col-s-6">
<h2>Format</h2>
<img src="/images/Penguins.gif?width=300&format=png" />
</div>
</div>
</section>
<section>
<div class="row">
<div class="col-s-6">
<h2>Rotate</h2>
<img src="/images/Penguins.gif?width=300&rotate=angle-54|bgcolor-fff" />
</div>
<div class="col-s-6">
<h2>Quality</h2>
<img src="/images/Penguins.gif?width=300&quality=5" />
</div>
</div>
</section>
<section>
<div class="row">
<div class="col-s-6">
<h2>Alpha</h2>
<img src="/images/Penguins.gif?width=300&alpha=50" />
</div>
</div>
</section>
</article>

191
src/TestWebsites/NET4/Views/Home/Index.cshtml

@ -1,191 +0,0 @@
@{
ViewBag.Title = "Home Page";
}
<article>
<h1>Jpg</h1>
<section>
<div class="row">
<div class="col-s-6">
<h2>Resized</h2>
<img src="/images/Penguins.jpg?width=300" />
<h3>Foreign language test.</h3>
<img src="/images/udendørs.jpg?width=300" />
<img src="/images/udendørs.jpg?preset=a&filter=comic" />
</div>
<div class="col-s-6">
<h2>Cropped </h2>
<img src="/images/Penguins.jpg?crop=0-0-300-225" />
</div>
</div>
</section>
<section>
<div class="row">
<h2>Reside Pad</h2>
<div class="col-s-4">
<img src="/images/Penguins.jpg?width=300&height=500" />
</div>
<div class="col-s-8">
<img src="/images/udendørs.jpg?width=600&height=250" />
</div>
</div>
</section>
<section>
<div class="row">
<h2>Resize Crop</h2>
<div class="col-s-4">
<img src="/images/Penguins.jpg?width=300&height=500&mode=crop" />
</div>
<div class="col-s-8">
<img src="/images/udendørs.jpg?width=600&height=250&mode=crop" />
</div>
</div>
</section>
<section>
<div class="row">
<h2>Resize Max</h2>
<div class="col-s-4">
<img src="/images/Penguins.jpg?width=300&height=500&mode=max" />
</div>
<div class="col-s-8">
<img src="/images/udendørs.jpg?width=600&height=250&mode=max" />
</div>
</div>
</section>
<section>
<div class="row">
<h2>Resize Stretch</h2>
<div class="col-s-4">
<img src="/images/Penguins.jpg?width=300&height=500&mode=stretch" />
</div>
<div class="col-s-8">
<img src="/images/udendørs.jpg?width=600&height=250&mode=stretch" />
</div>
</div>
</section>
<section>
<h2>Filter</h2>
<div class="row">
<div class="col-s-6">
<h3>blackwhite</h3>
<img src="/images/Penguins.jpg?width=300&filter=blackwhite" />
</div>
<div class="col-s-6">
<h3>comic</h3>
<img src="/images/Penguins.jpg?width=300&filter=comic" />
</div>
</div>
<div class="row">
<div class="col-s-6">
<h3>lomograph</h3>
<img src="/images/Penguins.jpg?width=300&filter=lomograph" />
</div>
<div class="col-s-6">
<h3>greyscale</h3>
<img src="/images/Penguins.jpg?width=300&filter=greyscale" />
</div>
</div>
<div class="row">
<div class="col-s-6">
<h3>polaroid</h3>
<img src="/images/Penguins.jpg?width=300&filter=polaroid" />
</div>
<div class="col-s-6">
<h3>sepia</h3>
<img src="/images/Penguins.jpg?width=300&filter=sepia" />
</div>
</div>
<div class="row">
<div class="col-s-6">
<h3>gotham</h3>
<img src="/images/Penguins.jpg?width=300&filter=gotham" />
</div>
<div class="col-s-6">
<h3>hisatch</h3>
<img src="/images/Penguins.jpg?width=300&filter=hisatch" />
</div>
</div>
<div class="row">
<div class="col-s-6">
<h3>losatch</h3>
<img src="/images/Penguins.jpg?width=300&filter=losatch" />
</div>
</div>
</section>
<section>
<div class="row">
<div class="col-s-6">
<h2>Watermark</h2>
<img src="/images/Penguins.jpg?width=300&watermark=text-This+is+a+long+body+of+copy+that+should+wrap|color-fff|size-24|style-italic|opacity-100|position-100-100|shadow-true|font-arial" />
</div>
<div class="col-s-6">
<h2>Format</h2>
<img src="/images/Penguins.jpg?width=300&format=gif" />
</div>
</div>
</section>
<section>
<div class="row">
<div class="col-s-6">
<h2>Rotate</h2>
<img src="/images/Penguins.jpg?width=300&rotate=angle-54|bgcolor-fff" />
</div>
<div class="col-s-6">
<h2>Quality</h2>
<img src="/images/Penguins.jpg?width=300&quality=5" />
</div>
</div>
</section>
<section>
<div class="row">
<div class="col-s-6">
<h2>Alpha</h2>
<img src="/images/Penguins.jpg?width=300&format=png&alpha=50" />
</div>
<div class="col-s-6">
<h2>Remote</h2>
</div>
</div>
</section>
<section>
<div class="row">
<div class="col-s-6">
<h2>Flip - horizontal</h2>
<img src="/images/Penguins.jpg?width=300&flip=horizontal" />
</div>
<div class="col-s-6">
<h2>Flip - vertical</h2>
<img src="/images/Penguins.jpg?width=300&flip=vertical" />
</div>
</div>
</section>
</article>
<article>
<h1>Color Profiles</h1>
@* <section>
<div class="row">
<div class="col-s-6">
<h2>CMYK original jpg</h2>
<img src="/images/cmyk.jpg?" width="400" />
</div>
<div class="col-s-6">
<h2>sRGB original jpg</h2>
<img src="/images/srgb.jpg?" width="400" />
</div>
</div>
</section>*@
<section>
<div class="row">
<div class="col-s-6">
<h2>CMYK resized jpg</h2>
<img src="/images/cmyk.jpg?width=400" />
</div>
<div class="col-s-6">
<h2>sRGB resized jpg</h2>
<img src="/images/srgb.jpg?width=400" />
</div>
</div>
</section>
</article>

99
src/TestWebsites/NET4/Views/Home/Png.cshtml

@ -1,99 +0,0 @@
@{
ViewBag.Title = "Png";
}
<article>
<h1>Png</h1>
<section>
<div class="row">
<div class="col-s-6">
<h2>Resized</h2>
<img src="/images/Penguins.png?width=300" />
</div>
<div class="col-s-6">
<h2>Cropped </h2>
<img src="/images/Penguins.png?crop=0-0-300-225" />
</div>
</div>
</section>
<section>
<h2>Filter</h2>
<div class="row">
<div class="col-s-6">
<h3>blackwhite</h3>
<img src="/images/Penguins.png?width=300&filter=blackwhite" />
</div>
<div class="col-s-6">
<h3>comic</h3>
<img src="/images/Penguins.png?width=300&filter=comic" />
</div>
</div>
<div class="row">
<div class="col-s-6">
<h3>lomograph</h3>
<img src="/images/Penguins.png?width=300&filter=lomograph" />
</div>
<div class="col-s-6">
<h3>greyscale</h3>
<img src="/images/Penguins.png?width=300&filter=greyscale" />
</div>
</div>
<div class="row">
<div class="col-s-6">
<h3>polaroid</h3>
<img src="/images/Penguins.png?width=300&filter=polaroid" />
</div>
<div class="col-s-6">
<h3>sepia</h3>
<img src="/images/Penguins.png?width=300&filter=sepia" />
</div>
</div>
<div class="row">
<div class="col-s-6">
<h3>gotham</h3>
<img src="/images/Penguins.png?width=300&filter=gotham" />
</div>
<div class="col-s-6">
<h3>hisatch</h3>
<img src="/images/Penguins.png?width=300&filter=hisatch" />
</div>
</div>
<div class="row">
<div class="col-s-6">
<h3>losatch</h3>
<img src="/images/Penguins.png?width=300&filter=losatch" />
</div>
</div>
</section>
<section>
<div class="row">
<div class="col-s-6">
<h2>Watermark</h2>
<img src="/images/Penguins.png?width=300&watermark=text-test|color-fff|size-48|style-italic|opacity-100|position-100-100|shadow-true|font-arial" />
</div>
<div class="col-s-6">
<h2>Format</h2>
<img src="/images/Penguins.png?width=300&format=bmp" />
</div>
</div>
</section>
<section>
<div class="row">
<div class="col-s-6">
<h2>Rotate</h2>
<img src="/images/Penguins.png?width=300&rotate=angle-54|bgcolor-fff" />
</div>
<div class="col-s-6">
<h2>Quality</h2>
<img src="/images/Penguins.png?width=300&quality=5" />
</div>
</div>
</section>
<section>
<div class="row">
<div class="col-s-6">
<h2>Alpha</h2>
<img src="/images/Penguins.png?width=300&alpha=50" />
</div>
</div>
</section>
</article>

40
src/TestWebsites/NET4/Views/Shared/_Layout.cshtml

@ -1,40 +0,0 @@
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8" />
<title>@ViewBag.Title</title>
<link href="@Url.Content("~/Content/responsive.min.css")" rel="stylesheet" type="text/css" />
<style type="text/css">
nav[role="navigation"] ul {
padding: 0;
}
nav[role="navigation"] li {
display: inline-block;
font-size: 2em;
margin-right: 1em;
}
</style>
</head>
<body>
<div class="container">
<header>
<h1>ImageProcessor NET4</h1>
</header>
<nav role="navigation">
<ul>
<li>@Html.ActionLink("Jpeg", "Index")</li>
<li>@Html.ActionLink("Gif", "Gif")</li>
<li>@Html.ActionLink("Png", "Png")</li>
<li>@Html.ActionLink("Png8", "Png8")</li>
<li>@Html.ActionLink("Bmp", "Bmp")</li>
<li>@Html.ActionLink("Tiff", "Tiff")</li>
<li>@Html.ActionLink("External", "External")</li>
</ul>
</nav>
<section>
@RenderBody()
</section>
</div>
</body>
</html>

58
src/TestWebsites/NET4/Views/Web.config

@ -1,58 +0,0 @@
<?xml version="1.0"?>
<configuration>
<configSections>
<sectionGroup name="system.web.webPages.razor" type="System.Web.WebPages.Razor.Configuration.RazorWebSectionGroup, System.Web.WebPages.Razor, Version=1.0.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35">
<section name="host" type="System.Web.WebPages.Razor.Configuration.HostSection, System.Web.WebPages.Razor, Version=1.0.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35" requirePermission="false" />
<section name="pages" type="System.Web.WebPages.Razor.Configuration.RazorPagesSection, System.Web.WebPages.Razor, Version=1.0.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35" requirePermission="false" />
</sectionGroup>
</configSections>
<system.web.webPages.razor>
<host factoryType="System.Web.Mvc.MvcWebRazorHostFactory, System.Web.Mvc, Version=3.0.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35" />
<pages pageBaseType="System.Web.Mvc.WebViewPage">
<namespaces>
<add namespace="System.Web.Mvc" />
<add namespace="System.Web.Mvc.Ajax" />
<add namespace="System.Web.Mvc.Html" />
<add namespace="System.Web.Routing" />
</namespaces>
</pages>
</system.web.webPages.razor>
<appSettings>
<add key="webpages:Enabled" value="false" />
</appSettings>
<system.web>
<httpHandlers>
<add path="*" verb="*" type="System.Web.HttpNotFoundHandler"/>
</httpHandlers>
<!--
Enabling request validation in view pages would cause validation to occur
after the input has already been processed by the controller. By default
MVC performs request validation before a controller processes the input.
To change this behavior apply the ValidateInputAttribute to a
controller or action.
-->
<pages
validateRequest="false"
pageParserFilterType="System.Web.Mvc.ViewTypeParserFilter, System.Web.Mvc, Version=3.0.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35"
pageBaseType="System.Web.Mvc.ViewPage, System.Web.Mvc, Version=3.0.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35"
userControlBaseType="System.Web.Mvc.ViewUserControl, System.Web.Mvc, Version=3.0.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35">
<controls>
<add assembly="System.Web.Mvc, Version=3.0.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35" namespace="System.Web.Mvc" tagPrefix="mvc" />
</controls>
</pages>
</system.web>
<system.webServer>
<validation validateIntegratedModeConfiguration="false" />
<handlers>
<remove name="BlockViewHandler"/>
<add name="BlockViewHandler" path="*" verb="*" preCondition="integratedMode" type="System.Web.HttpNotFoundHandler" />
</handlers>
</system.webServer>
</configuration>

30
src/TestWebsites/NET4/Web.Debug.config

@ -1,30 +0,0 @@
<?xml version="1.0"?>
<!-- For more information on using web.config transformation visit http://go.microsoft.com/fwlink/?LinkId=125889 -->
<configuration xmlns:xdt="http://schemas.microsoft.com/XML-Document-Transform">
<!--
In the example below, the "SetAttributes" transform will change the value of
"connectionString" to use "ReleaseSQLServer" only when the "Match" locator
finds an atrribute "name" that has a value of "MyDB".
<connectionStrings>
<add name="MyDB"
connectionString="Data Source=ReleaseSQLServer;Initial Catalog=MyReleaseDB;Integrated Security=True"
xdt:Transform="SetAttributes" xdt:Locator="Match(name)"/>
</connectionStrings>
-->
<system.web>
<!--
In the example below, the "Replace" transform will replace the entire
<customErrors> section of your web.config file.
Note that because there is only one customErrors section under the
<system.web> node, there is no need to use the "xdt:Locator" attribute.
<customErrors defaultRedirect="GenericError.htm"
mode="RemoteOnly" xdt:Transform="Replace">
<error statusCode="500" redirect="InternalError.htm"/>
</customErrors>
-->
</system.web>
</configuration>

Some files were not shown because too many files changed in this diff

Loading…
Cancel
Save