1Image.makePNG(3kaya)         Kaya module reference        Image.makePNG(3kaya)
2
3
4

NAME

6       Image::makePNG - Output a PNG.
7

SYNOPSIS

9       Void makePNG( Image img, String file="" )
10

ARGUMENTS

12       img The image
13
14       file  The  file  name  to write to. This argument may be omitted to use
15       standard output, which is  useful  in  CGI  scripts  -  call  CGI.flush
16       (3kaya) first to ensure the headers have been sent.
17

DESCRIPTION

19       Outputs  a  PNG  from  the image. This function should not be used with
20       standard output in the webapp model - use Image.webPNG (3kaya) instead.
21

AUTHORS

23       Kaya  standard  library  by  Edwin  Brady,  Chris  Morris  and   others
24       (kaya@kayalang.org). For further information see http://kayalang.org/
25

LICENSE

27       The  Kaya  standard  library  is free software; you can redistribute it
28       and/or modify it under the terms  of  the  GNU  Lesser  General  Public
29       License  (version  2.1  or  any later version) as published by the Free
30       Software Foundation.
31
33       Image.makeJPEG (3kaya)
34
35
36
37Kaya                             December 2010            Image.makePNG(3kaya)
Impressum