.\" This page was automatically generated.  Do not edit!
.\"
.TH PLSCOMPRESSION 3plplot  "December, 2018" "" "PLplot API"
.SH NAME
\fBplscompression\fP - Set device-compression level
.SH SYNOPSIS
\fBplscompression\fP(\fIcompression\fP)
.SH DESCRIPTION

.P
Set device-compression level.  Only used for drivers that provide compression.  This function, if used, should be invoked before a call to \fBplinit\fP(3plplot).
.P
Redacted form: \fBplscompression(compression)\fP
.P
This function is used in example 31.
.SH ARGUMENTS
.TP
\fIcompression\fP (\fBPLINT\fP(3plplot), input)
The desired compression level. This is a device-dependent value. Currently only the jpeg and png devices use these values. For jpeg value is the jpeg quality which should normally be in the range 0-95. Higher values denote higher quality and hence larger image sizes. For png values are in the range -1 to 99. Values of 0-9 are taken as the compression level for zlib. A value of -1 denotes the default zlib compression level. Values in the range 10-99 are divided by 10 and then used as the zlib compression level. Higher compression levels correspond to greater compression and small file sizes at the expense of more computation.

.SH AUTHORS
Many developers (who are credited at http://plplot.org/credits.php)
have contributed to PLplot over its long history.
.SH SEE ALSO
PLplot documentation at http://plplot.org/documentation.php.
