1PLSCOMPRESSION(3plplot)           PLplot API           PLSCOMPRESSION(3plplot)
2
3
4

NAME

6       plscompression - Set device-compression level
7

SYNOPSIS

9       plscompression(compression)
10

DESCRIPTION

12       Set  device-compression level.  Only used for drivers that provide com‐
13       pression.  This function, if used, should be invoked before a  call  to
14       plinit(3plplot).
15
16       Redacted form: plscompression(compression)
17
18       This function is used in example 31.
19

ARGUMENTS

21       compression (PLINT, input)
22              The desired compression level. This is a device-dependent value.
23              Currently only the jpeg and png devices use  these  values.  For
24              jpeg   value is the jpeg quality which should normally be in the
25              range 0-95. Higher values denote higher quality and hence larger
26              image sizes. For png values are in the range -1 to 99. Values of
27              0-9 are taken as the  compression level for zlib. A value of  -1
28              denotes the default zlib  compression level. Values in the range
29              10-99 are divided by 10 and  then used as the  zlib  compression
30              level.  Higher compression levels correspond to greater compres‐
31              sion and small file sizes at the expense of more computation.
32
33

AUTHORS

35       Geoffrey Furnish and Maurice LeBrun wrote and  maintain  PLplot.   This
36       man  page  was  automatically  generated from the DocBook source of the
37       PLplot  documentation,  maintained  by  Alan  W.   Irwin   and   Rafael
38       Laboissiere.
39

SEE ALSO

41       PLplot documentation at http://plplot.sourceforge.net/resources.
42
43
44
45                                  July, 2010           PLSCOMPRESSION(3plplot)
Impressum