Browse Source

Solution restructure

Separate package.config files


Former-commit-id: 585b69cfb55ce24762cc6f8e306b2c04bc6182bb
af/merge-core
James South 13 years ago
parent
commit
79d076f5ae
  1. 2
      .gitignore
  2. 4
      src/ImageProcessor.Tests/ImageProcessor.Tests.csproj
  3. 51
      src/ImageProcessor.Web/NET4/ImageProcessor.Web.csproj
  4. 0
      src/ImageProcessor.Web/NET4/app.config
  5. 2
      src/ImageProcessor.Web/NET4/packages.config
  6. 48
      src/ImageProcessor.Web/NET45/ImageProcessor.Web_NET45.csproj
  7. 5
      src/ImageProcessor.Web/NET45/packages.config
  8. 0
      src/ImageProcessor.Web/ProjectFiles/Caching/CachedImage.cs
  9. 0
      src/ImageProcessor.Web/ProjectFiles/Caching/DiskCache.cs
  10. 0
      src/ImageProcessor.Web/ProjectFiles/Caching/PersistantDictionary.cs
  11. 0
      src/ImageProcessor.Web/ProjectFiles/Caching/SQLContext.cs
  12. 0
      src/ImageProcessor.Web/ProjectFiles/Config/ImageCacheSection.cs
  13. 0
      src/ImageProcessor.Web/ProjectFiles/Config/ImageProcessingSection.cs
  14. 0
      src/ImageProcessor.Web/ProjectFiles/Config/ImageProcessorConfig.cs
  15. 0
      src/ImageProcessor.Web/ProjectFiles/Config/ImageSecuritySection.cs
  16. 0
      src/ImageProcessor.Web/ProjectFiles/Helpers/LockedDictionary.cs
  17. 0
      src/ImageProcessor.Web/ProjectFiles/Helpers/RemoteFile.cs
  18. 0
      src/ImageProcessor.Web/ProjectFiles/Helpers/TaskHelpers.cs
  19. 0
      src/ImageProcessor.Web/ProjectFiles/HttpModules/ImageProcessingModule.cs
  20. 0
      src/ImageProcessor.Web/ProjectFiles/ImageFactoryExtensions.cs
  21. 0
      src/ImageProcessor.Web/ProjectFiles/Properties/AssemblyInfo.cs
  22. 0
      src/ImageProcessor.Web/ProjectFiles/SQLite.cs.REMOVED.git-id
  23. 0
      src/ImageProcessor.Web/ProjectFiles/SQLiteAsync.cs
  24. 95
      src/ImageProcessor.sln
  25. 37
      src/Packages.dgml
  26. 212
      src/TestWebsites/NET4/Content/flexo.css
  27. 3
      src/TestWebsites/NET4/Content/responsive-legacy.min.css
  28. 3
      src/TestWebsites/NET4/Content/responsive.min.css
  29. 64
      src/TestWebsites/NET4/Content/style.css
  30. 147
      src/TestWebsites/NET4/Controllers/HomeController.cs
  31. 3
      src/TestWebsites/NET4/Resized/240px_228406_276791782435436_815038966_n.jpg
  32. 3
      src/TestWebsites/NET4/Resized/240px_MSwanson - Wide Large - Rock 02.jpg
  33. 3
      src/TestWebsites/NET4/Resized/240px_Neck2-1.jpg
  34. 3
      src/TestWebsites/NET4/Resized/320px_228406_276791782435436_815038966_n.jpg
  35. 3
      src/TestWebsites/NET4/Resized/320px_MSwanson - Wide Large - Rock 02.jpg
  36. 3
      src/TestWebsites/NET4/Resized/320px_Neck2-1.jpg
  37. 3
      src/TestWebsites/NET4/Resized/460px_228406_276791782435436_815038966_n.jpg
  38. 3
      src/TestWebsites/NET4/Resized/460px_MSwanson - Wide Large - Rock 02.jpg
  39. 3
      src/TestWebsites/NET4/Resized/460px_Neck2-1.jpg
  40. 17
      src/TestWebsites/NET4/Test_Website.csproj
  41. 14
      src/TestWebsites/NET4/Views/Home/About.cshtml
  42. 20
      src/TestWebsites/NET4/Views/Home/Collisions.cshtml
  43. 457
      src/TestWebsites/NET4/Views/Home/Index.cshtml
  44. 18
      src/TestWebsites/NET4/Views/Home/Responsive.cshtml
  45. 5
      src/TestWebsites/NET4/Views/Home/Upload.cshtml
  46. 9
      src/TestWebsites/NET4/Views/Shared/Error.cshtml
  47. 25
      src/TestWebsites/NET4/Views/Shared/_Layout.cshtml
  48. 4
      src/TestWebsites/NET4/Web.config
  49. 3
      src/TestWebsites/NET4/cache/0/0/0af9c9c3ac0bd099667ef1890991ecf0.jpg
  50. 3
      src/TestWebsites/NET4/cache/0/2/0b5ec0dd58da4a94241a4a0c84fbcf92.jpg
  51. 1
      src/TestWebsites/NET4/cache/0/3/0ed1b21b56f58f1cc566014f5f5cf5e3.bmp.REMOVED.git-id
  52. 1
      src/TestWebsites/NET4/cache/0/4/0b64a147662ae5f841029e61c5e88984.png.REMOVED.git-id
  53. 1
      src/TestWebsites/NET4/cache/0/7/09f4cdcadedc15e2bb3fb3647d6e4a87.bmp.REMOVED.git-id
  54. 1
      src/TestWebsites/NET4/cache/0/c/016bbd2c44ab6af915e4dc26a715d5ec.bmp.REMOVED.git-id
  55. 1
      src/TestWebsites/NET4/cache/0/e/0b24c3d312abd3bfcc04452e8eaca81e.bmp.REMOVED.git-id
  56. 1
      src/TestWebsites/NET4/cache/0/f/07d78f73ba8fe89fe3197254c394da4f.bmp.REMOVED.git-id
  57. 1
      src/TestWebsites/NET4/cache/1/3/1de0e9e101bdd9bc8122039f22bcc073.bmp.REMOVED.git-id
  58. 3
      src/TestWebsites/NET4/cache/2/8/28d7c32164bdb0423a972759b7cf68a8.png
  59. 3
      src/TestWebsites/NET4/cache/2/d/218fc888534353242520d7c4975e43fd.gif
  60. 3
      src/TestWebsites/NET4/cache/3/4/3470eab4ef380d70769da7c043814fe4.jpg
  61. 3
      src/TestWebsites/NET4/cache/3/5/3bc1aeca44cbb62786c612395a5de385.jpg
  62. 3
      src/TestWebsites/NET4/cache/3/8/33ce32a9f0e37793a0e994fc22cae9d8.gif
  63. 1
      src/TestWebsites/NET4/cache/3/9/3b901eb58e88f80197a0cd5716f876f9.bmp.REMOVED.git-id
  64. 3
      src/TestWebsites/NET4/cache/3/c/3bf06c076f92a56826ff06dc3b48f41c.gif
  65. 3
      src/TestWebsites/NET4/cache/4/1/432c0b567c7763cd96684a4069bc3d91.gif
  66. 1
      src/TestWebsites/NET4/cache/4/4/44f7fdae94c317963c821dd5c969d624.bmp.REMOVED.git-id
  67. 3
      src/TestWebsites/NET4/cache/4/a/41927219029bc442bf2b37dd3423c0da.jpg
  68. 3
      src/TestWebsites/NET4/cache/4/a/44013240ceb4833173fc6f00952f647a.gif
  69. 1
      src/TestWebsites/NET4/cache/5/2/5489562d92f5b5323aa3d1707abcf952.bmp.REMOVED.git-id
  70. 1
      src/TestWebsites/NET4/cache/5/2/554da7a7a2d1076bcce748c5ec0fc0a2.png.REMOVED.git-id
  71. 1
      src/TestWebsites/NET4/cache/5/e/51e17f5818f8c822dfabc9198a3216ee.bmp.REMOVED.git-id
  72. 1
      src/TestWebsites/NET4/cache/5/f/5cda624f35edfa92546beb9ab3071d4f.png.REMOVED.git-id
  73. 3
      src/TestWebsites/NET4/cache/6/0/6d4b9c0a03c06052b0f3453bcb577ff0.jpg
  74. 3
      src/TestWebsites/NET4/cache/6/4/6bec1e673b29cbaf8a16dceef5471bd4.jpg
  75. 3
      src/TestWebsites/NET4/cache/6/5/61492b5357d79bd49523543c3353cd45.gif
  76. 3
      src/TestWebsites/NET4/cache/6/5/6d4a1922b307a23b93894a57c13af3c5.jpg
  77. 3
      src/TestWebsites/NET4/cache/6/7/680b05c45f261e325a1c36c6c155fb17.jpg
  78. 1
      src/TestWebsites/NET4/cache/6/9/6595555394314c844af4f8eb778a53f9.png.REMOVED.git-id
  79. 1
      src/TestWebsites/NET4/cache/6/a/60bc3881aa326b2d130ed6b1a069526a.png.REMOVED.git-id
  80. 3
      src/TestWebsites/NET4/cache/6/a/671ec943e8501bc090a8207058bb10ba.gif
  81. 1
      src/TestWebsites/NET4/cache/6/a/6a335df182dfb45716f1f4cf9043725a.png.REMOVED.git-id
  82. 3
      src/TestWebsites/NET4/cache/6/c/6a8c2be670d2b653ef6ef6ccab724c7c.gif
  83. 1
      src/TestWebsites/NET4/cache/6/c/6be53cafb3b8cadd048ed55ebcb9f50c.png.REMOVED.git-id
  84. 3
      src/TestWebsites/NET4/cache/6/f/668bd850663b2b3fcfde8926b0d38fbf.png
  85. 1
      src/TestWebsites/NET4/cache/7/2/766873ca1d339e7a8f318fdea4517e52.png.REMOVED.git-id
  86. 3
      src/TestWebsites/NET4/cache/7/5/75a8fffbe3c260e06c5e3dcf9e48fdf5.gif
  87. 1
      src/TestWebsites/NET4/cache/7/f/7dd5e20ac02737ffe98d89cc06e9fd1f.bmp.REMOVED.git-id
  88. 3
      src/TestWebsites/NET4/cache/8/4/86919eb9041014c06d97cc26ec3ee5b4.jpg
  89. 3
      src/TestWebsites/NET4/cache/8/8/833e8b04691a79df76565ceb38dfcf08.gif
  90. 3
      src/TestWebsites/NET4/cache/8/a/80df393885831cfc36ddf2b4afa3542a.gif
  91. 3
      src/TestWebsites/NET4/cache/9/0/9affebad599f1f5b9accc90e0a10ab00.gif
  92. 3
      src/TestWebsites/NET4/cache/9/6/9ca675a34d9f25e2ac5c2e727c4c32f6.png
  93. 3
      src/TestWebsites/NET4/cache/9/9/9bf7b33a5f885b8adc543ed608297079.jpg
  94. 3
      src/TestWebsites/NET4/cache/a/b/a2d825899d3f53fb9e5c5814934c8bdb.jpg
  95. 1
      src/TestWebsites/NET4/cache/a/f/a746b3795838695c3cc09ea22a505d8f.bmp.REMOVED.git-id
  96. 1
      src/TestWebsites/NET4/cache/b/c/bbaeebbc5c4d9c7c65d8cd64a5d9fc2c.png.REMOVED.git-id
  97. 1
      src/TestWebsites/NET4/cache/b/c/bc23e76e5775c4d447a62f4819ddbd4c.png.REMOVED.git-id
  98. 3
      src/TestWebsites/NET4/cache/b/d/b39c3da974780c398e2459a46c396a5d.gif
  99. 1
      src/TestWebsites/NET4/cache/c/1/c8a03fae528786138290f03325d976e1.bmp.REMOVED.git-id
  100. 1
      src/TestWebsites/NET4/cache/c/2/cfb32a7ac768e27983bf87ef95f18532.png.REMOVED.git-id

2
.gitignore

@ -165,4 +165,4 @@ pip-log.txt
# cached images
/src/Test/Test/cache/*
**/cache/*

4
src/ImageProcessor.Tests/ImageProcessor.Tests.csproj

@ -74,10 +74,6 @@
<Compile Include="Properties\AssemblyInfo.cs" />
</ItemGroup>
<ItemGroup>
<ProjectReference Include="..\ImageProcessor.Web\ImageProcessor.Web.csproj">
<Project>{4f7050f2-465f-4e10-8db2-2fb97ac6aa43}</Project>
<Name>ImageProcessor.Web</Name>
</ProjectReference>
<ProjectReference Include="..\ImageProcessor\ImageProcessor.csproj">
<Project>{3b5dd734-fb7a-487d-8ce6-55e7af9aea7e}</Project>
<Name>ImageProcessor</Name>

51
src/ImageProcessor.Web/ImageProcessor.Web.csproj → src/ImageProcessor.Web/NET4/ImageProcessor.Web.csproj

@ -40,22 +40,22 @@
</PropertyGroup>
<ItemGroup>
<Reference Include="Community.CsharpSqlite">
<HintPath>..\packages\Csharp-Sqlite.3.7.7.1\lib\net40\Community.CsharpSqlite.dll</HintPath>
<HintPath>..\..\packages\Csharp-Sqlite.3.7.7.1\lib\net40\Community.CsharpSqlite.dll</HintPath>
</Reference>
<Reference Include="Community.CsharpSqlite.SQLiteClient">
<HintPath>..\packages\Csharp-Sqlite.3.7.7.1\lib\net40\Community.CsharpSqlite.SQLiteClient.dll</HintPath>
<HintPath>..\..\packages\Csharp-Sqlite.3.7.7.1\lib\net40\Community.CsharpSqlite.SQLiteClient.dll</HintPath>
</Reference>
<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.16\lib\net40\Microsoft.Threading.Tasks.dll</HintPath>
<HintPath>..\..\packages\Microsoft.Bcl.Async.1.0.16\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.16\lib\net40\Microsoft.Threading.Tasks.Extensions.dll</HintPath>
<HintPath>..\..\packages\Microsoft.Bcl.Async.1.0.16\lib\net40\Microsoft.Threading.Tasks.Extensions.dll</HintPath>
</Reference>
<Reference Include="Microsoft.Threading.Tasks.Extensions.Desktop, Version=1.0.16.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a, processorArchitecture=MSIL">
<SpecificVersion>False</SpecificVersion>
<HintPath>..\packages\Microsoft.Bcl.Async.1.0.16\lib\net40\Microsoft.Threading.Tasks.Extensions.Desktop.dll</HintPath>
<HintPath>..\..\packages\Microsoft.Bcl.Async.1.0.16\lib\net40\Microsoft.Threading.Tasks.Extensions.Desktop.dll</HintPath>
</Reference>
<Reference Include="System" />
<Reference Include="System.Configuration" />
@ -63,34 +63,34 @@
<Reference Include="System.Drawing" />
<Reference Include="System.Net" />
<Reference Include="System.Runtime">
<HintPath>..\packages\Microsoft.Bcl.1.0.19\lib\net40\System.Runtime.dll</HintPath>
<HintPath>..\..\packages\Microsoft.Bcl.1.0.19\lib\net40\System.Runtime.dll</HintPath>
</Reference>
<Reference Include="System.Threading.Tasks">
<HintPath>..\packages\Microsoft.Bcl.1.0.19\lib\net40\System.Threading.Tasks.dll</HintPath>
<HintPath>..\..\packages\Microsoft.Bcl.1.0.19\lib\net40\System.Threading.Tasks.dll</HintPath>
</Reference>
<Reference Include="System.Web" />
<Reference Include="System.Data" />
</ItemGroup>
<ItemGroup>
<Compile Include="Caching\CachedImage.cs" />
<Compile Include="Caching\DiskCache.cs" />
<Compile Include="Helpers\TaskHelpers.cs" />
<Compile Include="Helpers\LockedDictionary.cs" />
<Compile Include="Caching\PersistantDictionary.cs" />
<Compile Include="Caching\SQLContext.cs" />
<Compile Include="Config\ImageCacheSection.cs" />
<Compile Include="Config\ImageProcessingSection.cs" />
<Compile Include="Config\ImageProcessorConfig.cs" />
<Compile Include="Config\ImageSecuritySection.cs" />
<Compile Include="Helpers\RemoteFile.cs" />
<Compile Include="HttpModules\ImageProcessingModule.cs" />
<Compile Include="ImageFactoryExtensions.cs" />
<Compile Include="Properties\AssemblyInfo.cs" />
<Compile Include="SQLite.cs" />
<Compile Include="SQLiteAsync.cs" />
<Compile Include="..\ProjectFiles\Caching\CachedImage.cs" />
<Compile Include="..\ProjectFiles\Caching\DiskCache.cs" />
<Compile Include="..\ProjectFiles\Caching\PersistantDictionary.cs" />
<Compile Include="..\ProjectFiles\Caching\SQLContext.cs" />
<Compile Include="..\ProjectFiles\Config\ImageCacheSection.cs" />
<Compile Include="..\ProjectFiles\Config\ImageProcessingSection.cs" />
<Compile Include="..\ProjectFiles\Config\ImageProcessorConfig.cs" />
<Compile Include="..\ProjectFiles\Config\ImageSecuritySection.cs" />
<Compile Include="..\ProjectFiles\Helpers\LockedDictionary.cs" />
<Compile Include="..\ProjectFiles\Helpers\RemoteFile.cs" />
<Compile Include="..\ProjectFiles\Helpers\TaskHelpers.cs" />
<Compile Include="..\ProjectFiles\HttpModules\ImageProcessingModule.cs" />
<Compile Include="..\ProjectFiles\ImageFactoryExtensions.cs" />
<Compile Include="..\ProjectFiles\Properties\AssemblyInfo.cs" />
<Compile Include="..\ProjectFiles\SQLite.cs" />
<Compile Include="..\ProjectFiles\SQLiteAsync.cs" />
</ItemGroup>
<ItemGroup>
<ProjectReference Include="..\ImageProcessor\ImageProcessor.csproj">
<ProjectReference Include="..\..\ImageProcessor\ImageProcessor.csproj">
<Project>{3B5DD734-FB7A-487D-8CE6-55E7AF9AEA7E}</Project>
<Name>ImageProcessor</Name>
</ProjectReference>
@ -99,14 +99,13 @@
<None Include="app.config">
<SubType>Designer</SubType>
</None>
<None Include="packages.config" />
</ItemGroup>
<Import Project="$(MSBuildToolsPath)\Microsoft.CSharp.targets" />
<PropertyGroup>
<PostBuildEvent>xcopy /y "$(TargetPath)" "$(SolutionDir)\TestWebsites\NET4\bin"
xcopy /y "$(TargetDir)$(TargetName).pdb" "$(SolutionDir)\TestWebsites\NET4\bin"</PostBuildEvent>
</PropertyGroup>
<Import Project="..\packages\Microsoft.Bcl.Build.1.0.6\tools\Microsoft.Bcl.Build.targets" />
<Import Project="..\..\packages\Microsoft.Bcl.Build.1.0.6\tools\Microsoft.Bcl.Build.targets" />
<!-- 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">

0
src/ImageProcessor.Web/app.config → src/ImageProcessor.Web/NET4/app.config

2
src/ImageProcessor.Web/packages.config → src/ImageProcessor.Web/NET4/packages.config

@ -1,5 +1,5 @@
<?xml version="1.0" encoding="utf-8"?>
<packages>
<packages >
<package id="Csharp-Sqlite" version="3.7.7.1" targetFramework="net40" />
<package id="Microsoft.Bcl" version="1.0.19" targetFramework="net40" />
<package id="Microsoft.Bcl.Async" version="1.0.16" targetFramework="net40" />

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

@ -16,7 +16,7 @@
<DebugSymbols>true</DebugSymbols>
<DebugType>full</DebugType>
<Optimize>false</Optimize>
<OutputPath>bin\Debug\NET45\</OutputPath>
<OutputPath>bin\Debug</OutputPath>
<DefineConstants>TRACE;DEBUG;USE_CSHARP_SQLITE, NET45</DefineConstants>
<ErrorReport>prompt</ErrorReport>
<WarningLevel>4</WarningLevel>
@ -24,19 +24,17 @@
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' ">
<DebugType>pdbonly</DebugType>
<Optimize>true</Optimize>
<OutputPath>bin\Release\NET45\</OutputPath>
<OutputPath>bin\Release</OutputPath>
<DefineConstants>TRACE;USE_CSHARP_SQLITE, NET45</DefineConstants>
<ErrorReport>prompt</ErrorReport>
<WarningLevel>4</WarningLevel>
</PropertyGroup>
<ItemGroup>
<Reference Include="Community.CsharpSqlite, Version=3.7.7.1, Culture=neutral, PublicKeyToken=fef4dbb895105d0c, processorArchitecture=MSIL">
<SpecificVersion>False</SpecificVersion>
<HintPath>bin\Release\Community.CsharpSqlite.dll</HintPath>
<Reference Include="Community.CsharpSqlite">
<HintPath>..\..\packages\Csharp-Sqlite.3.7.7.1\lib\net40\Community.CsharpSqlite.dll</HintPath>
</Reference>
<Reference Include="Community.CsharpSqlite.SQLiteClient, Version=3.7.7.1, Culture=neutral, PublicKeyToken=fef4dbb895105d0c, processorArchitecture=MSIL">
<SpecificVersion>False</SpecificVersion>
<HintPath>bin\Release\Community.CsharpSqlite.SQLiteClient.dll</HintPath>
<Reference Include="Community.CsharpSqlite.SQLiteClient">
<HintPath>..\..\packages\Csharp-Sqlite.3.7.7.1\lib\net40\Community.CsharpSqlite.SQLiteClient.dll</HintPath>
</Reference>
<Reference Include="System" />
<Reference Include="System.Configuration" />
@ -50,25 +48,25 @@
<Reference Include="System.Xml" />
</ItemGroup>
<ItemGroup>
<Compile Include="Caching\CachedImage.cs" />
<Compile Include="Caching\DiskCache.cs" />
<Compile Include="Caching\PersistantDictionary.cs" />
<Compile Include="Caching\SQLContext.cs" />
<Compile Include="Config\ImageCacheSection.cs" />
<Compile Include="Config\ImageProcessingSection.cs" />
<Compile Include="Config\ImageProcessorConfig.cs" />
<Compile Include="Config\ImageSecuritySection.cs" />
<Compile Include="Helpers\LockedDictionary.cs" />
<Compile Include="Helpers\RemoteFile.cs" />
<Compile Include="Helpers\TaskHelpers.cs" />
<Compile Include="HttpModules\ImageProcessingModule.cs" />
<Compile Include="ImageFactoryExtensions.cs" />
<Compile Include="Properties\AssemblyInfo.cs" />
<Compile Include="SQLite.cs" />
<Compile Include="SQLiteAsync.cs" />
<Compile Include="..\ProjectFiles\Caching\CachedImage.cs" />
<Compile Include="..\ProjectFiles\Caching\DiskCache.cs" />
<Compile Include="..\ProjectFiles\Caching\PersistantDictionary.cs" />
<Compile Include="..\ProjectFiles\Caching\SQLContext.cs" />
<Compile Include="..\ProjectFiles\Config\ImageCacheSection.cs" />
<Compile Include="..\ProjectFiles\Config\ImageProcessingSection.cs" />
<Compile Include="..\ProjectFiles\Config\ImageProcessorConfig.cs" />
<Compile Include="..\ProjectFiles\Config\ImageSecuritySection.cs" />
<Compile Include="..\ProjectFiles\Helpers\LockedDictionary.cs" />
<Compile Include="..\ProjectFiles\Helpers\RemoteFile.cs" />
<Compile Include="..\ProjectFiles\Helpers\TaskHelpers.cs" />
<Compile Include="..\ProjectFiles\HttpModules\ImageProcessingModule.cs" />
<Compile Include="..\ProjectFiles\ImageFactoryExtensions.cs" />
<Compile Include="..\ProjectFiles\Properties\AssemblyInfo.cs" />
<Compile Include="..\ProjectFiles\SQLite.cs" />
<Compile Include="..\ProjectFiles\SQLiteAsync.cs" />
</ItemGroup>
<ItemGroup>
<ProjectReference Include="..\ImageProcessor\ImageProcessor.csproj">
<ProjectReference Include="..\..\ImageProcessor\ImageProcessor.csproj">
<Project>{3b5dd734-fb7a-487d-8ce6-55e7af9aea7e}</Project>
<Name>ImageProcessor</Name>
</ProjectReference>

5
src/ImageProcessor.Web/NET45/packages.config

@ -0,0 +1,5 @@
<?xml version="1.0" encoding="utf-8"?>
<packages >
<package id="Csharp-Sqlite" version="3.7.7.1" targetFramework="net40" />
<package id="sqlite-net" version="1.0.7" targetFramework="net40" />
</packages>

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

0
src/ImageProcessor.Web/Caching/DiskCache.cs → src/ImageProcessor.Web/ProjectFiles/Caching/DiskCache.cs

0
src/ImageProcessor.Web/Caching/PersistantDictionary.cs → src/ImageProcessor.Web/ProjectFiles/Caching/PersistantDictionary.cs

0
src/ImageProcessor.Web/Caching/SQLContext.cs → src/ImageProcessor.Web/ProjectFiles/Caching/SQLContext.cs

0
src/ImageProcessor.Web/Config/ImageCacheSection.cs → src/ImageProcessor.Web/ProjectFiles/Config/ImageCacheSection.cs

0
src/ImageProcessor.Web/Config/ImageProcessingSection.cs → src/ImageProcessor.Web/ProjectFiles/Config/ImageProcessingSection.cs

0
src/ImageProcessor.Web/Config/ImageProcessorConfig.cs → src/ImageProcessor.Web/ProjectFiles/Config/ImageProcessorConfig.cs

0
src/ImageProcessor.Web/Config/ImageSecuritySection.cs → src/ImageProcessor.Web/ProjectFiles/Config/ImageSecuritySection.cs

0
src/ImageProcessor.Web/Helpers/LockedDictionary.cs → src/ImageProcessor.Web/ProjectFiles/Helpers/LockedDictionary.cs

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

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

0
src/ImageProcessor.Web/HttpModules/ImageProcessingModule.cs → src/ImageProcessor.Web/ProjectFiles/HttpModules/ImageProcessingModule.cs

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

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

0
src/ImageProcessor.Web/SQLite.cs.REMOVED.git-id → src/ImageProcessor.Web/ProjectFiles/SQLite.cs.REMOVED.git-id

0
src/ImageProcessor.Web/SQLiteAsync.cs → src/ImageProcessor.Web/ProjectFiles/SQLiteAsync.cs

95
src/ImageProcessor.sln

@ -3,8 +3,6 @@ Microsoft Visual Studio Solution File, Format Version 12.00
# Visual Studio 2012
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "ImageProcessor", "ImageProcessor\ImageProcessor.csproj", "{3B5DD734-FB7A-487D-8CE6-55E7AF9AEA7E}"
EndProject
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "ImageProcessor.Web", "ImageProcessor.Web\ImageProcessor.Web.csproj", "{4F7050F2-465F-4E10-8DB2-2FB97AC6AA43}"
EndProject
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "ImageProcessor.Tests", "ImageProcessor.Tests\ImageProcessor.Tests.csproj", "{39911A38-CA06-413C-80AA-39EF60CE984F}"
EndProject
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Web.Tests", "Web.Test\Web.Tests.csproj", "{23CE0FC0-9E59-4C93-A604-A4A98A6284D1}"
@ -15,11 +13,13 @@ Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "Solution Items", "Solution
Local.testsettings = Local.testsettings
EndProjectSection
EndProject
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "ImageProcessor.Web_NET45", "ImageProcessor.Web\ImageProcessor.Web_NET45.csproj", "{D011A778-59C8-4BFA-A770-C350216BF161}"
EndProject
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Test_Website", "TestWebsites\NET4\Test_Website.csproj", "{30327C08-7574-4D7E-AC95-6A58753C6855}"
EndProject
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Test_Website_NET45", "TestWebsites\NET45\Test_Website_NET45.csproj", "{F6A208E9-C18F-43E9-B051-3C6EED30FDAF}"
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Test_Website_NET45", "TestWebsites\NET45\Test_Website_NET45\Test_Website_NET45.csproj", "{F6A208E9-C18F-43E9-B051-3C6EED30FDAF}"
EndProject
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "ImageProcessor.Web", "ImageProcessor.Web\NET4\ImageProcessor.Web.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}"
EndProject
Global
GlobalSection(TestCaseManagementSettings) = postSolution
@ -52,21 +52,6 @@ Global
{3B5DD734-FB7A-487D-8CE6-55E7AF9AEA7E}.Release|Mixed Platforms.ActiveCfg = Release|Any CPU
{3B5DD734-FB7A-487D-8CE6-55E7AF9AEA7E}.Release|Mixed Platforms.Build.0 = Release|Any CPU
{3B5DD734-FB7A-487D-8CE6-55E7AF9AEA7E}.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
{39911A38-CA06-413C-80AA-39EF60CE984F}.All|Any CPU.ActiveCfg = Release|Any CPU
{39911A38-CA06-413C-80AA-39EF60CE984F}.All|Any CPU.Build.0 = Release|Any CPU
{39911A38-CA06-413C-80AA-39EF60CE984F}.All|Mixed Platforms.ActiveCfg = Release|x86
@ -100,21 +85,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
{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
{D011A778-59C8-4BFA-A770-C350216BF161}.All|Mixed Platforms.Build.0 = Release|Any CPU
{D011A778-59C8-4BFA-A770-C350216BF161}.All|x86.ActiveCfg = Release|Any CPU
{D011A778-59C8-4BFA-A770-C350216BF161}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
{D011A778-59C8-4BFA-A770-C350216BF161}.Debug|Any CPU.Build.0 = Debug|Any CPU
{D011A778-59C8-4BFA-A770-C350216BF161}.Debug|Mixed Platforms.ActiveCfg = Debug|Any CPU
{D011A778-59C8-4BFA-A770-C350216BF161}.Debug|Mixed Platforms.Build.0 = Debug|Any CPU
{D011A778-59C8-4BFA-A770-C350216BF161}.Debug|x86.ActiveCfg = Debug|Any CPU
{D011A778-59C8-4BFA-A770-C350216BF161}.Release|Any CPU.ActiveCfg = Release|Any CPU
{D011A778-59C8-4BFA-A770-C350216BF161}.Release|Any CPU.Build.0 = Release|Any CPU
{D011A778-59C8-4BFA-A770-C350216BF161}.Release|Mixed Platforms.ActiveCfg = Release|Any CPU
{D011A778-59C8-4BFA-A770-C350216BF161}.Release|Mixed Platforms.Build.0 = Release|Any CPU
{D011A778-59C8-4BFA-A770-C350216BF161}.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
@ -133,24 +103,51 @@ Global
{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 = All|Any CPU
{F6A208E9-C18F-43E9-B051-3C6EED30FDAF}.All|Any CPU.Build.0 = All|Any CPU
{F6A208E9-C18F-43E9-B051-3C6EED30FDAF}.All|Mixed Platforms.ActiveCfg = All|x86
{F6A208E9-C18F-43E9-B051-3C6EED30FDAF}.All|Mixed Platforms.Build.0 = All|x86
{F6A208E9-C18F-43E9-B051-3C6EED30FDAF}.All|x86.ActiveCfg = All|x86
{F6A208E9-C18F-43E9-B051-3C6EED30FDAF}.All|x86.Build.0 = All|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
{F6A208E9-C18F-43E9-B051-3C6EED30FDAF}.All|Mixed Platforms.Build.0 = Release|Any CPU
{F6A208E9-C18F-43E9-B051-3C6EED30FDAF}.All|x86.ActiveCfg = Release|Any CPU
{F6A208E9-C18F-43E9-B051-3C6EED30FDAF}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
{F6A208E9-C18F-43E9-B051-3C6EED30FDAF}.Debug|Any CPU.Build.0 = Debug|Any CPU
{F6A208E9-C18F-43E9-B051-3C6EED30FDAF}.Debug|Mixed Platforms.ActiveCfg = Debug|x86
{F6A208E9-C18F-43E9-B051-3C6EED30FDAF}.Debug|Mixed Platforms.Build.0 = Debug|x86
{F6A208E9-C18F-43E9-B051-3C6EED30FDAF}.Debug|x86.ActiveCfg = Debug|x86
{F6A208E9-C18F-43E9-B051-3C6EED30FDAF}.Debug|x86.Build.0 = Debug|x86
{F6A208E9-C18F-43E9-B051-3C6EED30FDAF}.Debug|Mixed Platforms.ActiveCfg = Debug|Any CPU
{F6A208E9-C18F-43E9-B051-3C6EED30FDAF}.Debug|Mixed Platforms.Build.0 = Debug|Any CPU
{F6A208E9-C18F-43E9-B051-3C6EED30FDAF}.Debug|x86.ActiveCfg = Debug|Any CPU
{F6A208E9-C18F-43E9-B051-3C6EED30FDAF}.Release|Any CPU.ActiveCfg = Release|Any CPU
{F6A208E9-C18F-43E9-B051-3C6EED30FDAF}.Release|Any CPU.Build.0 = Release|Any CPU
{F6A208E9-C18F-43E9-B051-3C6EED30FDAF}.Release|Mixed Platforms.ActiveCfg = Release|x86
{F6A208E9-C18F-43E9-B051-3C6EED30FDAF}.Release|Mixed Platforms.Build.0 = Release|x86
{F6A208E9-C18F-43E9-B051-3C6EED30FDAF}.Release|x86.ActiveCfg = Release|x86
{F6A208E9-C18F-43E9-B051-3C6EED30FDAF}.Release|x86.Build.0 = Release|x86
{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
{D011A778-59C8-4BFA-A770-C350216BF161}.All|Mixed Platforms.Build.0 = Release|Any CPU
{D011A778-59C8-4BFA-A770-C350216BF161}.All|x86.ActiveCfg = Release|Any CPU
{D011A778-59C8-4BFA-A770-C350216BF161}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
{D011A778-59C8-4BFA-A770-C350216BF161}.Debug|Any CPU.Build.0 = Debug|Any CPU
{D011A778-59C8-4BFA-A770-C350216BF161}.Debug|Mixed Platforms.ActiveCfg = Debug|Any CPU
{D011A778-59C8-4BFA-A770-C350216BF161}.Debug|Mixed Platforms.Build.0 = Debug|Any CPU
{D011A778-59C8-4BFA-A770-C350216BF161}.Debug|x86.ActiveCfg = Debug|Any CPU
{D011A778-59C8-4BFA-A770-C350216BF161}.Release|Any CPU.ActiveCfg = Release|Any CPU
{D011A778-59C8-4BFA-A770-C350216BF161}.Release|Any CPU.Build.0 = Release|Any CPU
{D011A778-59C8-4BFA-A770-C350216BF161}.Release|Mixed Platforms.ActiveCfg = Release|Any CPU
{D011A778-59C8-4BFA-A770-C350216BF161}.Release|Mixed Platforms.Build.0 = Release|Any CPU
{D011A778-59C8-4BFA-A770-C350216BF161}.Release|x86.ActiveCfg = Release|Any CPU
EndGlobalSection
GlobalSection(SolutionProperties) = preSolution
HideSolutionNode = FALSE

37
src/Packages.dgml

@ -0,0 +1,37 @@
<?xml version="1.0" encoding="utf-8"?>
<DirectedGraph GraphDirection="LeftToRight" xmlns="http://schemas.microsoft.com/vs/2009/dgml">
<Nodes>
<Node Id="ImageProcessor.Web_NET45" Label="ImageProcessor.Web_NET45" Category="Project" />
<Node Id="Csharp-Sqlite 3.7.7.1" Label="Csharp-Sqlite 3.7.7.1" Category="Package" />
<Node Id="sqlite-net 1.0.7" Label="sqlite-net 1.0.7" Category="Package" />
<Node Id="ImageProcessor.Web" Label="ImageProcessor.Web" Category="Project" />
<Node Id="Csharp-Sqlite 3.7.7.1" Label="Csharp-Sqlite 3.7.7.1" Category="Package" />
<Node Id="Microsoft.Bcl 1.0.19" Label="Microsoft.Bcl 1.0.19" Category="Package" />
<Node Id="Microsoft.Bcl.Async 1.0.16" Label="Microsoft.Bcl.Async 1.0.16" Category="Package" />
<Node Id="Microsoft.Bcl.Build 1.0.6" Label="Microsoft.Bcl.Build 1.0.6" Category="Package" />
<Node Id="sqlite-net 1.0.7" Label="sqlite-net 1.0.7" Category="Package" />
</Nodes>
<Links>
<Link Source="ImageProcessor.Web_NET45" Target="Csharp-Sqlite 3.7.7.1" Category="Installed Package" />
<Link Source="ImageProcessor.Web_NET45" Target="sqlite-net 1.0.7" Category="Installed Package" />
<Link Source="Microsoft.Bcl 1.0.19" Target="Microsoft.Bcl.Build 1.0.6" Category="Package Dependency" />
<Link Source="Microsoft.Bcl.Async 1.0.16" Target="Microsoft.Bcl 1.0.19" Category="Package Dependency" />
<Link Source="ImageProcessor.Web" Target="Csharp-Sqlite 3.7.7.1" Category="Installed Package" />
<Link Source="ImageProcessor.Web" Target="Microsoft.Bcl.Async 1.0.16" Category="Installed Package" />
<Link Source="ImageProcessor.Web" Target="sqlite-net 1.0.7" Category="Installed Package" />
</Links>
<Categories>
<Category Id="Project" />
<Category Id="Package" />
</Categories>
<Styles>
<Style TargetType="Node" GroupLabel="Project" ValueLabel="True">
<Condition Expression="HasCategory('Project')" />
<Setter Property="Background" Value="Blue" />
</Style>
<Style TargetType="Link" GroupLabel="Package Dependency" ValueLabel="True">
<Condition Expression="HasCategory('Package Dependency')" />
<Setter Property="Background" Value="Yellow" />
</Style>
</Styles>
</DirectedGraph>

212
src/TestWebsites/NET4/Content/flexo.css

@ -1,212 +0,0 @@
/* ==|== Flexo 2.0.1 =============================================================
Author: James South
twitter : http://twitter.com/James_M_South
github : https://github.com/JimBobSquarePants/Flexo
Copyright (c) James South.
Licensed under the Apache License v2.0.
============================================================================== */
/* =============================================================================
Base
========================================================================== */
html {
/*Use the iOS devices hardware accelerator to provide native scrolling*/
-webkit-overflow-scrolling: touch;
/* Prevents iOS text size adjust after orientation change, without disabling user zoom. */
-webkit-text-size-adjust: 100%;
-ms-text-size-adjust: 100%;
}
html, body {
height: 100%;
margin: 0;
position: relative;
}
.page {
min-height: 100%;
position: relative;
margin-bottom: -150px;
padding-bottom: 150px;
-webkit-box-sizing: border-box;
-moz-box-sizing: border-box;
-ms-box-sizing: border-box;
box-sizing: border-box;
}
.page.no-box {
padding-bottom: 0;
}
.page-push, .page-footer {
height: 150px;
}
.page-footer {
margin: 0 auto;
position: relative;
z-index: 1;
}
.container {
margin: 0 auto;
/* Manages width in a single place */
width: 95%;
max-width: 1140px;
}
/* Contains floats so all columns can float left*/
.container:before,
.container:after,
.row:before,
.row:after {
content: "";
display: table;
}
.container:after,
.row:after {
clear: both;
}
/* =============================================================================
Grid
========================================================================== */
[class*="clmn"] {
display: block;
-webkit-box-sizing: border-box;
-moz-box-sizing: border-box;
-ms-box-sizing: border-box;
box-sizing: border-box;
min-height: 1px;
float: left;
}
/* ==|== media queries ===================================================
Portrait phone viewport to Landscape phone < 767px
========================================================================== */
@media screen and (max-width: 767px) {
body:not(.flexo-fixed) [class*="clmn"],
body:not(.flexo-fixed) [class*="offset"] {
float: none;
width: 100%;
margin-left: 0!important;
}
}
/* =============================================================================
Grid
========================================================================== */
[class*="clmn"] + [class*="clmn"]:not([class*="offset"]) {
margin-left: 2%;
}
/* Columns */
/* Full width calculated with margins */
.clmn1 {
width: 100%;
}
/* 2 column */
.clmn2 {
width: 49%;
}
/* 3 column */
.clmn3 {
width: 32%;
}
/* 4 column */
.clmn4 {
width: 23.5%;
}
/* 5 column */
.clmn5 {
width: 18.4%;
}
/* Fillers*/
/* 2/3 column */
.clmn2-3 {
width: 66%;
}
/* 3/4 column */
.clmn3-4 {
width: 74.5%;
}
/* 2/5 column */
.clmn2-5 {
width: 38.8%;
}
/* 3/5 column */
.clmn3-5 {
width: 59.2%;
}
/* 4/5 column */
.clmn4-5 {
width: 79.6%;
}
/* Offsetting columns */
/*offset 1/2*/
.offset2 {
margin-left: 51%;
}
/*offset 1/3 */
.offset3 {
margin-left: 34%;
}
/*offset 1/4 */
.offset4 {
margin-left: 25.5%;
}
/*offset 1/5 */
.offset5 {
margin-left: 20.4%;
}
/* offset 2/3 */
.offset2-3 {
margin-left: 68%;
}
/* offset 3/4 */
.offset3-4 {
margin-left: 76.5%;
}
/* offset 2/5 */
.offset2-5 {
margin-left: 40.8%;
}
/* offset 3/5 */
.offset3-5 {
margin-left: 61.2%;
}
/* offset 4/5 */
.offset4-5 {
margin-left: 81.6%;
}
/* =============================================================================
Fixed Grid
========================================================================== */
.flexo-fixed .container {
/* Manages width in a single place */
width: 1140px;
}

3
src/TestWebsites/NET4/Content/responsive-legacy.min.css

File diff suppressed because one or more lines are too long

3
src/TestWebsites/NET4/Content/responsive.min.css

File diff suppressed because one or more lines are too long

64
src/TestWebsites/NET4/Content/style.css

@ -1,64 +0,0 @@
body {
font-family: "Segoe UI",Tahoma,Arial,Verdana,Sans-Serif;
color: #333;
}
h1, h2, h3 {
font-family: "Segoe UI Light", "Segoe UI",Tahoma,Arial,Verdana,Sans-Serif;
font-weight: 400;
}
h1 {
margin-top: 0;
font-size: 3em;
}
section section {
padding-bottom: 1em;
margin-bottom: 2em;
}
section section:nth-child(2n) {
background-color: #f3f3f3;
}
.no-bullets {
padding-left: 0;
}
.no-bullets > li {
list-style: none;
float: left;
margin-right: .5em;
}
/*
* Clearfix: contain floats
*
* For modern browsers
* 1. The space content is one way to avoid an Opera bug when the
* `contenteditable` attribute is included anywhere else in the document.
* Otherwise it causes space to appear at the top and bottom of elements
* that receive the `clearfix` class.
* 2. The use of `table` rather than `block` is only necessary if using
* `:before` to contain the top-margins of child elements.
*/
.clearfix:before,
.clearfix:after {
content: " "; /* 1 */
display: table; /* 2 */
}
.clearfix:after {
clear: both;
}
/*
* For IE 6/7 only
* Include this rule to trigger hasLayout and contain floats.
*/
.clearfix {
*zoom: 1;
}

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

@ -6,156 +6,15 @@ using System.Web.Mvc;
namespace Test.Controllers
{
using System.Drawing;
using System.Drawing.Imaging;
using System.IO;
using System.Threading.Tasks;
using System.Web.Hosting;
using ImageProcessor;
using ImageProcessor.Helpers.Extensions;
using ImageProcessor.Imaging;
//using ImageProcessor.Web.Caching;
public class HomeController : Controller
{
public ActionResult Index()
{
ViewBag.Message = "ImageProcessor test website";
return View();
}
public ActionResult Upload()
{
return View();
}
//
// GET: /Home/
[HttpPost]
public ActionResult Upload(HttpPostedFileBase file)
public ActionResult Index()
{
Stream upload = file.InputStream;
int quality = 70;
ImageFormat format = ImageFormat.Jpeg;
Size size460 = new Size(460, 0);
Size size320 = new Size(320, 0);
Size size240 = new Size(240, 0);
// Make sure the directory exists as Image.Save will not work without an existing directory.
string outputPath = HostingEnvironment.MapPath("~/Resized");
if (outputPath != null)
{
DirectoryInfo directoryInfo = new DirectoryInfo(outputPath);
if (!directoryInfo.Exists)
{
directoryInfo.Create();
}
// Make the three file paths
string outputfile1 = Path.Combine(outputPath, "460px_" + file.FileName);
string outputfile2 = Path.Combine(outputPath, "320px_" + file.FileName);
string outputfile3 = Path.Combine(outputPath, "240px_" + file.FileName);
using (MemoryStream inStream = new MemoryStream())
{
// Copy the stream across.
upload.CopyTo(inStream);
using (ImageFactory imageFactory = new ImageFactory())
{
// Load, resize, set the format and quality and save an image.
imageFactory.Load(inStream)
.Format(format)
.Quality(quality)
.Resize(size460)
.Save(outputfile1)
.Reset()
.Format(format)
.Quality(quality)
.Resize(size320)
.Save(outputfile2)
.Reset()
.Format(format)
.Quality(quality)
.Resize(size240)
.Save(outputfile3);
}
}
}
return View();
}
public ActionResult About()
{
List<string> images = new List<string>();
const string Path = "/images/";
string folder = HostingEnvironment.MapPath(Path);
if (folder != null)
{
DirectoryInfo directoryInfo = new DirectoryInfo(folder);
if (directoryInfo.Exists)
{
// Get all the files in the cache ordered by LastAccessTime - oldest first.
List<FileInfo> fileInfos = directoryInfo.EnumerateFiles("*", SearchOption.AllDirectories).OrderBy(x => x.LastAccessTime).ToList();
int counter = fileInfos.Count;
Parallel.ForEach(
fileInfos,
fileInfo => images.Add(Path + fileInfo.Name));
}
}
return View(images);
}
public ActionResult Responsive()
{
return this.View();
}
public ActionResult Collisions()
{
DateTime start = DateTime.Now;
List<double> collisions = new List<double>();
const int Iterations = 1;
const int Maxitems = 3600000;
for (int i = 0; i < Iterations; i++)
{
List<string> paths = new List<string>();
for (int j = 0; j < Maxitems; j++)
{
string path = Path.GetRandomFileName().ToMD5Fingerprint();
path = string.Format("/{0}/{1}/{2}", path.Substring(0, 1), path.Substring(31, 1), path.Substring(0, 8));
paths.Add(path);
}
int count = paths.Distinct().Count();
double collisionRate = ((Maxitems - count) * 100D) / Maxitems;
collisions.Add(collisionRate);
}
double averageCollisionRate = collisions.Average();
TimeSpan timeSpan = DateTime.Now - start;
ViewBag.Collision = averageCollisionRate;
return this.View(timeSpan);
}
}
}

3
src/TestWebsites/NET4/Resized/240px_228406_276791782435436_815038966_n.jpg

@ -1,3 +0,0 @@
version https://git-lfs.github.com/spec/v1
oid sha256:ea75dd804dbc2685d2189f9e5fba063427416cc3c024f9962ab10b8efc1471b0
size 17302

3
src/TestWebsites/NET4/Resized/240px_MSwanson - Wide Large - Rock 02.jpg

@ -1,3 +0,0 @@
version https://git-lfs.github.com/spec/v1
oid sha256:bc4e1cd326a27789dfa3ad493b25611f31133f733e193e3eb5b4f8bc14429d1f
size 16510

3
src/TestWebsites/NET4/Resized/240px_Neck2-1.jpg

@ -1,3 +0,0 @@
version https://git-lfs.github.com/spec/v1
oid sha256:2633b42dfcd1b253ae2733d854a8801bd8ed547157dbcb148c529a3f2e213298
size 25044

3
src/TestWebsites/NET4/Resized/320px_228406_276791782435436_815038966_n.jpg

@ -1,3 +0,0 @@
version https://git-lfs.github.com/spec/v1
oid sha256:38e73ab2ad96ab405755b53559490954f5eb6fb2bedffa2b619cfd5369f66998
size 28894

3
src/TestWebsites/NET4/Resized/320px_MSwanson - Wide Large - Rock 02.jpg

@ -1,3 +0,0 @@
version https://git-lfs.github.com/spec/v1
oid sha256:319b3e4178951cabacd28dfee025f076e69e2c789d8a193236912a907083826c
size 27223

3
src/TestWebsites/NET4/Resized/320px_Neck2-1.jpg

@ -1,3 +0,0 @@
version https://git-lfs.github.com/spec/v1
oid sha256:5b203a58a268c47fce91ef419f996ef175d5a87f967ac2cc7978fb07bb7906da
size 39920

3
src/TestWebsites/NET4/Resized/460px_228406_276791782435436_815038966_n.jpg

@ -1,3 +0,0 @@
version https://git-lfs.github.com/spec/v1
oid sha256:0b50ba1e1003fcd44917f594081a3d4007ccbb65a2bd51e78de89c3ed413f301
size 57565

3
src/TestWebsites/NET4/Resized/460px_MSwanson - Wide Large - Rock 02.jpg

@ -1,3 +0,0 @@
version https://git-lfs.github.com/spec/v1
oid sha256:24861d2f61cb23d5bd2ad01740a1086a0623bbc1b4ed35f04bda24b345b5c62a
size 28858

3
src/TestWebsites/NET4/Resized/460px_Neck2-1.jpg

@ -1,3 +0,0 @@
version https://git-lfs.github.com/spec/v1
oid sha256:fca1fdc26920f19d9ee821975afd3640e25208993055e75d0118b29ba4c1f2d6
size 41399

17
src/TestWebsites/NET4/Test_Website.csproj

@ -84,8 +84,8 @@
<Compile Include="Properties\AssemblyInfo.cs" />
</ItemGroup>
<ItemGroup>
<Content Include="Content\flexo.css" />
<Content Include="Content\style.css" />
<Content Include="Content\responsive-legacy.min.css" />
<Content Include="Content\responsive.min.css" />
<Content Include="Global.asax" />
<Content Include="Images\1182076_e8c402e938_z.jpg" />
<Content Include="Images\Desert.jpg" />
@ -110,9 +110,6 @@
<DependentUpon>Web.config</DependentUpon>
</Content>
<Content Include="Views\_ViewStart.cshtml" />
<Content Include="Views\Home\About.cshtml" />
<Content Include="Views\Home\Index.cshtml" />
<Content Include="Views\Shared\Error.cshtml" />
<Content Include="Views\Shared\_Layout.cshtml" />
<Content Include="Views\Web.config" />
</ItemGroup>
@ -121,7 +118,7 @@
<Folder Include="Models\" />
</ItemGroup>
<ItemGroup>
<ProjectReference Include="..\..\ImageProcessor.Web\ImageProcessor.Web.csproj">
<ProjectReference Include="..\..\ImageProcessor.Web\NET4\ImageProcessor.Web.csproj">
<Project>{4f7050f2-465f-4e10-8db2-2fb97ac6aa43}</Project>
<Name>ImageProcessor.Web</Name>
</ProjectReference>
@ -131,13 +128,7 @@
</ProjectReference>
</ItemGroup>
<ItemGroup>
<Content Include="Views\Home\Responsive.cshtml" />
</ItemGroup>
<ItemGroup>
<Content Include="Views\Home\Collisions.cshtml" />
</ItemGroup>
<ItemGroup>
<Content Include="Views\Home\Upload.cshtml" />
<Content Include="Views\Home\Index.cshtml" />
</ItemGroup>
<PropertyGroup>
<VisualStudioVersion Condition="'$(VisualStudioVersion)' == ''">10.0</VisualStudioVersion>

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

@ -1,14 +0,0 @@
@model List<string>
@{
ViewBag.Title = "About Us";
}
<h2>About</h2>
<p>
@foreach(string image in Model)
{
string path = image + "?width=150";
<img src="@path" alt="@image"/>
}
</p>

20
src/TestWebsites/NET4/Views/Home/Collisions.cshtml

@ -1,20 +0,0 @@
@model TimeSpan
@{
Layout = null;
double s = Model.TotalMilliseconds;
}
<!DOCTYPE html>
<html>
<head>
<title>@s</title>
</head>
<body>
<div>
Speed In Milliseconds: @s<br/>
Collision Rate: @ViewBag.Collision%
</div>
</body>
</html>

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

@ -2,115 +2,114 @@
ViewBag.Title = "Home Page";
}
<article>
<h1 class="container">Jpg</h1>
<h1>Jpg</h1>
<section>
<div class="container">
<div class="clmn2">
<div class="row">
<div class="column-6">
<h2>Resized</h2>
<img src="/images/Penguins.jpg?width=300" />
<h3>Foreign language test.</h3>
<img src="/images/udendørs.jpg?width=300" />
</div>
<div class="clmn2">
<div class="column-6">
<h2>Cropped </h2>
<img src="/images/Penguins.jpg?crop=0-0-300-225" />
</div>
</div>
</section>
<section>
<div class="container">
<h2>Filter</h2>
<ul class="no-bullets clearfix">
<li>
<h3>blackwhite</h3>
<img src="/images/Penguins.jpg?width=300&filter=blackwhite" />
</li>
<li>
<h3>comic</h3>
<img src="/images/Penguins.jpg?width=300&filter=comic" />
</li>
<li>
<h3>lomograph</h3>
<img src="/images/Penguins.jpg?width=300&filter=lomograph" />
</li>
<li>
<h3>greyscale</h3>
<img src="/images/Penguins.jpg?width=300&filter=greyscale" />
</li>
<li>
<h3>polaroid</h3>
<img src="/images/Penguins.jpg?width=300&filter=polaroid" />
</li>
<li>
<h3>sepia</h3>
<img src="/images/Penguins.jpg?width=300&filter=sepia" />
</li>
<li>
<h3>gotham</h3>
<img src="/images/Penguins.jpg?width=300&filter=gotham" />
</li>
<li>
<h3>hisatch</h3>
<img src="/images/Penguins.jpg?width=300&filter=hisatch" />
</li>
<li>
<h3>losatch</h3>
<img src="/images/Penguins.jpg?width=300&filter=losatch" />
</li>
<li>
<h3>invert</h3>
<img src="/images/negative.png?filter=invert" />
</li>
<li>
<h3>invert</h3>
<img src="/images/negative2.png?filter=invert" />
</li>
</ul>
<h2>Filter</h2>
<div class="row">
<div class="column-6">
<h3>blackwhite</h3>
<img src="/images/Penguins.jpg?width=300&filter=blackwhite" />
</div>
<div class="column-6">
<h3>comic</h3>
<img src="/images/Penguins.jpg?width=300&filter=comic" />
</div>
</div>
<div class="row">
<div class="column-6">
<h3>lomograph</h3>
<img src="/images/Penguins.jpg?width=300&filter=lomograph" />
</div>
<div class="column-6">
<h3>greyscale</h3>
<img src="/images/Penguins.jpg?width=300&filter=greyscale" />
</div>
</div>
<div class="row">
<div class="column-6">
<h3>polaroid</h3>
<img src="/images/Penguins.jpg?width=300&filter=polaroid" />
</div>
<div class="column-6">
<h3>sepia</h3>
<img src="/images/Penguins.jpg?width=300&filter=sepia" />
</div>
</div>
<div class="row">
<div class="column-6">
<h3>gotham</h3>
<img src="/images/Penguins.jpg?width=300&filter=gotham" />
</div>
<div class="column-6">
<h3>hisatch</h3>
<img src="/images/Penguins.jpg?width=300&filter=hisatch" />
</div>
</div>
<div class="row">
<div class="column-6">
<h3>losatch</h3>
<img src="/images/Penguins.jpg?width=300&filter=losatch" />
</div>
</div>
</section>
<section>
<div class="container">
<div class="clmn2">
<div class="row">
<div class="column-6">
<h2>Watermark</h2>
<img src="/images/Penguins.jpg?width=300&watermark=text-test|color-fff|size-48|style-italic|opacity-100|position-100-100|shadow-true|font-arial" />
</div>
<div class="clmn2">
<div class="column-6">
<h2>Format</h2>
<img src="/images/Penguins.jpg?width=300&format=gif" />
</div>
</div>
</section>
<section>
<div class="container">
<div class="clmn2">
<div class="row">
<div class="column-6">
<h2>Rotate</h2>
<img src="/images/Penguins.jpg?width=300&rotate=angle-54|bgcolor-fff" />
</div>
<div class="clmn2">
<div class="column-6">
<h2>Quality</h2>
<img src="/images/Penguins.jpg?width=300&quality=5" />
</div>
</div>
</section>
<section>
<div class="container">
<div class="clmn2">
<div class="row">
<div class="column-6">
<h2>Alpha</h2>
<img src="/images/Penguins.jpg?width=300&format=png&alpha=50" />
</div>
<div class="clmn2">
<div class="column-6">
<h2>Remote</h2>
<img src="/remote.axd?http://images.mymovies.net/images/film/cin/500x377/fid11707.jpg?width=300" />
@*<img src="/remote.axd?http://www.theworldeffect.com/images/6a00e54fa8abf78833011570697305970b-800wi.jpg?width=300" />*@
</div>
</div>
</section>
<section>
<div class="container">
<div class="clmn2">
<div class="row">
<div class="column-6">
<h2>Flip - horizontal</h2>
<img src="/images/Penguins.jpg?width=300&flip=horizontal" />
</div>
<div class="clmn2">
<div class="column-6">
<h2>Flip - vertical</h2>
<img src="/images/Penguins.jpg?width=300&flip=vertical" />
</div>
@ -118,89 +117,95 @@
</section>
</article>
<article>
<h1 class="container">Gif</h1>
<h1>Gif</h1>
<section>
<div class="container">
<div class="clmn2">
<div class="row">
<div class="column-6">
<h2>Resized</h2>
<img src="/images/Penguins.gif?width=300" />
</div>
<div class="clmn2">
<div class="column-6">
<h2>Cropped </h2>
<img src="/images/Penguins.gif?crop=0-0-300-225" />
</div>
</div>
</section>
<section>
<div class="container">
<h2>Filter</h2>
<ul class="no-bullets clearfix">
<li>
<h3>blackwhite</h3>
<img src="/images/Penguins.gif?width=300&filter=blackwhite" />
</li>
<li>
<h3>comic</h3>
<img src="/images/Penguins.gif?width=300&filter=comic" />
</li>
<li>
<h3>lomograph</h3>
<img src="/images/Penguins.gif?width=300&filter=lomograph" />
</li>
<li>
<h3>greyscale</h3>
<img src="/images/Penguins.gif?width=300&filter=greyscale" />
</li>
<li>
<h3>polaroid</h3>
<img src="/images/Penguins.gif?width=300&filter=polaroid" />
</li>
<li>
<h3>sepia</h3>
<img src="/images/Penguins.gif?width=300&filter=sepia" />
</li>
<li>
<h3>gotham</h3>
<img src="/images/Penguins.gif?width=300&filter=gotham" />
</li>
<li>
<h3>hisatch</h3>
<img src="/images/Penguins.gif?width=300&filter=hisatch" />
</li>
<li>
<h3>losatch</h3>
<img src="/images/Penguins.gif?width=300&filter=losatch" />
</li>
</ul>
<h2>Filter</h2>
<div class="row">
<div class="column-6">
<h3>blackwhite</h3>
<img src="/images/Penguins.gif?width=300&filter=blackwhite" />
</div>
<div class="column-6">
<h3>comic</h3>
<img src="/images/Penguins.gif?width=300&filter=comic" />
</div>
</div>
<div class="row">
<div class="column-6">
<h3>lomograph</h3>
<img src="/images/Penguins.gif?width=300&filter=lomograph" />
</div>
<div class="column-6">
<h3>greyscale</h3>
<img src="/images/Penguins.gif?width=300&filter=greyscale" />
</div>
</div>
<div class="row">
<div class="column-6">
<h3>polaroid</h3>
<img src="/images/Penguins.gif?width=300&filter=polaroid" />
</div>
<div class="column-6">
<h3>sepia</h3>
<img src="/images/Penguins.gif?width=300&filter=sepia" />
</div>
</div>
<div class="row">
<div class="column-6">
<h3>gotham</h3>
<img src="/images/Penguins.gif?width=300&filter=gotham" />
</div>
<div class="column-6">
<h3>hisatch</h3>
<img src="/images/Penguins.gif?width=300&filter=hisatch" />
</div>
</div>
<div class="row">
<div class="column-6">
<h3>losatch</h3>
<img src="/images/Penguins.gif?width=300&filter=losatch" />
</div>
</div>
</section>
<section>
<div class="container">
<div class="clmn2">
<div class="row">
<div class="column-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="clmn2">
<div class="column-6">
<h2>Format</h2>
<img src="/images/Penguins.gif?width=300&format=png" />
</div>
</div>
</section>
<section>
<div class="container">
<div class="clmn2">
<div class="row">
<div class="column-6">
<h2>Rotate</h2>
<img src="/images/Penguins.gif?width=300&rotate=angle-54|bgcolor-fff" />
</div>
<div class="clmn2">
<div class="column-6">
<h2>Quality</h2>
<img src="/images/Penguins.gif?width=300&quality=5" />
</div>
</div>
</section>
<section>
<div class="container">
<div class="clmn2">
<div class="row">
<div class="column-6">
<h2>Alpha</h2>
<img src="/images/Penguins.gif?width=300&alpha=50" />
</div>
@ -208,89 +213,95 @@
</section>
</article>
<article>
<h1 class="container">Png</h1>
<h1>Png</h1>
<section>
<div class="container">
<div class="clmn2">
<div class="row">
<div class="column-6">
<h2>Resized</h2>
<img src="/images/Penguins.png?width=300" />
</div>
<div class="clmn2">
<div class="column-6">
<h2>Cropped </h2>
<img src="/images/Penguins.png?crop=0-0-300-225" />
</div>
</div>
</section>
<section>
<div class="container">
<h2>Filter</h2>
<ul class="no-bullets clearfix">
<li>
<h3>blackwhite</h3>
<img src="/images/Penguins.png?width=300&filter=blackwhite" />
</li>
<li>
<h3>comic</h3>
<img src="/images/Penguins.png?width=300&filter=comic" />
</li>
<li>
<h3>lomograph</h3>
<img src="/images/Penguins.png?width=300&filter=lomograph" />
</li>
<li>
<h3>greyscale</h3>
<img src="/images/Penguins.png?width=300&filter=greyscale" />
</li>
<li>
<h3>polaroid</h3>
<img src="/images/Penguins.png?width=300&filter=polaroid" />
</li>
<li>
<h3>sepia</h3>
<img src="/images/Penguins.png?width=300&filter=sepia" />
</li>
<li>
<h3>gotham</h3>
<img src="/images/Penguins.png?width=300&filter=gotham" />
</li>
<li>
<h3>hisatch</h3>
<img src="/images/Penguins.png?width=300&filter=hisatch" />
</li>
<li>
<h3>losatch</h3>
<img src="/images/Penguins.png?width=300&filter=losatch" />
</li>
</ul>
<h2>Filter</h2>
<div class="row">
<div class="column-6">
<h3>blackwhite</h3>
<img src="/images/Penguins.png?width=300&filter=blackwhite" />
</div>
<div class="column-6">
<h3>comic</h3>
<img src="/images/Penguins.png?width=300&filter=comic" />
</div>
</div>
<div class="row">
<div class="column-6">
<h3>lomograph</h3>
<img src="/images/Penguins.png?width=300&filter=lomograph" />
</div>
<div class="column-6">
<h3>greyscale</h3>
<img src="/images/Penguins.png?width=300&filter=greyscale" />
</div>
</div>
<div class="row">
<div class="column-6">
<h3>polaroid</h3>
<img src="/images/Penguins.png?width=300&filter=polaroid" />
</div>
<div class="column-6">
<h3>sepia</h3>
<img src="/images/Penguins.png?width=300&filter=sepia" />
</div>
</div>
<div class="row">
<div class="column-6">
<h3>gotham</h3>
<img src="/images/Penguins.png?width=300&filter=gotham" />
</div>
<div class="column-6">
<h3>hisatch</h3>
<img src="/images/Penguins.png?width=300&filter=hisatch" />
</div>
</div>
<div class="row">
<div class="column-6">
<h3>losatch</h3>
<img src="/images/Penguins.png?width=300&filter=losatch" />
</div>
</div>
</section>
<section>
<div class="container">
<div class="clmn2">
<div class="row">
<div class="column-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="clmn2">
<div class="column-6">
<h2>Format</h2>
<img src="/images/Penguins.png?width=300&format=bmp" />
</div>
</div>
</section>
<section>
<div class="container">
<div class="clmn2">
<div class="row">
<div class="column-6">
<h2>Rotate</h2>
<img src="/images/Penguins.png?width=300&rotate=angle-54|bgcolor-fff" />
</div>
<div class="clmn2">
<div class="column-6">
<h2>Quality</h2>
<img src="/images/Penguins.png?width=300&quality=5" />
</div>
</div>
</section>
<section>
<div class="container">
<div class="clmn2">
<div class="row">
<div class="column-6">
<h2>Alpha</h2>
<img src="/images/Penguins.png?width=300&alpha=50" />
</div>
@ -298,89 +309,95 @@
</section>
</article>
<article>
<h1 class="container">Bmp</h1>
<h1>Bmp</h1>
<section>
<div class="container">
<div class="clmn2">
<div class="row">
<div class="column-6">
<h2>Resized</h2>
<img src="/images/Penguins.bmp?width=300" />
</div>
<div class="clmn2">
<div class="column-6">
<h2>Cropped </h2>
<img src="/images/Penguins.bmp?crop=0-0-300-225" />
</div>
</div>
</section>
<section>
<div class="container">
<h2>Filter</h2>
<ul class="no-bullets clearfix">
<li>
<h3>blackwhite</h3>
<img src="/images/Penguins.bmp?width=300&filter=blackwhite" />
</li>
<li>
<h3>comic</h3>
<img src="/images/Penguins.bmp?width=300&filter=comic" />
</li>
<li>
<h3>lomograph</h3>
<img src="/images/Penguins.bmp?width=300&filter=lomograph" />
</li>
<li>
<h3>greyscale</h3>
<img src="/images/Penguins.bmp?width=300&filter=greyscale" />
</li>
<li>
<h3>polaroid</h3>
<img src="/images/Penguins.bmp?width=300&filter=polaroid" />
</li>
<li>
<h3>sepia</h3>
<img src="/images/Penguins.bmp?width=300&filter=sepia" />
</li>
<li>
<h3>gotham</h3>
<img src="/images/Penguins.bmp?width=300&filter=gotham" />
</li>
<li>
<h3>hisatch</h3>
<img src="/images/Penguins.bmp?width=300&filter=hisatch" />
</li>
<li>
<h3>losatch</h3>
<img src="/images/Penguins.bmp?width=300&filter=losatch" />
</li>
</ul>
<h2>Filter</h2>
<div class="row">
<div class="column-6">
<h3>blackwhite</h3>
<img src="/images/Penguins.bmp?width=300&filter=blackwhite" />
</div>
<div class="column-6">
<h3>comic</h3>
<img src="/images/Penguins.bmp?width=300&filter=comic" />
</div>
</div>
<div class="row">
<div class="column-6">
<h3>lomograph</h3>
<img src="/images/Penguins.bmp?width=300&filter=lomograph" />
</div>
<div class="column-6">
<h3>greyscale</h3>
<img src="/images/Penguins.bmp?width=300&filter=greyscale" />
</div>
</div>
<div class="row">
<div class="column-6">
<h3>polaroid</h3>
<img src="/images/Penguins.bmp?width=300&filter=polaroid" />
</div>
<div class="column-6">
<h3>sepia</h3>
<img src="/images/Penguins.bmp?width=300&filter=sepia" />
</div>
</div>
<div class="row">
<div class="column-6">
<h3>gotham</h3>
<img src="/images/Penguins.bmp?width=300&filter=gotham" />
</div>
<div class="column-6">
<h3>hisatch</h3>
<img src="/images/Penguins.bmp?width=300&filter=hisatch" />
</div>
</div>
<div class="row">
<div class="column-6">
<h3>losatch</h3>
<img src="/images/Penguins.bmp?width=300&filter=losatch" />
</div>
</div>
</section>
<section>
<div class="container">
<div class="clmn2">
<div class="row">
<div class="column-6">
<h2>Watermark</h2>
<img src="/images/Penguins.bmp?width=300&watermark=text-test|color-fff|size-48|style-italic|opacity-100|position-100-100|shadow-true|font-arial" />
</div>
<div class="clmn2">
<div class="column-6">
<h2>Format</h2>
<img src="/images/Penguins.bmp?width=300&format=jpg" />
</div>
</div>
</section>
<section>
<div class="container">
<div class="clmn2">
<div class="row">
<div class="column-6">
<h2>Rotate</h2>
<img src="/images/Penguins.bmp?width=300&rotate=angle-54|bgcolor-fff" />
</div>
<div class="clmn2">
<div class="column-6">
<h2>Quality</h2>
<img src="/images/Penguins.bmp?width=300&quality=5" />
</div>
</div>
</section>
<section>
<div class="container">
<div class="clmn2">
<div class="row">
<div class="column-6">
<h2>Alpha</h2>
<img src="/images/Penguins.bmp?width=300&alpha=50" />
</div>

18
src/TestWebsites/NET4/Views/Home/Responsive.cshtml

@ -1,18 +0,0 @@
@{
ViewBag.Title = "Responsive";
}
<style type="text/css">
img
{
max-width: 100%;
}
</style>
<h2>
Responsive</h2>
<img src="/Images/desert.jpg?width=480" srcset="/Images/desert.jpg?width=768 480w, /Images/penguins.jpg?width=979 640w 2x, /Images/jellyfish.jpg?width=480 2x"
alt="desert" />
@*<img src="/Images/desert.jpg?width=480" srcset="/Images/desert.jpg?width=768 480w, /Images/jellyfish.jpg?width=480 2x, /Images/penguins.jpg?width=979 640w 2x"
alt="desert" />*@ @*<img src="/Images/desert.jpg?width=480" srcset="/Images/desert.jpg?width=768 480w, /Images/desert.jpg?width=979 768w"
alt="desert" />*@
<script src="//ajax.googleapis.com/ajax/libs/jquery/1.7.2/jquery.min.js"></script>
<script src="/Scripts/img.srcsect.pollyfill.js" type="text/javascript"></script>

5
src/TestWebsites/NET4/Views/Home/Upload.cshtml

@ -1,5 +0,0 @@
@using (Html.BeginForm("Upload", "Home", FormMethod.Post, new { enctype = "multipart/form-data" }))
{
<input type="file" name="file" />
<button type="submit">Upload</button>
}

9
src/TestWebsites/NET4/Views/Shared/Error.cshtml

@ -1,9 +0,0 @@
@model System.Web.Mvc.HandleErrorInfo
@{
ViewBag.Title = "Error";
}
<h2>
Sorry, an error occurred while processing your request.
</h2>

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

@ -3,22 +3,17 @@
<head>
<meta charset="utf-8" />
<title>@ViewBag.Title</title>
<link href="@Url.Content("~/Content/flexo.css")" rel="stylesheet" type="text/css" />
<link href="@Url.Content("~/Content/style.css")" rel="stylesheet" type="text/css" />
<link href="@Url.Content("~/Content/responsive.min.css")" rel="stylesheet" type="text/css" media="all and (min-width: 1em)" />
<!--[if lt IE 9 &!(IEMobile)]>
<link href="@Url.Content("~/Content/responsive-legacy.min.css")" rel="stylesheet" type="text/css" />
<![endif]-->
</head>
<body>
<div class="page">
<header>
<div class="container">
<h1>ImageProcessor NET4.0</h1>
</div>
</header>
<section id="main">
@RenderBody()
</section>
</div>
<footer class="page-footer">
</footer>
<header class="container">
<h1>ImageProcessor NET4</h1>
</header>
<section class="container">
@RenderBody()
</section>
</body>
</html>

4
src/TestWebsites/NET4/Web.config

@ -48,7 +48,9 @@
</system.web>
<system.webServer>
<validation validateIntegratedModeConfiguration="false" />
<modules runAllManagedModulesForAllRequests="true" />
<modules runAllManagedModulesForAllRequests="true" >
<add name="ImageProcessorModule" type="ImageProcessor.Web.HttpModules.ImageProcessingModule, ImageProcessor.Web"/>
</modules>
</system.webServer>
<runtime>
<assemblyBinding xmlns="urn:schemas-microsoft-com:asm.v1">

3
src/TestWebsites/NET4/cache/0/0/0af9c9c3ac0bd099667ef1890991ecf0.jpg

@ -1,3 +0,0 @@
version https://git-lfs.github.com/spec/v1
oid sha256:03edc77f38fc0d2a46d1c2070dc6c883997988f6b7b9b85c9e3de1eb227f6110
size 16995

3
src/TestWebsites/NET4/cache/0/2/0b5ec0dd58da4a94241a4a0c84fbcf92.jpg

@ -1,3 +0,0 @@
version https://git-lfs.github.com/spec/v1
oid sha256:b3d19c53b3b653a827dd6349cc7234ea79911cdab59c5eb7dea1390f2235cb6e
size 20043

1
src/TestWebsites/NET4/cache/0/3/0ed1b21b56f58f1cc566014f5f5cf5e3.bmp.REMOVED.git-id

@ -1 +0,0 @@
f4e00752418f01964b99ce300d96c16a9aa8d239

1
src/TestWebsites/NET4/cache/0/4/0b64a147662ae5f841029e61c5e88984.png.REMOVED.git-id

@ -1 +0,0 @@
fd46e83948190f508b8906f0822eca8dd4eda2ef

1
src/TestWebsites/NET4/cache/0/7/09f4cdcadedc15e2bb3fb3647d6e4a87.bmp.REMOVED.git-id

@ -1 +0,0 @@
aa7c907774ef5492ae25ffb7e3ff9755257731bd

1
src/TestWebsites/NET4/cache/0/c/016bbd2c44ab6af915e4dc26a715d5ec.bmp.REMOVED.git-id

@ -1 +0,0 @@
1038ebe89d7cfb28ec96a421867a2b0efc6dfdb4

1
src/TestWebsites/NET4/cache/0/e/0b24c3d312abd3bfcc04452e8eaca81e.bmp.REMOVED.git-id

@ -1 +0,0 @@
1456713687c96cd486c4ec8e57d3c4f6f6437f10

1
src/TestWebsites/NET4/cache/0/f/07d78f73ba8fe89fe3197254c394da4f.bmp.REMOVED.git-id

@ -1 +0,0 @@
4c16fd6b5b6b8cc426bc290d15ab41523be29403

1
src/TestWebsites/NET4/cache/1/3/1de0e9e101bdd9bc8122039f22bcc073.bmp.REMOVED.git-id

@ -1 +0,0 @@
bbf8bc24452deb732adf66ef3488793859f4f5b7

3
src/TestWebsites/NET4/cache/2/8/28d7c32164bdb0423a972759b7cf68a8.png

@ -1,3 +0,0 @@
version https://git-lfs.github.com/spec/v1
oid sha256:61154029adbfafc4cdef890c8f38f90bdf89f28ee2282f2cdd06359566265e12
size 16372

3
src/TestWebsites/NET4/cache/2/d/218fc888534353242520d7c4975e43fd.gif

@ -1,3 +0,0 @@
version https://git-lfs.github.com/spec/v1
oid sha256:de30e8602ce43542a15d7e28820263cc6f7b23fef9860b877196ff8fe6b45d96
size 25266

3
src/TestWebsites/NET4/cache/3/4/3470eab4ef380d70769da7c043814fe4.jpg

@ -1,3 +0,0 @@
version https://git-lfs.github.com/spec/v1
oid sha256:048c21b2d13aaad9d56e633f758cac27749fcbb50f23eeb3132493c05800b996
size 20142

3
src/TestWebsites/NET4/cache/3/5/3bc1aeca44cbb62786c612395a5de385.jpg

@ -1,3 +0,0 @@
version https://git-lfs.github.com/spec/v1
oid sha256:9ffe500044c08bb10fa63d6610cfa08416de0b9edc528aae6827d2bb8fab5e8b
size 15088

3
src/TestWebsites/NET4/cache/3/8/33ce32a9f0e37793a0e994fc22cae9d8.gif

@ -1,3 +0,0 @@
version https://git-lfs.github.com/spec/v1
oid sha256:5423334eabb077173ec1ed806f5ce29716a78b7a38004e5eae8e3f5d7b2f00da
size 12799

1
src/TestWebsites/NET4/cache/3/9/3b901eb58e88f80197a0cd5716f876f9.bmp.REMOVED.git-id

@ -1 +0,0 @@
bbfe7d237dcb52af2e60d5a73b33b15d1bded363

3
src/TestWebsites/NET4/cache/3/c/3bf06c076f92a56826ff06dc3b48f41c.gif

@ -1,3 +0,0 @@
version https://git-lfs.github.com/spec/v1
oid sha256:a8964dde01eed3718b0b31744f2191f7a089b4cf190a32e6a29d0be0e9985832
size 25100

3
src/TestWebsites/NET4/cache/4/1/432c0b567c7763cd96684a4069bc3d91.gif

@ -1,3 +0,0 @@
version https://git-lfs.github.com/spec/v1
oid sha256:607510d5221bbe92aefccf0a2e3993e41a60449137fed7e1cdc2667ddc37e4f1
size 10936

1
src/TestWebsites/NET4/cache/4/4/44f7fdae94c317963c821dd5c969d624.bmp.REMOVED.git-id

@ -1 +0,0 @@
4c16fd6b5b6b8cc426bc290d15ab41523be29403

3
src/TestWebsites/NET4/cache/4/a/41927219029bc442bf2b37dd3423c0da.jpg

@ -1,3 +0,0 @@
version https://git-lfs.github.com/spec/v1
oid sha256:02a716c957a5b4b193713d718400538c0882210e87f53be57c82f0bd30cdc4e9
size 20177

3
src/TestWebsites/NET4/cache/4/a/44013240ceb4833173fc6f00952f647a.gif

@ -1,3 +0,0 @@
version https://git-lfs.github.com/spec/v1
oid sha256:08d9bf9289ce7b6939c7cc2cf5548c3f73087931dc3a5a3590dd53c8fe52bdfa
size 35542

1
src/TestWebsites/NET4/cache/5/2/5489562d92f5b5323aa3d1707abcf952.bmp.REMOVED.git-id

@ -1 +0,0 @@
4c16fd6b5b6b8cc426bc290d15ab41523be29403

1
src/TestWebsites/NET4/cache/5/2/554da7a7a2d1076bcce748c5ec0fc0a2.png.REMOVED.git-id

@ -1 +0,0 @@
17b206e295bd3f2b5011bca3bc2eee4b3dda2f2e

1
src/TestWebsites/NET4/cache/5/e/51e17f5818f8c822dfabc9198a3216ee.bmp.REMOVED.git-id

@ -1 +0,0 @@
a8c63bdc1f6505040493f130938a64e19015d0ad

1
src/TestWebsites/NET4/cache/5/f/5cda624f35edfa92546beb9ab3071d4f.png.REMOVED.git-id

@ -1 +0,0 @@
5962e6fb383cf50a75414809b60cfada65f35cae

3
src/TestWebsites/NET4/cache/6/0/6d4b9c0a03c06052b0f3453bcb577ff0.jpg

@ -1,3 +0,0 @@
version https://git-lfs.github.com/spec/v1
oid sha256:8f956ffe914d65a9b4a48cd0be82d953e371192a074b8cf964961fd0ff14e5bd
size 24536

3
src/TestWebsites/NET4/cache/6/4/6bec1e673b29cbaf8a16dceef5471bd4.jpg

@ -1,3 +0,0 @@
version https://git-lfs.github.com/spec/v1
oid sha256:3c18f92725850c1aa916407b05f8037c500888b71fb8f998ae317e80422122e7
size 25023

3
src/TestWebsites/NET4/cache/6/5/61492b5357d79bd49523543c3353cd45.gif

@ -1,3 +0,0 @@
version https://git-lfs.github.com/spec/v1
oid sha256:ff533d807cddfaf3095c459be6ff072df923fd08a219e47caa3f54deed3e47a8
size 25958

3
src/TestWebsites/NET4/cache/6/5/6d4a1922b307a23b93894a57c13af3c5.jpg

@ -1,3 +0,0 @@
version https://git-lfs.github.com/spec/v1
oid sha256:1c17317918828a130ef60bc10825e76a7ad2fd3cdbac64064d4393ed8bc688a2
size 18408

3
src/TestWebsites/NET4/cache/6/7/680b05c45f261e325a1c36c6c155fb17.jpg

@ -1,3 +0,0 @@
version https://git-lfs.github.com/spec/v1
oid sha256:b8a7c7636bfcfa2429ad7fb02a9cb2ecbc4b93e49b27b7fecbe0b07ec2954ce1
size 10670

1
src/TestWebsites/NET4/cache/6/9/6595555394314c844af4f8eb778a53f9.png.REMOVED.git-id

@ -1 +0,0 @@
ece2bf873103b341b318b90a799041c298e3b5be

1
src/TestWebsites/NET4/cache/6/a/60bc3881aa326b2d130ed6b1a069526a.png.REMOVED.git-id

@ -1 +0,0 @@
fc4ec6a6d16131cb9ea9ab6c0921bcf5766f254d

3
src/TestWebsites/NET4/cache/6/a/671ec943e8501bc090a8207058bb10ba.gif

@ -1,3 +0,0 @@
version https://git-lfs.github.com/spec/v1
oid sha256:675e4beeb74bb14675e05767cc230256c91f582493e5fab7ba4de6b449738c89
size 52990

1
src/TestWebsites/NET4/cache/6/a/6a335df182dfb45716f1f4cf9043725a.png.REMOVED.git-id

@ -1 +0,0 @@
70138b9cd6ff7405f96cef6008536f7a0edeb826

3
src/TestWebsites/NET4/cache/6/c/6a8c2be670d2b653ef6ef6ccab724c7c.gif

@ -1,3 +0,0 @@
version https://git-lfs.github.com/spec/v1
oid sha256:a33df00fbdda287f34513f655519a6f74871e736d8d0dc34c7d6b7015488835e
size 25117

1
src/TestWebsites/NET4/cache/6/c/6be53cafb3b8cadd048ed55ebcb9f50c.png.REMOVED.git-id

@ -1 +0,0 @@
1c9ffb3ff2f1881dce011636c38c18684c610d55

3
src/TestWebsites/NET4/cache/6/f/668bd850663b2b3fcfde8926b0d38fbf.png

@ -1,3 +0,0 @@
version https://git-lfs.github.com/spec/v1
oid sha256:caba9bdfccdac065296670d61aba8da829981811576968b604fd268b18aa6849
size 55073

1
src/TestWebsites/NET4/cache/7/2/766873ca1d339e7a8f318fdea4517e52.png.REMOVED.git-id

@ -1 +0,0 @@
5612964523fbf81c63bafa27deb3e64e9ce07340

3
src/TestWebsites/NET4/cache/7/5/75a8fffbe3c260e06c5e3dcf9e48fdf5.gif

@ -1,3 +0,0 @@
version https://git-lfs.github.com/spec/v1
oid sha256:352d4cf5b6695595bebce3ab1163fd56f10d574191715973fbf3eab99f04ae90
size 22456

1
src/TestWebsites/NET4/cache/7/f/7dd5e20ac02737ffe98d89cc06e9fd1f.bmp.REMOVED.git-id

@ -1 +0,0 @@
01a2b2fc1f3686f3d1b244b6e9d4619ad0591d22

3
src/TestWebsites/NET4/cache/8/4/86919eb9041014c06d97cc26ec3ee5b4.jpg

@ -1,3 +0,0 @@
version https://git-lfs.github.com/spec/v1
oid sha256:3c7ac00b3f98695f43927f2d725e51d42280036b3125b5f2f576771625195a1e
size 20037

3
src/TestWebsites/NET4/cache/8/8/833e8b04691a79df76565ceb38dfcf08.gif

@ -1,3 +0,0 @@
version https://git-lfs.github.com/spec/v1
oid sha256:1360f455e694efe57f207a6e082bcf1d7e445321f4290e986ffa98ae211bc267
size 25095

3
src/TestWebsites/NET4/cache/8/a/80df393885831cfc36ddf2b4afa3542a.gif

@ -1,3 +0,0 @@
version https://git-lfs.github.com/spec/v1
oid sha256:1cbfe19ed40d513f4573f42571f5d6aaa7a4399e051ffe2e9c7dd6d1ddf6bc91
size 29617

3
src/TestWebsites/NET4/cache/9/0/9affebad599f1f5b9accc90e0a10ab00.gif

@ -1,3 +0,0 @@
version https://git-lfs.github.com/spec/v1
oid sha256:48032e0e35d850da3ac75a7ca8bd3142a5a1762f0fdfe5837cf09bbc663d102c
size 22638

3
src/TestWebsites/NET4/cache/9/6/9ca675a34d9f25e2ac5c2e727c4c32f6.png

@ -1,3 +0,0 @@
version https://git-lfs.github.com/spec/v1
oid sha256:fb146f983837379b13880cba6b531cc8fa41d170383db60638cfcb1de4a16a43
size 4370

3
src/TestWebsites/NET4/cache/9/9/9bf7b33a5f885b8adc543ed608297079.jpg

@ -1,3 +0,0 @@
version https://git-lfs.github.com/spec/v1
oid sha256:394a3b193b8fc4c1062642a04a776a95d019eab153bc04673afec3eb576b612d
size 17964

3
src/TestWebsites/NET4/cache/a/b/a2d825899d3f53fb9e5c5814934c8bdb.jpg

@ -1,3 +0,0 @@
version https://git-lfs.github.com/spec/v1
oid sha256:b290fa891e771db13b7e4a3800356b4705c963e210af07221f39f7dce26fc815
size 21321

1
src/TestWebsites/NET4/cache/a/f/a746b3795838695c3cc09ea22a505d8f.bmp.REMOVED.git-id

@ -1 +0,0 @@
148214372963c489d4cf65225afda467a6a13d0d

1
src/TestWebsites/NET4/cache/b/c/bbaeebbc5c4d9c7c65d8cd64a5d9fc2c.png.REMOVED.git-id

@ -1 +0,0 @@
7c93ab54669f68a50cafcd6980a60b232878b052

1
src/TestWebsites/NET4/cache/b/c/bc23e76e5775c4d447a62f4819ddbd4c.png.REMOVED.git-id

@ -1 +0,0 @@
17b206e295bd3f2b5011bca3bc2eee4b3dda2f2e

3
src/TestWebsites/NET4/cache/b/d/b39c3da974780c398e2459a46c396a5d.gif

@ -1,3 +0,0 @@
version https://git-lfs.github.com/spec/v1
oid sha256:d8ae1db6536f3ce2d76e520f989e825ef35e6323d06e607c7d48b8dd140041c7
size 28809

1
src/TestWebsites/NET4/cache/c/1/c8a03fae528786138290f03325d976e1.bmp.REMOVED.git-id

@ -1 +0,0 @@
ba933c44b0c2a595b19d2315f199348cce17961c

1
src/TestWebsites/NET4/cache/c/2/cfb32a7ac768e27983bf87ef95f18532.png.REMOVED.git-id

@ -1 +0,0 @@
92e521b7598620ce3a1a4a894555ff6eed8e5ce4

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

Loading…
Cancel
Save