---
name: "rdfSetCompressionLevel"
section: "3"
platform: "linux"
package: "libgnurdf-dev"
version: "0.3.0-3"
release: "Debian 3.0 (Woody)"
platforms: ["linux"]
url: "https://new.carta.tech/rdfSetCompressionLevel"
---

# rdfSetCompressionLevel(3)

Sets the schema's gzip compression level.

## NAME

rdfSetCompressionLevel - Sets the schema's gzip compression level.

## SYNOPSIS

**#include \<gnurdf.h\>**

**void rdfSetCompressionLevel(RdfSchema \*schema, int level);**

## PARAMETERS

- **schema**

  The document schema to compress.

- **level**

  The gzip compression level.

## DESCRIPTION

Sets the schema's gzip compression level.

## SEE ALSO

[rdfGetCompressionLevel(3)](/rdfGetCompressionLevel/3.md), [rdfWriteBuffer(3)](/rdfWriteBuffer/3.md), rdfWriteFile(3)
