Corrected Example avifRGBImageCreate Usage
Changed second parameter to image->height instead of image->weight.
diff --git a/README.md b/README.md
index 488ff09..1bb1d5f 100644
--- a/README.md
+++ b/README.md
@@ -226,7 +226,7 @@
uint32_t rgbDepth = ...; // [8, 10, 12, 16]; Does not need to match image->depth.
// If >8, rgb->pixels is uint16_t*
avifRGBFormat rgbFormat = AVIF_RGB_FORMAT_RGBA; // See choices in avif.h
-avifRGBImage * rgb = avifRGBImageCreate(image->width, image->width, rgbDepth, rgbFormat);
+avifRGBImage * rgb = avifRGBImageCreate(image->width, image->height, rgbDepth, rgbFormat);
... rgb->pixels; // fill these pixels; all channel data must be full range
... rgb->rowBytes;
avifImageRGBToYUV(image, rgb); // if alpha is present, it will also be copied/converted