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

NAME

6       Image::makeJPEG - Output a JPEG.
7

SYNOPSIS

9       Void makeJPEG( Image img, Int qual=-1, String file="" )
10

ARGUMENTS

12       img The image
13
14       qual The image quality (0..95). Alternatively, any negative number will
15       use the default output quality.
16
17       file The file name to write to. This argument may  be  omitted  to  use
18       standard  output,  which  is  useful  in  CGI  scripts - call CGI.flush
19       (3kaya) first to ensure the headers have been sent.
20

DESCRIPTION

22       Outputs a JPEG from the image. This function should not  be  used  with
23       standard  output  in  the  webapp  model  -  use  Image.webJPEG (3kaya)
24       instead.
25

AUTHORS

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

LICENSE

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