BMPFormatter
private struct BMPFormatter : LibGdParametrizableFormatter
Defines a formatter to be used on BMP import & export conversions
-
The parameters to apply on exports
Declaration
Swift
fileprivate var exportParameters: Int32
-
Initializes a new instance of
Self
using given RLE compression option on exportsDeclaration
Swift
init(compression: Bool = false)
Parameters
compression
Indicates whether to apply RLE compression on export or not. Defaults to
false
. See Reference -
Function pointer to libgd’s built-in bmp image create function
Declaration
Swift
fileprivate let importFunction: (Int32, UnsafeMutableRawPointer) -> gdImagePtr?
-
Function pointer to libgd’s built-in bmp image export function
Declaration
Swift
fileprivate let exportFunction: (gdImagePtr, UnsafeMutablePointer<Int32>, Int32) -> UnsafeMutableRawPointer?