Closed powerDJL closed 4 years ago
static func image(webpData: Data, scale: CGFloat, onlyFirstFrame: Bool) -> Image?{...} 希望这个方法为public public static func image(webpData: Data, scale: CGFloat, onlyFirstFrame: Bool) -> Image?{...} 可以在外部调用此方法进行webp的数据转图片操作了,毕竟这样更方便一些。 (Kingfisher 里类似方法是public的 public static func image(data: Data, scale: CGFloat, preloadAllAnimationData: Bool, onlyFirstFrame: Bool) -> Image? {...})
估计是我的版本有点旧,没升级到最新版....,看到你已经处理了。🙂
static func image(webpData: Data, scale: CGFloat, onlyFirstFrame: Bool) -> Image?{...} 希望这个方法为public public static func image(webpData: Data, scale: CGFloat, onlyFirstFrame: Bool) -> Image?{...} 可以在外部调用此方法进行webp的数据转图片操作了,毕竟这样更方便一些。 (Kingfisher 里类似方法是public的 public static func image(data: Data, scale: CGFloat, preloadAllAnimationData: Bool, onlyFirstFrame: Bool) -> Image? {...})