1Image.create(3kaya) Kaya module reference Image.create(3kaya)
2
3
4
6 Image::create - Create an image from a file
7
9 Image create( String fname, ImageType ty )
10
12 fname The filename of the image to load
13
14 ty Whether the image to be loaded is PNG or JPEG
15
17 Loads an image from a file and returns the resulting Image.Image
18 [1m(3kaya)
19
20
22 Kaya standard library by Edwin Brady, Chris Morris and others
23 (kaya@kayalang.org). For further information see http://kayalang.org/
24
26 The Kaya standard library is free software; you can redistribute it
27 and/or modify it under the terms of the GNU Lesser General Public
28 License (version 2.1 or any later version) as published by the Free
29 Software Foundation.
30
32 Image.create (3kaya)
33
34
35
36Kaya December 2010 Image.create(3kaya)