...
diff --git a/MagickCore/image.c b/MagickCore/image.c
index 6212171..5c09fca 100644
--- a/MagickCore/image.c
+++ b/MagickCore/image.c
@@ -2430,7 +2430,7 @@
   assert(exception != (ExceptionInfo *) NULL);
   assert(exception->signature == MagickCoreSignature);
   image->storage_class=storage_class;
-  return(MagickTrue);
+  return(SyncImagePixelCache(image,exception));
 }
 
 /*