diff --git a/src/header.rs b/src/header.rs index 1ef95df..8bc6a71 100644 --- a/src/header.rs +++ b/src/header.rs @@ -14,8 +14,8 @@ impl Default for Header { fn default() -> Self { Self { magic: QOI_MAGIC, - width: 0, - height: 0, + width: 1, + height: 1, channels: 3, colorspace: ColorSpace::default(), }