From: Eli Zaretskii <eliz@gnu.org>
To: awrhygty@outlook.com
Cc: 63231@debbugs.gnu.org
Subject: bug#63231: 28.1; image-converter should remove warning messages while conversion
Date: Tue, 02 May 2023 15:07:09 +0300 [thread overview]
Message-ID: <838re7ndhu.fsf@gnu.org> (raw)
In-Reply-To: <TYZPR01MB3920383866B724A6F9A11C62C36F9@TYZPR01MB3920.apcprd01.prod.exchangelabs.com> (awrhygty@outlook.com)
> From: awrhygty@outlook.com
> Date: Tue, 02 May 2023 17:02:21 +0900
>
>
> I have a WEBP image with a GRAY ICC profile which can be converted into
> PNG format successfully by ImageMagick command,
> but with a warning message such like:
>
> magick convert test.webp test.png
> convert: profile 'icc': 'GRAY': Gray color space not permitted on RGB PNG `test.png' @ warning/png.c/MagickPNGWarningHandler/1748.
>
> When trying to display the image within a emacs buffer,
> image-converter takes both standard output and standard error while
> converting it into a PNG data, and emacs fails to display the image.
>
> A simple avoiding way is adding -quiet option to converting command.
> Ideally, image-converter should split standard error into another buffer.
What if the errors are fatal? don't we want to present the user with
the error messages?
next prev parent reply other threads:[~2023-05-02 12:07 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2023-05-02 8:02 bug#63231: 28.1; image-converter should remove warning messages while conversion awrhygty
2023-05-02 12:07 ` Eli Zaretskii [this message]
2023-05-02 13:56 ` awrhygty
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=838re7ndhu.fsf@gnu.org \
--to=eliz@gnu.org \
--cc=63231@debbugs.gnu.org \
--cc=awrhygty@outlook.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this external index
https://git.savannah.gnu.org/cgit/emacs.git
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.