【发布时间】:2017-09-01 12:48:19
【问题描述】:
我目前正在使用 FFImageLoading 和 NGraphic 包。前者用于加载图像,而 NGraphic 用于在图像上进行绘图。 FFImageLoading 中的 CachedImage 将处理设置了 exif 方向的图像。然而,如果我从 NGraphics 加载图像以获取原始图像的大小,则 NGraphics 不关心 exif。
我尝试调用 FFImageLoading.ImageService.LoadFile().Success()。成功不是在召唤。
FFImageLoading.ImageService.Instance.LoadFile(path).Success((FFImageLoading.Work.ImageInformation arg1, FFImageLoading.Work.LoadingResult arg2) =>
{
var a = arg1.OriginalHeight;
var b = arg1.OriginalWidth;
})
【问题讨论】:
标签: image xamarin exif ffimageloading