Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我目前正在使用 FFImageLoading 包进行缓存等以显示在 ui 上。我不确定 FFImageLoading 是否具有调整图像本身大小的功能,以便我可以保存它并通过互联网发送。
这很简单:
var stream = await ImageService.Instance.LoadFile("someimage.png") .DownSample(width: 200) .AsPNGStreamAsync();