File compression 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. reading of compressed files happens in a transparent manner - there is nothing the developer has to do to support this. writing of compressed files is controlled through the sooutput::setcompression method. the list of available compression methods can be fetched with the sooutput::getavailablecompressionmethods method. you can not use file compression together with i/o to memory buffers, except for reading from memory buffers containing gzip-compressed files. for backwards compatibility with coin 2.0 and coin 1.0, compressed files must not be used. compressed files works only from coin 2.1 and upwards. since: coin 2.1 see also: sooutput::setcompression, sooutput::getavailablecompressionmethods