From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.ciao.gmane.io!not-for-mail From: Juan =?utf-8?Q?Jos=C3=A9_Garc=C3=ADa-Ripoll?= Newsgroups: gmane.emacs.devel Subject: Re: Interest in nt_load_image? Date: Tue, 31 Mar 2020 10:01:46 +0200 Message-ID: <86zhbx6jh1.fsf@csic.es> References: <86369r0xcv.fsf@csic.es> <83k1324m60.fsf@gnu.org> <86imimwa4t.fsf@csic.es> <838sji3qhx.fsf@gnu.org> <86lfnhsyei.fsf@csic.es> <83v9ml3kpx.fsf@gnu.org> <86r1x9rf7w.fsf@csic.es> 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="121930"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/26.3 (windows-nt) To: emacs-devel@gnu.org Cancel-Lock: sha1:YjDH0WLysEHGfdkTnhEm8pvZAPg= Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Tue Mar 31 10:02:46 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 1jJBrC-000Vbo-E3 for ged-emacs-devel@m.gmane-mx.org; Tue, 31 Mar 2020 10:02:46 +0200 Original-Received: from localhost ([::1]:33598 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1jJBrB-0006ue-GW for ged-emacs-devel@m.gmane-mx.org; Tue, 31 Mar 2020 04:02:45 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:54016) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1jJBqM-00064Y-K9 for emacs-devel@gnu.org; Tue, 31 Mar 2020 04:01:55 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1jJBqL-0003j7-F9 for emacs-devel@gnu.org; Tue, 31 Mar 2020 04:01:54 -0400 Original-Received: from ciao.gmane.io ([159.69.161.202]:46780) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1jJBqL-0003iF-9P for emacs-devel@gnu.org; Tue, 31 Mar 2020 04:01:53 -0400 Original-Received: from list by ciao.gmane.io with local (Exim 4.92) (envelope-from ) id 1jJBqJ-000UdF-N4 for emacs-devel@gnu.org; Tue, 31 Mar 2020 10:01:51 +0200 X-Injected-Via-Gmane: http://gmane.org/ X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] [fuzzy] X-Received-From: 159.69.161.202 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:246077 Archived-At: Hi Juanma, let me clarify the issues because I think you (and probably others) have misunderstood what I propose. I have build GDI+ as a built-in back-end with which to compile Emacs. An Emacs built with GDI+ requires UTF-16 support and thus will not run on Windows 98, but it will run on Windows XP on later. GDI+ support is optional because it can be selected at build time, not because it can be chosen at compilation time. Juanma Barranquero writes: > it is feasible to check for Windows Imaging Component when Emacs runs > on modern Windows and use it if available? Not. That is not how it is intended to work, just like . But that is a non-issue. >> if GDI+ support is dropped in the near future (which I doubt, given >> it is also supported by Direct2D), it can be almost trivially >> replaced with Windows Image Component, which is the more >> modern interface. > > Is there any advantage in using Windows Imaging Component? WIC and Direct2D are Windows' now standard display components, providing support for accelerated GPU-based processing. WIC can act as a canvas for rendering other components and would allow for a more up-to-date capability in terms of image processing. > I mean, if as Eli suggests you're going to dynamically check for GDI+ > support and revert back to the current API in Windows 9X,... Neither of us said this. It is a compilation parameter. Cheers, -- Juan José García Ripoll http://juanjose.garciaripoll.com http://quinfog.hbar.es