From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Eli Zaretskii Newsgroups: gmane.emacs.bugs Subject: bug#65188: 29.1; WEBP image not displayed Date: Thu, 10 Aug 2023 10:45:53 +0300 Message-ID: <83edkbjq6m.fsf@gnu.org> References: <83pm3vjti1.fsf@gnu.org> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="24485"; mail-complaints-to="usenet@ciao.gmane.io" Cc: 65188@debbugs.gnu.org, awrhygty@outlook.com To: Corwin Brust Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Thu Aug 10 09:46:35 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 1qU0NO-0006FB-OQ for geb-bug-gnu-emacs@m.gmane-mx.org; Thu, 10 Aug 2023 09:46:34 +0200 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1qU0N6-0006rR-SU; Thu, 10 Aug 2023 03:46:16 -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 1qU0Mt-0006qs-NH for bug-gnu-emacs@gnu.org; Thu, 10 Aug 2023 03:46:07 -0400 Original-Received: from debbugs.gnu.org ([2001:470:142:5::43]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1qU0Ms-0004NZ-Fy for bug-gnu-emacs@gnu.org; Thu, 10 Aug 2023 03:46:03 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1qU0Mr-0003gy-T7 for bug-gnu-emacs@gnu.org; Thu, 10 Aug 2023 03:46:01 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Eli Zaretskii Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Thu, 10 Aug 2023 07:46:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 65188 X-GNU-PR-Package: emacs Original-Received: via spool by 65188-submit@debbugs.gnu.org id=B65188.169165354714167 (code B ref 65188); Thu, 10 Aug 2023 07:46:01 +0000 Original-Received: (at 65188) by debbugs.gnu.org; 10 Aug 2023 07:45:47 +0000 Original-Received: from localhost ([127.0.0.1]:41231 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qU0Mc-0003gR-Rk for submit@debbugs.gnu.org; Thu, 10 Aug 2023 03:45:47 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:57562) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qU0Ma-0003gE-U3 for 65188@debbugs.gnu.org; Thu, 10 Aug 2023 03:45:45 -0400 Original-Received: from fencepost.gnu.org ([2001:470:142:3::e]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1qU0MU-0004Hz-TB; Thu, 10 Aug 2023 03:45:38 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnu.org; s=fencepost-gnu-org; h=MIME-version:References:Subject:In-Reply-To:To:From: Date; bh=whqkfeTWN0Ln/qgr2y6ciTwuaU/DdR/sQOpBtYRaa24=; b=NAm5Itjp727PykbaKuY2 RHw8zBeErnXLpP6HG7zvMyAN73UiOAovNpIJ+3MxKI0CNIpZuMMNzvXWt7QE6mgHgsYUkL8eBiSkj 5OPiz516bw4P/FtgOOlgTscNur6RAdjUmNrea5M2dZy67xF30igIcoB490NxONPImtysbWhSRYuxn Og1B8qYCLRovvHEw8c0vSMM5NOTutYfUXnBohy6/lrXqZxWF7tqc36DNRxE84W3SkiLE+lzcTeO7Q 1fKLBoseXKySgvDmdBZEgPIC6oe80sH7y5q33xdY7qRE/mr4S+jNjLVdQOghntszCUU8046oFzmWK dSx0nl4Vra7D1Q==; In-Reply-To: (message from Corwin Brust on Thu, 10 Aug 2023 02:24:38 -0500) 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:267096 Archived-At: > From: Corwin Brust > Date: Thu, 10 Aug 2023 02:24:38 -0500 > Cc: awrhygty@outlook.com, 65188@debbugs.gnu.org > > On Thu, Aug 10, 2023 at 1:34 AM Eli Zaretskii wrote: > > > > > From: awrhygty@outlook.com > > > Date: Thu, 10 Aug 2023 09:20:52 +0900 > > > > > > > > > I installed emacs 29 from: > > > https://ftp.gnu.org/gnu/emacs/windows/emacs-29/emacs-29.1_1-installer.exe > > > When find-file with WEBP images, they are not displayed visually, > > > and emacs reports: > > > Cannot display image: (Invalid image specification) > > > There exists c:/Emacs/emacs-29.1/bin/libwebp-7.dll in the same directory > > > of emacs.exe. > > > > > > image-types > > > => (bmp svg webp png gif tiff jpeg xpm xbm pbm) > > > (image-type-available-p 'webp) > > > => nil > > > > This might mean your libwebp-7.dll is incompatible with Emacs you have > > (e.g., it's a 32-bit DLL, not 64-bit DLL), or Emacs cannot load it for > > some other reason. > > > > Corwin, can you please verify that the binary on the GNU FTP site can > > display WebP images when a suitable libwebp DLL is available? The > > Emacs 29.1 I built myself here is definitely capable of displaying > > WebP images. > > > > Yes, AFAICT it is working as expected. I used ProcessExplorer > (filtering on Emacs then Search | DLL for the webp) to check Emacs > really used the DLL from the full-zip. I did this from > emacs-29.1_1.zip from GNU FTP (after first doing the same steps using > my local "cache" of the last release build's PREFIX folder, keep > around for this sort of question). > > Predictably: > (image-type-available 'webp) => t, over here Thanks. So this leaves us with the other possibility: that libwebp-7.dll on the OP's machine is the cause of the problem. Where did you download that DLL?