From beb58f7d1f8af3e63fa2aa73dece67e1add22aa6 Mon Sep 17 00:00:00 2001 From: James South Date: Tue, 19 Aug 2014 19:54:57 +0100 Subject: [PATCH] Adding WebP Nuget package Former-commit-id: 2b4211fab0c616e8c34dde641fa7d86f25471d9c --- build/Build.ImageProcessor.Plugins.WebP.proj | 54 +++++++++++++++++++ build/Build.bat | 5 +- .../ImageProcessor.Plugins.WebP.nuspec | 32 +++++++++++ .../NuSpecs/ImageProcessor.Web.Config.nuspec | 2 +- .../web.config.transform | 9 ++++ .../Properties/AssemblyInfo.cs | 4 +- 6 files changed, 102 insertions(+), 4 deletions(-) create mode 100644 build/Build.ImageProcessor.Plugins.WebP.proj create mode 100644 build/NuSpecs/ImageProcessor.Plugins.WebP.nuspec create mode 100644 build/content/ImageProcessor.Plugins.WebP/web.config.transform diff --git a/build/Build.ImageProcessor.Plugins.WebP.proj b/build/Build.ImageProcessor.Plugins.WebP.proj new file mode 100644 index 000000000..c2fca90fd --- /dev/null +++ b/build/Build.ImageProcessor.Plugins.WebP.proj @@ -0,0 +1,54 @@ + + + .\ + + + + + + + + Release + _BuildOutput\ + False + $(MSBuildProjectDirectory)\$(BuildFolder) + $(BuildFolderAbsolutePath)ImageProcessor.Plugins.WebP\lib\net45 + ..\src\Plugins\ImageProcessor\ImageProcessor.Plugins.WebP\ + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/build/Build.bat b/build/Build.bat index a1c73ad56..0014058f0 100644 --- a/build/Build.bat +++ b/build/Build.bat @@ -3,19 +3,22 @@ SET version=2.0.0.0 SET webversion=4.0.0.0 SET webconfigversion=2.0.0.0 +SET webppluginversion=1.0.0.0 -ECHO Building ImageProcessor %version%, ImageProcess.Web %webversion% and ImageProcess.Web.Config %webconfigversion% +ECHO Building ImageProcessor %version%, ImageProcessor.Web %webversion%, ImageProcessor.Web.Config %webconfigversion%, and ImageProcessor.Plugins.WebP %webppluginversion% ECHO Removing _BuildOutput directory so everything is nice and clean RD _BuildOutput /q /s %windir%\Microsoft.NET\Framework\v4.0.30319\msbuild.exe "Build.ImageProcessor.proj" /p:BUILD_RELEASE=%version% /p:BUILD_COMMENT=%comment% %windir%\Microsoft.NET\Framework\v4.0.30319\msbuild.exe "Build.ImageProcessor.Web.proj" /p:BUILD_RELEASE=%webversion% /p:BUILD_COMMENT=%comment% +%windir%\Microsoft.NET\Framework\v4.0.30319\msbuild.exe "Build.ImageProcessor.Plugins.WebP.proj" /p:BUILD_RELEASE=%webppluginversion% /p:BUILD_COMMENT=%comment% ECHO Packing the NuGet release files ..\src\.nuget\NuGet.exe pack NuSpecs\ImageProcessor.nuspec -Version %version% ..\src\.nuget\NuGet.exe pack NuSpecs\ImageProcessor.Web.nuspec -Version %webversion% ..\src\.nuget\NuGet.exe pack NuSpecs\ImageProcessor.Web.Config.nuspec -Version %webconfigversion% +..\src\.nuget\NuGet.exe pack NuSpecs\ImageProcessor.Plugins.WebP.nuspec -Version %webppluginversion% PAUSE IF ERRORLEVEL 1 GOTO :showerror diff --git a/build/NuSpecs/ImageProcessor.Plugins.WebP.nuspec b/build/NuSpecs/ImageProcessor.Plugins.WebP.nuspec new file mode 100644 index 000000000..2b73746c5 --- /dev/null +++ b/build/NuSpecs/ImageProcessor.Plugins.WebP.nuspec @@ -0,0 +1,32 @@ + + + + ImageProcessor.Plugins.WebP + 1.0.0.0 + ImageProcessor.Plugins.WebP + James South + James South + http://imageprocessor.org + http://raw.githubusercontent.com/JimBobSquarePants/ImageProcessor/master/build/content/imageprocessor.128.png + false + Adds support to ImageProcessor for the WebP image format. + +If you use ImageProcessor please get in touch via my twitter @james_m_south + +Feedback is always welcome + Adds support to ImageProcessor for the WebP image format. + + James South + en-GB + 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 + + + + + + + + + + + diff --git a/build/NuSpecs/ImageProcessor.Web.Config.nuspec b/build/NuSpecs/ImageProcessor.Web.Config.nuspec index f2fb1aeb8..cbcdd4676 100644 --- a/build/NuSpecs/ImageProcessor.Web.Config.nuspec +++ b/build/NuSpecs/ImageProcessor.Web.Config.nuspec @@ -14,7 +14,7 @@ If you use ImageProcessor please get in touch via my twitter @james_m_south Feedback is always welcome - ImageProcessor.Web configuration settings for ASP.NET websites. + ImageProcessor.Web configuration settings for ASP.NET websites. James South en-GB diff --git a/build/content/ImageProcessor.Plugins.WebP/web.config.transform b/build/content/ImageProcessor.Plugins.WebP/web.config.transform new file mode 100644 index 000000000..aaa15b857 --- /dev/null +++ b/build/content/ImageProcessor.Plugins.WebP/web.config.transform @@ -0,0 +1,9 @@ + + + + + + + + + diff --git a/src/Plugins/ImageProcessor/ImageProcessor.Plugins.WebP/Properties/AssemblyInfo.cs b/src/Plugins/ImageProcessor/ImageProcessor.Plugins.WebP/Properties/AssemblyInfo.cs index d9aa6f985..8fe6f724f 100644 --- a/src/Plugins/ImageProcessor/ImageProcessor.Plugins.WebP/Properties/AssemblyInfo.cs +++ b/src/Plugins/ImageProcessor/ImageProcessor.Plugins.WebP/Properties/AssemblyInfo.cs @@ -6,11 +6,11 @@ using System.Runtime.InteropServices; // set of attributes. Change these attribute values to modify the information // associated with an assembly. [assembly: AssemblyTitle("ImageProcessor.Plugins.WebP")] -[assembly: AssemblyDescription("")] +[assembly: AssemblyDescription("Adds support to ImageProcessor for the WebP image format.")] [assembly: AssemblyConfiguration("")] [assembly: AssemblyCompany("James South")] [assembly: AssemblyProduct("ImageProcessor.Plugins.WebP")] -[assembly: AssemblyCopyright("Copyright © 2014")] +[assembly: AssemblyCopyright("Copyright © James South")] [assembly: AssemblyTrademark("")] [assembly: AssemblyCulture("")]