ImportableFormat
public enum ImportableFormat : ImportableFormatterEnum definition of built-in importable image raster formats
- bmp: https://en.wikipedia.org/wiki/BMP_file_format
- gif: https://en.wikipedia.org/wiki/gif
- jpg: https://en.wikipedia.org/wiki/jpeg
- png: https://en.wikipedia.org/wiki/Portable_Network_Graphics
- tiff: https://en.wikipedia.org/wiki/tiff
- tga: https://en.wikipedia.org/wiki/Truevision_TGA
- wbmp: https://en.wikipedia.org/wiki/wbmp
- webp: https://en.wikipedia.org/wiki/webp
- any: Evaluates all of the above mentioned formats on import
- 
                  
                  DeclarationSwift case bmp
- 
                  
                  DeclarationSwift case gif
- 
                  
                  DeclarationSwift case jpg
- 
                  
                  DeclarationSwift case png
- 
                  
                  DeclarationSwift case tiff
- 
                  
                  DeclarationSwift case tga
- 
                  
                  DeclarationSwift case wbmp
- 
                  
                  DeclarationSwift case webp
- 
                  
                  DeclarationSwift case any
- 
                  
                  Creates a gdImagePtrfrom given image data.Throws GDErrorif import failed.DeclarationSwift public func imagePtr(of data: Data) throws -> gdImagePtrParametersdataThe image data of which an image should be instantiated. Return ValueThe gdImagePtrof the instantiated image.
 View on GitHub
            View on GitHub
           ImportableFormat Enumeration Reference
      ImportableFormat Enumeration Reference