diff options
| author | Luke Pulverenti <luke.pulverenti@gmail.com> | 2014-08-28 00:32:45 -0400 |
|---|---|---|
| committer | Luke Pulverenti <luke.pulverenti@gmail.com> | 2014-08-28 00:32:45 -0400 |
| commit | d2494148f78d258ea59809c3b296234bdc64d73a (patch) | |
| tree | c763b372c5ff90489a18324ca131d7712f62be1a /MediaBrowser.Server.Mono | |
| parent | f4781b0bae28ad0c6f6d324e74c8cd0bc64a14a9 (diff) | |
Support webp image output
Diffstat (limited to 'MediaBrowser.Server.Mono')
| -rw-r--r-- | MediaBrowser.Server.Mono/Imazen.WebP.config | 5 | ||||
| -rw-r--r-- | MediaBrowser.Server.Mono/MediaBrowser.Server.Mono.csproj | 12 |
2 files changed, 17 insertions, 0 deletions
diff --git a/MediaBrowser.Server.Mono/Imazen.WebP.config b/MediaBrowser.Server.Mono/Imazen.WebP.config new file mode 100644 index 0000000000..34d8c73c11 --- /dev/null +++ b/MediaBrowser.Server.Mono/Imazen.WebP.config @@ -0,0 +1,5 @@ +<configuration> + <dllmap dll="libwebp" target="./libwebp/linux/lib/libwebp.so" os="linux"/> + <dllmap dll="libwebp" target="./libwebp/linux/lib64/libwebp.so" os="linux"/> + <dllmap dll="libwebp" target="./libwebp/mac/libwebp.dylib" os="osx"/> +</configuration> diff --git a/MediaBrowser.Server.Mono/MediaBrowser.Server.Mono.csproj b/MediaBrowser.Server.Mono/MediaBrowser.Server.Mono.csproj index 5d2db29104..a778809d2c 100644 --- a/MediaBrowser.Server.Mono/MediaBrowser.Server.Mono.csproj +++ b/MediaBrowser.Server.Mono/MediaBrowser.Server.Mono.csproj @@ -145,6 +145,14 @@ <None Include="app.config" /> </ItemGroup> <ItemGroup> + <Content Include="..\ThirdParty\libwebp\linux\x86\libwebp.so"> + <Link>libwebp\linux\lib\libwebp.so</Link> + <CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory> + </Content> + <Content Include="..\ThirdParty\libwebp\linux\x86_64\libwebp.so"> + <Link>libwebp\linux\lib64\libwebp.so</Link> + <CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory> + </Content> <Content Include="..\ThirdParty\SQLite3\windows\x86\3.8.2\sqlite3.dll"> <Link>sqlite3.dll</Link> <CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory> @@ -165,5 +173,9 @@ <Link>System.Data.SQLite.dll.config</Link> <CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory> </Content> + <Content Include="Imazen.WebP.dll.config"> + <Link>Imazen.WebP.dll.config</Link> + <CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory> + </Content> </ItemGroup> </Project>
\ No newline at end of file |
