简体   繁体   English

如何在Windows Phone 8(Silverlight)中显示WebP图像

[英]How to show WebP images in Windows Phone 8 (Silverlight)

How do I show WebP images in Windows Phone 8's Image control where it only supports jpeg and png. 如何在Windows Phone 8的Image控件中显示WebP图像,该控件仅支持jpeg和png。 I have found a decoder for GIFs but nothing for WebP. 我找到了用于GIF的解码器,但是没有用于WebP的解码器。 Help. 救命。

I have a library for decoding WebP in Universal Windows Platform (Windows 10). 我有一个用于在通用Windows平台(Windows 10)中解码WebP的库。 If you're targeting WP10 you can just install the SDK but since you're using 8.0 you can try working with the source code: 如果您以WP10为目标,则可以仅安装SDK,但是由于您使用的是8.0,因此可以尝试使用源代码:

https://github.com/zumicts/Universal.WebP https://github.com/zumicts/Universal.WebP

Go into properties of all the C++ projects and change the target platform to WP8. 进入所有C ++项目的属性,然后将目标平台更改为WP8。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM