png img - part-cw/lambdanative GitHub Wiki
(png->img fname)
png->img returns a loaded PNG file as an image texture
Parameter | Description |
---|---|
fname | PNG file to obtain information from |
Example
Example 1: Load a PNG image as a texture during the initialization of an application.
(glgui-image gui 50 50 64 64 (png->img (string-append (system-directory)
(system-pathseparator) "panda-icon.png")) White)