profile=DestroyStringInfo(profile);
break;
}
- if (LocaleCompare(keyword,"profile") == 0)
+ if (LocaleCompare(keyword,"profile") == 0)
break;
(void) SetImageProperty(image,keyword,options,exception);
break;
*/
status=PersistPixelCache(image,cache_filename,MagickTrue,&offset,exception);
if (status == MagickFalse)
- ThrowReaderException(CacheError,"UnableToPersistPixelCache");
+ {
+ status=SetImageExtent(image,image->columns,image->rows,exception);
+ ThrowReaderException(CacheError,"UnableToPersistPixelCache");
+ }
if (EOFBlob(image) != MagickFalse)
{
ThrowFileException(exception,CorruptImageError,"UnexpectedEndOfFile",