WBMPFormatter
private struct WBMPFormatter : LibGdParametrizableFormatter
Defines a formatter to be used on WBMP import & export conversions
-
The parameters to apply on exports
Declaration
Swift
fileprivate let exportParameters: Int32
-
Initializes a new instance of
Self
using index as foreground color on exportsDeclaration
Swift
init(index: Int32)
Parameters
index
The index of the foreground color used on exports. Any other value will be considered as background and will not be written. See Reference
-
Function pointer to libgd’s built-in wbmp image create function
Declaration
Swift
fileprivate let importFunction: (Int32, UnsafeMutableRawPointer) -> gdImagePtr?
-
Function pointer to libgd’s built-in wbmp image export function
Declaration
Swift
fileprivate let exportFunction: (gdImagePtr, UnsafeMutablePointer<Int32>, Int32) -> UnsafeMutableRawPointer?