1Image.webJPEG(3kaya) Kaya module reference Image.webJPEG(3kaya)
2
3
4
6 Image::webJPEG - Get a JPEG for webmain
7
9 WebImage webJPEG( Image img, [Pair<String, String> ] extraheaders, Int
10 qual=-1 )
11
13 img The image
14
15 extraheaders Any additional HTTP headers to send with the image
16
17 qual The image quality (0..95). Alternatively, any negative number will
18 use the default output quality.
19
21 Returns a JPEG image suitable for returning from a webapp's webmain
22 function.
23
25 Kaya standard library by Edwin Brady, Chris Morris and others
26 (kaya@kayalang.org). For further information see http://kayalang.org/
27
29 The Kaya standard library is free software; you can redistribute it
30 and/or modify it under the terms of the GNU Lesser General Public
31 License (version 2.1 or any later version) as published by the Free
32 Software Foundation.
33
35 Image.webPNG (3kaya)
36
37
38
39Kaya December 2010 Image.webJPEG(3kaya)