From: <and...@us...> - 2008-12-19 11:56:57
|
Revision: 9204 http://plplot.svn.sourceforge.net/plplot/?rev=9204&view=rev Author: andrewross Date: 2008-12-19 11:56:53 +0000 (Fri, 19 Dec 2008) Log Message: ----------- Update plscompression documentation to describe those devices that use the compression parameter and what it means. Modified Paths: -------------- trunk/doc/docbook/src/api.xml Modified: trunk/doc/docbook/src/api.xml =================================================================== --- trunk/doc/docbook/src/api.xml 2008-12-19 10:20:49 UTC (rev 9203) +++ trunk/doc/docbook/src/api.xml 2008-12-19 11:56:53 UTC (rev 9204) @@ -9906,7 +9906,7 @@ <para> Set device-compression level. Only used for drivers that provide compression. This function, if used, should be invoked - before a call to &plinit;. + before a call to &plinit;. </para> <variablelist> @@ -9919,8 +9919,16 @@ <para> 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. </para> - <!-- TODO: what is the interpretation? In general: what documentation on devices? --> </listitem> </varlistentry> </variablelist> This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |