Compression
On this page
Digital artefacts: flat blocks, real JPEG DCT, or H.264-like video with deblocking.
| Studio category | Media & Glitch |
|---|---|
| Pipeline stage | Post Colour (display colour, after the colour nodes) |
| Default position | 40 in its stage |
| Works in | Live views and Image mode |
| C++ / Blueprint | FGradeLayer::Effects.Compression (FGradeCompression) |
Manual: Compression. Every numeric parameter can be set at runtime with Set Layer Parameter using the path shown (see Animation).
Parameters
Digital artefacts: JPEG-like blocks and chroma bleeding (VHS/webcam looks).
| Parameter | Blueprint path | Values | Default | Description |
|---|---|---|---|---|
| Enabled | Effects.Compression.Enabled | on/off | off | Turns this on or off (the other values are kept while it is off). |
| Amount | Effects.Compression.Amount | 0..100 | 40 | |
| Block Size | Effects.Compression.BlockSize | 2..32 | 8 | Block size in pixels. |
| Chroma Bleed | Effects.Compression.ChromaBleed | 0..100 | 0 | Horizontal colour smear, 0..100. |
| Codec | EGradeCompressionCodec | JPEG |
DCT
| Parameter | Blueprint path | Values | Default | Description |
|---|---|---|---|---|
| Steepness | Effects.Compression.Steepness | 0.25..4 | 1 | Quantisation steepness from low to high frequencies (1 = linear). |
| Chroma Bias | Effects.Compression.ChromaBias | 0.25..4 | 1.5 | Extra quantisation of the chroma (more colour banding), 0.25..4. |
| Prequantization | Effects.Compression.Prequantization | 0..100 | 0 | RGB posterisation before the DCT, 0..100. |
| Chroma Downsample | Effects.Compression.ChromaDownsample | 0..3, integer | 1 | Chroma resolution divided by 2^N before quantisation (Video uses 1 = 4:2:0). |
Deblocking
| Parameter | Blueprint path | Values | Default | Description |
|---|---|---|---|---|
| Deblocking | EGradeDeblockMode | Adaptive | ||
| Deblock Strength | Effects.Compression.DeblockStrength | 0..100 | 50 | Pixels filtered on each side of a block edge (Uniform) or the activity threshold (Adaptive), 0..100. |
| Edge Preservation | Effects.Compression.EdgePreservation | 0..100 | 50 | Keeps real edges sharp while deblocking, 0..100. |
Enumerations
Compression Codec (EGradeCompressionCodec)
| Value | Meaning |
|---|---|
| Blocks | Classic look: flat blocks plus chroma bleed (cheapest). |
| JPEG | Real DCT quantisation on 8x8 blocks (JPEG). |
| Video (H.264-like) | DCT on 4x4 blocks, chroma subsampling and a deblocking filter (H.264-like video). |
Deblock Mode (EGradeDeblockMode)
| Value | Meaning |
|---|---|
| Off | - |
| Uniform | Same strength on every block edge. |
| Adaptive | Per-block activity: filters flat blocks, keeps real edges. |
Generated from the GRADE C++ headers. Back to the reference index.