From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: awrhygty@outlook.com Newsgroups: gmane.emacs.bugs Subject: bug#63231: 28.1; image-converter should remove warning messages while conversion Date: Tue, 02 May 2023 22:56:28 +0900 Message-ID: References: Mime-Version: 1.0 Content-Type: text/plain Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="15686"; mail-complaints-to="usenet@ciao.gmane.io" Cc: 63231@debbugs.gnu.org To: Eli Zaretskii Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Tue May 02 15:57:21 2023 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane-mx.org Original-Received: from lists.gnu.org ([209.51.188.17]) by ciao.gmane.io with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1ptqVM-0003wD-TJ for geb-bug-gnu-emacs@m.gmane-mx.org; Tue, 02 May 2023 15:57:21 +0200 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1ptqV9-0000vt-8v; Tue, 02 May 2023 09:57:07 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1ptqV5-0000v7-1y for bug-gnu-emacs@gnu.org; Tue, 02 May 2023 09:57:03 -0400 Original-Received: from debbugs.gnu.org ([209.51.188.43]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1ptqV4-0003Mn-PB for bug-gnu-emacs@gnu.org; Tue, 02 May 2023 09:57:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1ptqV4-00051N-C7 for bug-gnu-emacs@gnu.org; Tue, 02 May 2023 09:57:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: awrhygty@outlook.com Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Tue, 02 May 2023 13:57:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 63231 X-GNU-PR-Package: emacs Original-Received: via spool by 63231-submit@debbugs.gnu.org id=B63231.168303580419278 (code B ref 63231); Tue, 02 May 2023 13:57:02 +0000 Original-Received: (at 63231) by debbugs.gnu.org; 2 May 2023 13:56:44 +0000 Original-Received: from localhost ([127.0.0.1]:44748 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1ptqUl-00050s-W2 for submit@debbugs.gnu.org; Tue, 02 May 2023 09:56:44 -0400 Original-Received: from mail-sgaapc01olkn2080.outbound.protection.outlook.com ([40.92.53.80]:13920 helo=APC01-SG2-obe.outbound.protection.outlook.com) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1ptqUj-00050j-Gd for 63231@debbugs.gnu.org; Tue, 02 May 2023 09:56:42 -0400 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=ex8I9lXuj7mAVmjD97vtV+5nOqgxuCLiybQk4Ja0UtYecOdyugKpQgyLfSwi1QM9P8dSaVVmYdJRa/x2chF4E4YTU+mLaxdGx2EZOQK/XYPonHQO1aAR3RxJnFMn65w92g8d6U6NKwKFhxz+Julg/NkDdnCChIvP7sj8BDorYzqVpBMJNV80neyUWzkbWylv9Oh3ZpP9nKxA3hgEfsiO21lobY3MtfVAOkjAbsB7g7iXSLwu4UIv9tO9lvCL4UEhOlwjojmkiTumx0BGTttsknHoRbXeTJqONbj5eE2rIe279TGOA/8WZNkGCay4z+3JoNil+7UXNcS9laUirfEdjA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector9901; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-AntiSpam-MessageData-ChunkCount:X-MS-Exchange-AntiSpam-MessageData-0:X-MS-Exchange-AntiSpam-MessageData-1; bh=P5kwMsoLoMcMw6PBXCoT+D17OJezNMDSlkwnrjSzMR8=; b=C1/Z/8phqWD+8ylfJU6DkXDfQuq6SbqdzmgM6W24peSUilPkUVKn7Hv8vl6JckjLyOeHZ167mulcq4IpByhpLSQHa8Ihh68ZfNTYP8CEd0ASV0Fkn5wdX0kKWW3JxKwSGb2hBRmVbjLh07hEMwxqUwSrw18bg9iPPzM8EAA/BBDj/rmlJPkGa6w4qxl1r05981tSH6/YJFTHYt6M4qG5Gj7UGE2A7vLgwwQoc2ld5fXQXNcJS0iWmPnxHoLdBPCCjktl6WVpbHIxk3MjjVe5gsDhpbrDuTTVTlqT9rOgEmc2ZAY9fWQprpbqzPY/C18hxDC4QsScDxZwneRgOVTz3w== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=none; dmarc=none; dkim=none; arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=outlook.com; s=selector1; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=P5kwMsoLoMcMw6PBXCoT+D17OJezNMDSlkwnrjSzMR8=; b=Vy9w6AuMIii7hZvqcvcxpgjluZe1r5jsbwQNN9TxDiXahoxurs2lV4a52l0itBLvBpq2gRycQZKb3xzSQPQAGTjyBI6cr+0o3QlZ6NB57Y1+AJdP0gg7jK4lnLTxeTGmj23WS2vVVeI9ZSbUHNBqzHIPHhmnaRtflj4yrJa/Lvly23R/o/z5HG+Kta2Ij5SLtaFr4XEQdl1ChdMD3ZT1Cudu+hpVzfavJpWl7ohoOzHkRsbLoTdPKlxAsMuth8rgtuLe7pX2RIl09MSQDFvPF2eIs/T8h8m4gbWX4vp4Id6qBeH36wLgMXZbbegnNwm7tm8mZZnSq5pWXHhIqOJCOA== Original-Received: from TYZPR01MB3920.apcprd01.prod.exchangelabs.com (2603:1096:400:30::11) by TYZPR01MB4739.apcprd01.prod.exchangelabs.com (2603:1096:400:288::9) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.6340.29; Tue, 2 May 2023 13:56:33 +0000 Original-Received: from TYZPR01MB3920.apcprd01.prod.exchangelabs.com ([fe80::7d8f:3143:113e:16f5]) by TYZPR01MB3920.apcprd01.prod.exchangelabs.com ([fe80::7d8f:3143:113e:16f5%6]) with mapi id 15.20.6340.030; Tue, 2 May 2023 13:56:33 +0000 In-Reply-To: <838re7ndhu.fsf@gnu.org> (Eli Zaretskii's message of "Tue, 02 May 2023 08:06:26 -0400") X-TMN: [Ur1b0S/UURybbDOSwPKNenyz+gRLujNz] X-ClientProxiedBy: OS0P286CA0042.JPNP286.PROD.OUTLOOK.COM (2603:1096:604:9e::11) To TYZPR01MB3920.apcprd01.prod.exchangelabs.com (2603:1096:400:30::11) X-Microsoft-Original-Message-ID: <86cz3i96r7.fsf@outlook.com> X-MS-Exchange-MessageSentRepresentingType: 1 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: TYZPR01MB3920:EE_|TYZPR01MB4739:EE_ X-MS-Office365-Filtering-Correlation-Id: ee909da7-e5c9-4b5c-0d4f-08db4b150949 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: WhlhGJnB6Pcj14LLh9IhciWhnkrau/hgM18Vc42ggwX1qlfj73l+VyA9921UwlZq7X6QNCImc4drmSkd1DpaDtcl1NhjZSzXcRcHeYOVguvD17hkTtLNKQMhgTNJM1Ux3rjFnwNJ74q6o3N41QHChddk65koSPnKg7Nk7GKXX+nC9Iyih6B70b2FKBGAaKc8bsVW57F4KS8pQIvw7jPcRoTO7CsylEEsY/YoBKIckVpijObLEIQOAxsSw8D94Sd/l+AGUeKDc1nW0jXCBTjDO0ie+9fuhujaPwV2fLYcWONgf3QfvwOUZmNgjrTeFqbUIyuG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DDI691eSFBSMbdh3+iwgsEgpGoV8VDM8df2MGVreszpH8eFON686YZ7W/wSXkdo2HFq QcpcQrDyhACUkLCgnHYY0t2dsf9qEqhYCBMqKTPvhCPS4QaFLkvgeo6UbIfIAGQnrMPU8+7npNKQSX1CG2LogOTx7fTm9iuDcX X-OriginatorOrg: outlook.com X-MS-Exchange-CrossTenant-Network-Message-Id: ee909da7-e5c9-4b5c-0d4f-08db4b150949 X-MS-Exchange-CrossTenant-AuthSource: TYZPR01MB3920.apcprd01.prod.exchangelabs.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 02 May 2023 13:56:33.0482 (UTC) X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted X-MS-Exchange-CrossTenant-Id: 84df9e7f-e9f6-40af-b435-aaaaaaaaaaaa X-MS-Exchange-CrossTenant-RMS-PersistedConsumerOrg: 00000000-0000-0000-0000-000000000000 X-MS-Exchange-Transport-CrossTenantHeadersStamped: TYZPR01MB4739 X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Original-Sender: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Xref: news.gmane.io gmane.emacs.bugs:260928 Archived-At: Eli Zaretskii 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.