1compression_overview(3Version) compression_overview(3Version)
2
3
4
6 compression_overview - File compression
7
8 Coin can support reading and writing Inventor and VRML files compressed
9 with either gzip or bzip2 (as of yet - more formats may come in the
10 future). This functionality is of course only enabled when Coin can
11 link with the corresponding compression libraries.
12
13 Reading of compressed files happens in a transparent manner - there is
14 nothing the developer has to do to support this.
15
16 Writing of compressed files is controlled through the
17 SoOutput::setCompression method.
18
19 The list of available compression methods can be fetched with the
20 SoOutput::getAvailableCompressionMethods method.
21
22 You can not use file compression together with I/O to memory buffers,
23 except for reading from memory buffers containing gzip-compressed
24 files.
25
26 For backwards compatibility with Coin 2.0 and Coin 1.0, compressed
27 files must not be used. Compressed files works only from Coin 2.1 and
28 upwards.
29
30 Since
31 Coin 2.1
32
33 See also
34 SoOutput::setCompression, SoOutput::getAvailableCompressionMethods
35
36Coin 2.5.0" compression_overview(3Version)