.TH "coin_compression_overview" 3 "Tue Dec 26 2023 17:59:22" "Version 4.0.2" "Coin" \" -*- nroff -*- .ad l .nh .SH NAME coin_compression_overview \- File compression .PP Coin can support reading and writing Inventor and VRML files compressed with either gzip or bzip2 (as of yet - more formats may come in the future)\&. This functionality is of course only enabled when Coin can link with the corresponding compression libraries\&. .PP Reading of compressed files happens in a transparent manner - there is nothing the developer has to do to support this\&. .PP Writing of compressed files is controlled through the \fBSoOutput::setCompression\fP method\&. .PP The list of available compression methods can be fetched with the \fBSoOutput::getAvailableCompressionMethods\fP method\&. .PP You cannot use file compression together with I/O to memory buffers, except for reading from memory buffers containing gzip-compressed files\&. .PP For backwards compatibility with Coin \fB2\&.0\fP and Coin \fB1\&.0\fP, compressed files must not be used\&. Compressed files works only from Coin \fB2\&.1\fP and upwards\&. .PP \fBSince\fP .RS 4 Coin \fB2\&.1\fP .RE .PP \fBSee also\fP .RS 4 \fBSoOutput::setCompression\fP, \fBSoOutput::getAvailableCompressionMethods\fP .RE .PP