12 2016 档案

摘要:最近在工作遇到一个问题,在将png图片转jpeg时,透明区域被填充成黑色,通过网上的介绍找到了解决的方法,现在总结下分享给同样遇到这个问题的朋友们,感兴趣的可以通过本文详细学习下。 在用canvas将png图片转jpeg时,发现透明区域被填充成黑色。 代码如下: XML/HTML Code复制内容到 阅读全文

posted @ 2016-12-30 16:20 CeleryCabbage 阅读(1477) 评论(0) 推荐(0)

摘要:1 1.自定义实现IPrincipal接口的类 2 interface ICustomPrincipal : IPrincipal 3 { 4 string Identifier { get; set; } 5 string IdentityType { get; set; } 6 } 7 public class CustomPrincipal : ICusto... 阅读全文

posted @ 2016-12-20 21:50 CeleryCabbage 阅读(910) 评论(0) 推荐(0)

导航