WEBPFormatter

private struct WEBPFormatter : LibGdFormatter

Defines a formatter to be used on WEBP import & export conversions

  • Function pointer to libgd’s built-in webp image create function

    Declaration

    Swift

    fileprivate let importFunction: (Int32, UnsafeMutableRawPointer) -> gdImagePtr?
  • Function pointer to libgd’s built-in webp image export function

    Declaration

    Swift

    fileprivate let exportFunction: (gdImagePtr, UnsafeMutablePointer<Int32>) -> UnsafeMutableRawPointer?