all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: awrhygty@outlook.com
To: Eli Zaretskii <eliz@gnu.org>
Cc: 63231@debbugs.gnu.org
Subject: bug#63231: 28.1; image-converter should remove warning messages while conversion
Date: Tue, 02 May 2023 22:56:28 +0900	[thread overview]
Message-ID: <TYZPR01MB39203E40AFF8AA7950D5C352C36F9@TYZPR01MB3920.apcprd01.prod.exchangelabs.com> (raw)
In-Reply-To: <838re7ndhu.fsf@gnu.org> (Eli Zaretskii's message of "Tue, 02 May 2023 08:06:26 -0400")

Eli Zaretskii <eliz@gnu.org> writes:

>> 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?

If error number is zero, warning message is not so important.
Messaging the warning in echo area will be enough.





      reply	other threads:[~2023-05-02 13:56 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
2023-05-02 13:56   ` awrhygty [this message]

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=TYZPR01MB39203E40AFF8AA7950D5C352C36F9@TYZPR01MB3920.apcprd01.prod.exchangelabs.com \
    --to=awrhygty@outlook.com \
    --cc=63231@debbugs.gnu.org \
    --cc=eliz@gnu.org \
    /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.