Browse Source

更新搜图图片规则

master
feng 3 years ago
parent
commit
3304319bdf
  1. 3
      客户端/齐越慧眼/齐越慧眼/UserControls/ItemControl.xaml.cs

3
客户端/齐越慧眼/齐越慧眼/UserControls/ItemControl.xaml.cs

@ -168,7 +168,8 @@ namespace 齐越慧眼.UserControls
url= url.Substring("http:".Length); url= url.Substring("http:".Length);
} }
byte[] arr = client.DownloadData(url.Replace("_.webp", "")); url = url.Replace("_.webp", "").Replace(".avif", "");
byte[] arr = client.DownloadData(url);
if (arr.Length > 10000) if (arr.Length > 10000)
{ {
arr = GetSmallImgArr(arr); arr = GetSmallImgArr(arr);

Loading…
Cancel
Save