From 92d6911b9d529b2cba188cf599f892a8a8cc7ee1 Mon Sep 17 00:00:00 2001 From: haochiyu <13737539+wang_kl@user.noreply.gitee.com> Date: Sun, 17 Dec 2023 06:03:07 +0000 Subject: [PATCH 1/2] update coders/png.c. Signed-off-by: haochiyu <13737539+wang_kl@user.noreply.gitee.com> --- coders/png.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/coders/png.c b/coders/png.c index af8d957..d4241c7 100644 --- a/coders/png.c +++ b/coders/png.c @@ -3785,13 +3785,14 @@ static Image *ReadOnePNGImage(MngInfo *mng_info, */ if (!png_get_valid(ping,ping_info,PNG_INFO_pHYs) || (LocaleCompare(text[i].key,"density") != 0 && - LocaleCompare(text[i].key,"units") != 0)) + LocaleCompare(text[i].key,"units") != 0)) { char key[MaxTextExtent]; (void) FormatLocaleString(key,MaxTextExtent,"%s",text[i].key); if ((LocaleCompare(key,"version") == 0) || + (LocaleCompare(key,"profile") == 0) || (LocaleCompare(key,"width") == 0)) (void) FormatLocaleString(key,MagickPathExtent,"png:%s", text[i].key); From 7693d1673677cbea51861b95c351c253185b4f40 Mon Sep 17 00:00:00 2001 From: haochiyu <13737539+wang_kl@user.noreply.gitee.com> Date: Fri, 29 Dec 2023 11:59:44 +0000 Subject: [PATCH 2/2] update coders/png.c. Signed-off-by: haochiyu <13737539+wang_kl@user.noreply.gitee.com> --- coders/png.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/coders/png.c b/coders/png.c index d4241c7..94280eb 100644 --- a/coders/png.c +++ b/coders/png.c @@ -40,6 +40,9 @@ /* Include declarations. +*/ +/* + */ #include "magick/studio.h" #include "magick/artifact.h"