Skip to content
Permalink
Browse files

Return true when the xmp profile is corrupt instead of false to make …

…sure the rest of the image can be read.
  • Loading branch information...
dlemstra committed Dec 16, 2018
1 parent 5fd7acc commit b0ae0883f86f7e839aac42832be91b9adaf7508e
Showing with 1 addition and 1 deletion.
  1. +1 −1 MagickCore/profile.c
@@ -1745,7 +1745,7 @@ static MagickBooleanType SetImageProfileInternal(Image *image,const char *name,
{
(void) ThrowMagickException(exception,GetMagickModule(),ImageWarning,
"CorruptImageProfile","`%s'",name);
return(MagickFalse);
return(MagickTrue);
}
if (image->profiles == (SplayTreeInfo *) NULL)
image->profiles=NewSplayTree(CompareSplayTreeString,RelinquishMagickMemory,

0 comments on commit b0ae088

Please sign in to comment.
You can’t perform that action at this time.