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, 27 Oct 2021 17:13:17 +0100 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="28847"; mail-complaints-to="usenet@ciao.gmane.io" Cc: Glenn Morris , Stefan Kangas , 51381@debbugs.gnu.org To: Lars Ingebrigtsen Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Wed Oct 27 18:47:05 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 1mfm4t-0007Cm-HG for geb-bug-gnu-emacs@m.gmane-mx.org; Wed, 27 Oct 2021 18:47:03 +0200 Original-Received: from localhost ([::1]:51010 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1mfm4s-0005aE-8I for geb-bug-gnu-emacs@m.gmane-mx.org; Wed, 27 Oct 2021 12:47:02 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:48496) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mflYx-0005DD-3V for bug-gnu-emacs@gnu.org; Wed, 27 Oct 2021 12:14:03 -0400 Original-Received: from debbugs.gnu.org ([209.51.188.43]:38831) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1mflYw-0001iO-Qd for bug-gnu-emacs@gnu.org; Wed, 27 Oct 2021 12:14:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1mflYw-0004Z9-BT for bug-gnu-emacs@gnu.org; Wed, 27 Oct 2021 12:14:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Alan Third Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Wed, 27 Oct 2021 16:14: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.163535120917495 (code B ref 51381); Wed, 27 Oct 2021 16:14:02 +0000 Original-Received: (at 51381) by debbugs.gnu.org; 27 Oct 2021 16:13:29 +0000 Original-Received: from localhost ([127.0.0.1]:50377 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mflYP-0004Y7-I9 for submit@debbugs.gnu.org; Wed, 27 Oct 2021 12:13:29 -0400 Original-Received: from outbound.soverin.net ([116.202.126.228]:52743) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mflYK-0004Xt-SA for 51381@debbugs.gnu.org; Wed, 27 Oct 2021 12:13:28 -0400 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 5F08E95; Wed, 27 Oct 2021 16:13:22 +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=1635351201; bh=+J82I4E2Nf9vGFIGfVzOrSVQvJpH1nzGnVmndRwFmVI=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=AMQTcXNaQ5/lRW+c/P4D+nPdw1kcgA2/M2uArTkR0xMxhpGgWQNNqpViqbXUmGk6r 6ZdBSg7CEYFdIhmIh4XCamb1v2Rl/r8UXn52MJYUfa/OgnqVtc6U+u5cZr3dwDWCx4 9kt6/LsIoVPMraB+B+0oNoDxrxkjb0tHSRKwPjaWYq8Y3KmNv19t54+a+eQ7n17R38 KfP+NPmdoTWrwljPf+rVNQsE8Lxjos/bGUD6Jf8P8Ibwqy+Eea4Q1wHC5uDX6lnC+e IWun0NsoQ3E6bOnn6PTX2eXAYpyJAraxF0B/b5IqV0LBy7ePOhnBPgKPz08DSQyd3J ikdD/tCdZSXPg== Original-Received: from alan by faroe.holly.idiocy.org with local (Exim 4.95-RC2) (envelope-from ) id 1mflYD-000jPQ-ED; Wed, 27 Oct 2021 17:13:17 +0100 Mail-Followup-To: Alan Third , Lars Ingebrigtsen , Glenn Morris , Stefan Kangas , 51381@debbugs.gnu.org Content-Disposition: inline In-Reply-To: <87a6iubos9.fsf@gnus.org> 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:218459 Archived-At: On Wed, Oct 27, 2021 at 03:06:14PM +0200, Lars Ingebrigtsen wrote: > Alan Third writes: > > > Yeah, but we need to teach Emacs about the image format. I'm not sure > > how to do that. I once tried to teach it to load PDFs using *step > > functionality and failed miserably. This is the same. > > Is there any chance we can entice the MacPorts people to fix this in > mainline Emacs? (I'm just wildly assuming that this works there, > without having actually had a peek.) When you say MacPorts do you actually mean the Emacs Mac port by Yamamoto Mitsuharu? I'm not sure he'd care much for working on the NS port, but you can always ask. 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. But aside from all of that, is heic supported on a Free OS yet? -- Alan Third