ImageCoderOptions

public struct ImageCoderOptions : RawRepresentable, Equatable, Hashable, Sendable

本地图片解码编码选项,默认兼容SDWebImage

  • Declaration

    Swift

    public typealias RawValue = String
  • 图片解码scale选项,默认未指定时为1

    Declaration

    Swift

    public static let scaleFactor: ImageCoderOptions
  • 图片解码缩略图像素尺寸选项,默认未指定时为zero

    Declaration

    Swift

    public static let thumbnailPixelSize: ImageCoderOptions
  • Declaration

    Swift

    public var rawValue: String
  • Declaration

    Swift

    public init(rawValue: String)
  • Undocumented

    Declaration

    Swift

    public init(_ rawValue: String)