Collection
extension Collection where Element: ImportableFormatter
-
Creates a
gdImagePtrfrom given image data.Throws
GDErrorif import failed.Declaration
Swift
fileprivate func imagePtr(of data: Data) throws -> gdImagePtrParameters
dataThe image data of which an image should be instantiated.
Return Value
The
gdImagePtrof the instantiated image.
View on GitHub