mirror of https://github.com/SixLabors/ImageSharp
22 changed files with 611 additions and 127 deletions
|
After Width: | Height: | Size: 12 KiB |
|
After Width: | Height: | Size: 5.5 KiB |
@ -0,0 +1,67 @@ |
|||
<?xml version="1.0" encoding="utf-8"?> |
|||
<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> |
|||
<ProjectGuid>{2CF69699-959A-44DC-A281-4E2596C25043}</ProjectGuid> |
|||
<OutputType>Library</OutputType> |
|||
<AppDesignerFolder>Properties</AppDesignerFolder> |
|||
<RootNamespace>ImageProcessor.Plugins.WebP</RootNamespace> |
|||
<AssemblyName>ImageProcessor.Plugins.WebP</AssemblyName> |
|||
<TargetFrameworkVersion>v4.0</TargetFrameworkVersion> |
|||
<FileAlignment>512</FileAlignment> |
|||
<TargetFrameworkProfile>Client</TargetFrameworkProfile> |
|||
</PropertyGroup> |
|||
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' "> |
|||
<DebugSymbols>true</DebugSymbols> |
|||
<DebugType>full</DebugType> |
|||
<Optimize>false</Optimize> |
|||
<OutputPath>bin\Debug\</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\Release\</OutputPath> |
|||
<DefineConstants>TRACE</DefineConstants> |
|||
<ErrorReport>prompt</ErrorReport> |
|||
<WarningLevel>4</WarningLevel> |
|||
</PropertyGroup> |
|||
<ItemGroup> |
|||
<Reference Include="System" /> |
|||
<Reference Include="System.Core" /> |
|||
<Reference Include="System.Drawing" /> |
|||
<Reference Include="System.Xml.Linq" /> |
|||
<Reference Include="System.Data.DataSetExtensions" /> |
|||
<Reference Include="Microsoft.CSharp" /> |
|||
<Reference Include="System.Data" /> |
|||
<Reference Include="System.Xml" /> |
|||
</ItemGroup> |
|||
<ItemGroup> |
|||
<Compile Include="Imaging\Formats\WebPFormat.cs" /> |
|||
<Compile Include="Imaging\Formats\NativeMethods.cs" /> |
|||
<Compile Include="Properties\AssemblyInfo.cs" /> |
|||
</ItemGroup> |
|||
<ItemGroup /> |
|||
<ItemGroup> |
|||
<EmbeddedResource Include="Resources\Unmanaged\x64\libwebp.dll" /> |
|||
<EmbeddedResource Include="Resources\Unmanaged\x86\libwebp.dll" /> |
|||
</ItemGroup> |
|||
<ItemGroup> |
|||
<ProjectReference Include="..\..\..\ImageProcessor\ImageProcessor.csproj"> |
|||
<Project>{3b5dd734-fb7a-487d-8ce6-55e7af9aea7e}</Project> |
|||
<Name>ImageProcessor</Name> |
|||
</ProjectReference> |
|||
</ItemGroup> |
|||
<Import Project="$(MSBuildToolsPath)\Microsoft.CSharp.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"> |
|||
</Target> |
|||
<Target Name="AfterBuild"> |
|||
</Target> |
|||
--> |
|||
</Project> |
|||
@ -0,0 +1,36 @@ |
|||
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("ImageProcessor.Plugins.WebP")] |
|||
[assembly: AssemblyDescription("")] |
|||
[assembly: AssemblyConfiguration("")] |
|||
[assembly: AssemblyCompany("James South")] |
|||
[assembly: AssemblyProduct("ImageProcessor.Plugins.WebP")] |
|||
[assembly: AssemblyCopyright("Copyright © 2014")] |
|||
[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("bf160db5-2ea7-4c85-9b0e-f1ddf2595e37")] |
|||
|
|||
// 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 Build and Revision Numbers
|
|||
// by using the '*' as shown below:
|
|||
// [assembly: AssemblyVersion("1.0.*")]
|
|||
[assembly: AssemblyVersion("1.0.0.0")] |
|||
[assembly: AssemblyFileVersion("1.0.0.0")] |
|||
@ -0,0 +1,100 @@ |
|||
@{ |
|||
ViewBag.Title = "WebP"; |
|||
} |
|||
|
|||
<article> |
|||
<h1>WebP</h1> |
|||
<section> |
|||
<div class="row"> |
|||
<div class="col-s-6"> |
|||
<h2>Resized</h2> |
|||
<img src="/images/Penguins.bmp?format=webp&width=300" /> |
|||
</div> |
|||
<div class="col-s-6"> |
|||
<h2>Cropped </h2> |
|||
<img src="/images/Penguins.bmp?format=webp&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.bmp?format=webp&width=300&filter=blackwhite" /> |
|||
</div> |
|||
<div class="col-s-6"> |
|||
<h3>comic</h3> |
|||
<img src="/images/Penguins.bmp?format=webp&width=300&filter=comic" /> |
|||
</div> |
|||
</div> |
|||
<div class="row"> |
|||
<div class="col-s-6"> |
|||
<h3>lomograph</h3> |
|||
<img src="/images/Penguins.bmp?format=webp&width=300&filter=lomograph" /> |
|||
</div> |
|||
<div class="col-s-6"> |
|||
<h3>greyscale</h3> |
|||
<img src="/images/Penguins.bmp?format=webp&width=300&filter=greyscale" /> |
|||
</div> |
|||
</div> |
|||
<div class="row"> |
|||
<div class="col-s-6"> |
|||
<h3>polaroid</h3> |
|||
<img src="/images/Penguins.bmp?format=webp&width=300&filter=polaroid" /> |
|||
</div> |
|||
<div class="col-s-6"> |
|||
<h3>sepia</h3> |
|||
<img src="/images/Penguins.bmp?format=webp&width=300&filter=sepia" /> |
|||
</div> |
|||
</div> |
|||
<div class="row"> |
|||
<div class="col-s-6"> |
|||
<h3>gotham</h3> |
|||
<img src="/images/Penguins.bmp?format=webp&width=300&filter=gotham" /> |
|||
</div> |
|||
<div class="col-s-6"> |
|||
<h3>hisatch</h3> |
|||
<img src="/images/Penguins.bmp?format=webp&width=300&filter=hisatch" /> |
|||
</div> |
|||
</div> |
|||
<div class="row"> |
|||
<div class="col-s-6"> |
|||
<h3>losatch</h3> |
|||
<img src="/images/Penguins.bmp?format=webp&width=300&filter=losatch" /> |
|||
</div> |
|||
</div> |
|||
</section> |
|||
<section> |
|||
<div class="row"> |
|||
<div class="col-s-6"> |
|||
<h2>Watermark</h2> |
|||
<img src="/images/Penguins.bmp?format=webp&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.bmp?format=webp&width=300" /> |
|||
</div> |
|||
</div> |
|||
</section> |
|||
<section> |
|||
<div class="row"> |
|||
<div class="col-s-6"> |
|||
<h2>Rotate</h2> |
|||
<img src="/images/Penguins.bmp?format=webp&width=300&rotate=angle-54|bgcolor-fff" /> |
|||
</div> |
|||
<div class="col-s-6"> |
|||
<h2>Quality</h2> |
|||
<img src="/images/Penguins.bmp?format=webp&width=300&quality=5" /> |
|||
</div> |
|||
</div> |
|||
</section> |
|||
<section> |
|||
<div class="row"> |
|||
<div class="col-s-6"> |
|||
<h2>Alpha</h2> |
|||
<img src="/images/Penguins.bmp?format=webp&width=300&alpha=50" /> |
|||
</div> |
|||
</div> |
|||
</section> |
|||
</article> |
|||
Loading…
Reference in new issue