{# canonical_base is the OWNING tenant's origin: all 16 Peasy domains serve the same catalogue, so a page rendered by a non-owner points its canonical at the owner instead of competing with it. Falls back to this site for static/self-owned pages. #}
🍋
Menu
Image

Compression Artifact

Compression Artifact (Visual Distortion)

Compression artifacts are visible distortions introduced by lossy compression algorithms. Common artifacts include blockiness (JPEG macroblocks), ringing around sharp edges, color banding in gradients, and mosquito noise.

Detalle técnico

JPEG artifacts result from quantization of DCT coefficients, where high-frequency detail is discarded. Artifacts worsen at lower quality settings and accumulate with repeated saves (generation loss).

Ejemplo

```javascript
// Image compression via Canvas
canvas.toBlob(
  blob => console.log(`Size: ${(blob.size/1024).toFixed(0)} KB`),
  'image/jpeg',
  0.8  // quality: 0.0 (smallest) to 1.0 (best)
);

// WebP output (25-34% smaller than JPEG)
canvas.toBlob(cb, 'image/webp', 0.8);
```

Formatos relacionados

Herramientas relacionadas

Términos relacionados