PNGFormatter
private struct PNGFormatter : LibGdFormatter
Defines a formatter to be used on PNG import & export conversions
-
Function pointer to libgd’s built-in png image create function
Declaration
Swift
fileprivate let importFunction: (Int32, UnsafeMutableRawPointer) -> gdImagePtr?
-
Function pointer to libgd’s built-in png image export function
Declaration
Swift
fileprivate let exportFunction: (gdImagePtr, UnsafeMutablePointer<Int32>) -> UnsafeMutableRawPointer?