From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Alan Third Newsgroups: gmane.emacs.bugs Subject: bug#51381: HEIF image format support Date: Wed, 22 Dec 2021 20:53:25 +0000 Message-ID: References: <87fsspw2mr.fsf@gnus.org> <875ytkhjbu.fsf@gnus.org> <87a6iubos9.fsf@gnus.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="32363"; mail-complaints-to="usenet@ciao.gmane.io" To: Lars Ingebrigtsen , Glenn Morris , Stefan Kangas , 51381@debbugs.gnu.org Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Wed Dec 22 21:54:13 2021 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 1n08cm-0008DD-3q for geb-bug-gnu-emacs@m.gmane-mx.org; Wed, 22 Dec 2021 21:54:12 +0100 Original-Received: from localhost ([::1]:58874 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1n08ck-0000Z1-Km for geb-bug-gnu-emacs@m.gmane-mx.org; Wed, 22 Dec 2021 15:54:10 -0500 Original-Received: from eggs.gnu.org ([209.51.188.92]:42950) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1n08cc-0000WW-GN for bug-gnu-emacs@gnu.org; Wed, 22 Dec 2021 15:54:02 -0500 Original-Received: from debbugs.gnu.org ([209.51.188.43]:48289) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1n08cc-0008Gb-6q for bug-gnu-emacs@gnu.org; Wed, 22 Dec 2021 15:54:02 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1n08cc-0008OM-6Z for bug-gnu-emacs@gnu.org; Wed, 22 Dec 2021 15:54:02 -0500 X-Loop: help-debbugs@gnu.org Resent-From: Alan Third Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Wed, 22 Dec 2021 20:54:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 51381 X-GNU-PR-Package: emacs Original-Received: via spool by 51381-submit@debbugs.gnu.org id=B51381.164020641732223 (code B ref 51381); Wed, 22 Dec 2021 20:54:02 +0000 Original-Received: (at 51381) by debbugs.gnu.org; 22 Dec 2021 20:53:37 +0000 Original-Received: from localhost ([127.0.0.1]:59835 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1n08cD-0008Nf-GB for submit@debbugs.gnu.org; Wed, 22 Dec 2021 15:53:37 -0500 Original-Received: from outbound.soverin.net ([116.202.126.228]:47153) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1n08cB-0008NO-2O for 51381@debbugs.gnu.org; Wed, 22 Dec 2021 15:53:35 -0500 Original-Received: from smtp.soverin.net (unknown [10.10.3.28]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) (No client certificate requested) by outbound.soverin.net (Postfix) with ESMTPS id 7E6DA51; Wed, 22 Dec 2021 20:53:29 +0000 (UTC) Original-Received: from smtp.soverin.net (smtp.soverin.net [159.69.232.142]) by soverin.net DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=idiocy.org; s=soverin; t=1640206408; bh=JB1yx3tZbn4V6qHhreaMTY0/0JTg5FIYWW+DvmUC+20=; h=Date:From:To:Subject:References:In-Reply-To:From; b=I4A7/T1l1wNO/O5D8nOZqSYjtgG563yoUTRDBgNLNljnWaM5oHgQwT3EMWyFnFT2p jcrLmqnqLyUR4cnx499QV8XmsFD07K64+EOeTe+EIWiVFPonptYNovcFNuFDitEKIs jksM4vNdTyMKvX9W/8QS/XSSn+AuDK/K0VpTIgZ4U9QU+B55cBKE9FfRNPGt5N7eMV NB0u9UlHVS+QEyeiYKQwNeb6rjw120M7tUcTWtN+JdjHubDQLxS4ZX1OK8mGMx7Sid MRlCQ+TJ2Mav4ff/d6X+YxZ6qiG5GOZRHNoDRMl4Y9j5BrBWH/8tC0ZE/FTyM+D0Wl ifGM8cHbMM+Sw== Original-Received: from alan by faroe.holly.idiocy.org with local (Exim 4.95-RC2) (envelope-from ) id 1n08c1-001w06-Mo; Wed, 22 Dec 2021 20:53:25 +0000 Mail-Followup-To: Alan Third , Lars Ingebrigtsen , Glenn Morris , Stefan Kangas , 51381@debbugs.gnu.org Content-Disposition: inline In-Reply-To: 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" Xref: news.gmane.io gmane.emacs.bugs:222958 Archived-At: On Fri, Nov 26, 2021 at 01:02:28PM +0000, Alan Third wrote: > On Wed, Oct 27, 2021 at 05:13:17PM +0100, Alan Third wrote: > > > > FWIW NSImage (on macOS) is already capable of loading an heic file, if > > we just point it to it. I thought all we needed to do is add heic to > > ns_can_use_native_image_api in nsimage.m and then load an image with > > the type of "heic" or whatever, but it doesn't work and I'm not sure > > what else I need to do. Probably define heic as a type elsewhere. > > Patch attached. I'm not entirely sure this won't break anything, so > testing on a platform that already supports heif files would probably > be a good idea. > > It doesn't support any of the interesting features of heif, for > example it doesn't allow you to view multiple images (like an animated > gif), but I have a suspicion the IM/GM code won't support that anyway, > so no great loss. Since nobody complained I've pushed this to master. -- Alan Third