From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.ciao.gmane.io!not-for-mail From: Eli Zaretskii Newsgroups: gmane.emacs.devel Subject: Re: Optional support for GDI+ on Windows (emacs-28) Date: Wed, 01 Apr 2020 22:10:13 +0300 Message-ID: <834ku3yqcq.fsf@gnu.org> References: <86lfnh8wzn.fsf@csic.es> <83pncs1ulv.fsf@gnu.org> <86ftdoedvh.fsf@csic.es> <83d08s1nf9.fsf@gnu.org> <20200331165749.GC81462@breton.holly.idiocy.org> <837dz01kxi.fsf@gnu.org> <20200331193602.GA82791@breton.holly.idiocy.org> <83r1x8ym9r.fsf@gnu.org> <20200401183354.GA83597@breton.holly.idiocy.org> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit Injection-Info: ciao.gmane.io; posting-host="ciao.gmane.io:159.69.161.202"; logging-data="94448"; mail-complaints-to="usenet@ciao.gmane.io" Cc: alan@idiocy.org, juanjose.garciaripoll@gmail.com, emacs-devel@gnu.org To: Alan Third Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Wed Apr 01 21:11:04 2020 Return-path: Envelope-to: ged-emacs-devel@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 1jJilU-000OU1-8Y for ged-emacs-devel@m.gmane-mx.org; Wed, 01 Apr 2020 21:11:04 +0200 Original-Received: from localhost ([::1]:36260 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1jJilT-0001hm-At for ged-emacs-devel@m.gmane-mx.org; Wed, 01 Apr 2020 15:11:03 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:60325) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1jJiko-0000tK-LO for emacs-devel@gnu.org; Wed, 01 Apr 2020 15:10:23 -0400 Original-Received: from fencepost.gnu.org ([2001:470:142:3::e]:38724) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1jJikn-0005eY-RA; Wed, 01 Apr 2020 15:10:21 -0400 Original-Received: from [176.228.60.248] (port=3850 helo=home-c4e4a596f7) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_256_CBC_SHA1:256) (Exim 4.82) (envelope-from ) id 1jJikm-0000MY-RW; Wed, 01 Apr 2020 15:10:21 -0400 In-Reply-To: <20200401183354.GA83597@breton.holly.idiocy.org> (message from Alan Third on Wed, 1 Apr 2020 20:33:58 +0200 (CEST)) X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Original-Sender: "Emacs-devel" Xref: news.gmane.io gmane.emacs.devel:246217 Archived-At: > Date: Wed, 1 Apr 2020 20:33:58 +0200 (CEST) > From: Alan Third > Cc: juanjose.garciaripoll@gmail.com, emacs-devel@gnu.org > > > My idea is to define a new image type, and have a image_types[] entry > > set up to call the native method. Something like that, anyway. Would > > that be okay? > > Fine with me. I’d considered something similar for the NS port a while > back. Great, we will see how that plays off. > In actual fact what I’d wondered about was whether it would be > possible to delegate the image loading routine to a module, so it > would be possible to have, say, an imagemagick module, or a gd module, > or whatever and if someone wanted to use one they could just load it. Some image types should still be built-in, since we display icons in the UI. Other than that, it could be an interesting idea, if it works. > But I don’t know if modules would be suitable and I never investigated > it. Neither did I.