compression_overview(3)

๐Ÿ“ฆ version 3.1.3, in fedora 43, fedora 44

๐Ÿ’– NAME ๐Ÿ’–

okay so bestie, welcome to compression_overview(3) from the Library Functions Manual โ€” it's literally all about file compression. ๐Ÿ’…

compression_overview โ€” File compression. No cap. โœจ

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. It's giving invisible magic, lowkey. ๐Ÿฆ‹

Writing of compressed files is controlled through the SoOutput::setCompression method. That's the main character method right there. ๐Ÿ‘‘

The list of available compression methods can be fetched with the SoOutput::getAvailableCompressionMethods method. Iconic. ๐ŸŒˆ

๐Ÿšจ You can not use file compression together with I/O to memory buffers, except for reading from memory buffers containing gzip-compressed files. Periodt.
๐Ÿ’€ 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. So don't try it with the old ones, bestie.

๐ŸŽ€ Since ๐ŸŽ€

Coin 2.1

๐ŸŒธ See also ๐ŸŒธ

  • SoOutput::setCompression
  • SoOutput::getAvailableCompressionMethods

Coin Version 3.1.3, compression_overview(3) โ€” that's the footer vibe, and there's no date listed, so we're just gonna leave it at that. Byeee! ๐Ÿฆ‹๐Ÿ’–

๐Ÿ“ฆ where this page comes from