ExportableFormatter
private protocol ExportableFormatter
Defines a formatter to be used on export (from gdImage to data/file) conversions
-
Creates a data representation of given
gdImagePtr.Throws
GDErrorif export failed.Declaration
Swift
func data(of imagePtr: gdImagePtr) throws -> DataParameters
imagePtrThe
gdImagePtrof which a data representation should be instantiated.Return Value
The (raw)
Dataof the image
View on GitHub