Make calling avifImageYUVToRGB() upon reading an avif optional
diff --git a/examples/avif_example1.c b/examples/avif_example1.c
index a1fa0df..727c1e6 100644
--- a/examples/avif_example1.c
+++ b/examples/avif_example1.c
@@ -53,6 +53,7 @@
         avifImage * decoded = avifImageCreateEmpty();
         avifResult decodeResult = avifImageRead(decoded, &raw);
         if (decodeResult == AVIF_RESULT_OK) {
+            avifImageYUVToRGB(decoded);
             for (int j = 0; j < height; ++j) {
                 for (int i = 0; i < width; ++i) {
                     for (int plane = 0; plane < 3; ++plane) {
diff --git a/src/read.c b/src/read.c
index a74dc4c..831af8f 100644
--- a/src/read.c
+++ b/src/read.c
@@ -701,9 +701,6 @@
     }
 #endif
 
-    // Make this optional?
-    avifImageYUVToRGB(image);
-
     if (codec) {
         avifCodecDestroy(codec);
     }