Skip to content

Commit 7acaf6c

Browse files
author
Cristy
committed
https://github.com/ImageMagick/ImageMagick/issues/8416
1 parent a8ee3b2 commit 7acaf6c

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

magick/image.c

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2982,6 +2982,8 @@ MagickExport MagickBooleanType SetImageInfo(ImageInfo *image_info,
29822982
image_info->affirm=MagickTrue;
29832983
(void) CopyMagickString(image_info->magick,magic,MaxTextExtent);
29842984
GetPathComponent(image_info->filename,CanonicalPath,filename);
2985+
if (IsStringTrue(GetImageOption(image_info,"filename:literal")) != MagickFalse)
2986+
GetPathComponent(image_info->filename,SubcanonicalPath,filename);
29852987
(void) CopyMagickString(image_info->filename,filename,MaxTextExtent);
29862988
}
29872989
}

0 commit comments

Comments
 (0)