From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Lars Magne Ingebrigtsen Newsgroups: gmane.emacs.devel Subject: Re: image-size Date: Fri, 21 Jun 2013 11:07:34 +0200 Message-ID: References: <837ghopy8a.fsf@gnu.org> <83zjukog7h.fsf@gnu.org> <83txksodgv.fsf@gnu.org> <83r4fwocqd.fsf@gnu.org> <83ppvgoaw9.fsf@gnu.org> <83mwqko9ge.fsf@gnu.org> <83k3loo66g.fsf@gnu.org> <2D9A8A78-829E-4AEC-BA3E-9409A1457053@swipnet.se> <83ehbwng5m.fsf@gnu.org> <838v23ools.fsf@gnu.org> <2E9AAD93-9A98-48A8-B37B-9533BBF0DAD0@swipnet.se> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: quoted-printable X-Trace: ger.gmane.org 1371805723 4494 80.91.229.3 (21 Jun 2013 09:08:43 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Fri, 21 Jun 2013 09:08:43 +0000 (UTC) Cc: Eli Zaretskii , emacs-devel@gnu.org To: Jan =?iso-8859-1?Q?Dj=E4rv?= Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Fri Jun 21 11:08:43 2013 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1UpxKj-0002J0-Na for ged-emacs-devel@m.gmane.org; Fri, 21 Jun 2013 11:08:41 +0200 Original-Received: from localhost ([::1]:35817 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UpxKj-00022r-8o for ged-emacs-devel@m.gmane.org; Fri, 21 Jun 2013 05:08:41 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:48208) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UpxK0-0001FT-2N for emacs-devel@gnu.org; Fri, 21 Jun 2013 05:08:00 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1UpxJw-0002Et-KH for emacs-devel@gnu.org; Fri, 21 Jun 2013 05:07:55 -0400 Original-Received: from hermes.netfonds.no ([80.91.224.195]:32971) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UpxJw-0002CI-D2; Fri, 21 Jun 2013 05:07:52 -0400 Original-Received: from cm-84.215.51.58.getinternet.no ([84.215.51.58] helo=stories.gnus.org) by hermes.netfonds.no with esmtpsa (TLS1.0:DHE_RSA_AES_128_CBC_SHA1:16) (Exim 4.72) (envelope-from ) id 1UpxJf-0002Nv-4R; Fri, 21 Jun 2013 11:07:35 +0200 Face: iVBORw0KGgoAAAANSUhEUgAAADAAAAAwBAMAAAClLOS0AAAAGFBMVEWWRC3p2Nf7+fwlAgw9 DRW5eExnHh9+Lyefw+PHAAACd0lEQVQ4jZ2SwW7bMAyGWcSyrlWxtGfvCQpIda8BrMpXBZjiqwcr 1FVDbOn1R8ld1x16GQNEjj7+/EnG8P2LgP8H3cPHnfgK2H/A/fkDTA+fQLf+/CPpjuITePJX8dCV G0HRdeIdiFabs3iPY/mqgM6DlOz9ShzPFXT110HJNyH4Vp7drwLoLAk3uD2LJ0x3JLimCo7O0TlA 04tVa5LdBzwX8MgCZUnumVhjJqNvZrgr4N4W5RJvZ/EDi+Jx9Hd7qUwK1VDaRXkqcsGVOQfiKb2J o1Z+iM7NcHZuGhPqgUrhi/gh6fG2OUTnHG/mZDQI27y4m9RS+pcLdeVc8lqjhinaZRskRerBq5lN ejBv3IA9ZQ8VDMooPYYIlk2gwa39zA6yhlLc68wss3EFN/Wz28GYTq71vICtAdeisxUoxh1zDZ+b MWwcAE8WUgHPFoDyLtSUTBwiMpvaCqBGI8fTEgOEv4DkwKANMHO2gn6F5H313hU8wpWzBqTUw95s v99nUrTsAFLVdII9a0xBIc55O4ChnFtFr1euZwKJFHGh2QGGvoI1YAGRbZAXkCdKeS31+sYMBgMw O4NdQGVoxrGsXTWyp78ok0tICWLIQRtpCKyDWfWA6HWYNGiJi0T6ENAmQhNyJgGCVkoqlIrs12LN kYjXCG2RVg+5htKsxnKTqDtiZgcmZhqcdpIRy6gFlPEz0g7LriDPuYCMWnraSUj08kCbc07XCnhR DFKHZJljbSCTawtgOSkU+SEm6whkzDinWsoPBIzHUsq1mcy3di9VAO7AriHmXBWcp0+A3ppApdaq SEtfgCHAysSI814qeYOaQMtY9aB+4TfvSvVVyN0C/AAAAABJRU5ErkJggg== X-Now-Playing: Jonas Kullhammar Quartet's _The Half Naked Truth 1998-2008 (1)_: "For X" X-Hashcash: 1:23:130621:emacs-devel@gnu.org::4ITkd+F6CTdLeNUx:00000000000000000000000000000000000000000000Hj X-Hashcash: 1:23:130621:jan.h.d@swipnet.se::IAZnYHyFOmxcWHco:00000000000000000000000000000000000000000009FZE X-Hashcash: 1:23:130621:eliz@gnu.org::IovdjVpQ3NGJetoW:00000cbD0 In-Reply-To: <2E9AAD93-9A98-48A8-B37B-9533BBF0DAD0@swipnet.se> ("Jan \=\?iso-8859-1\?Q\?Dj\=E4rv\=22's\?\= message of "Fri, 21 Jun 2013 11:03:23 +0200") User-Agent: Gnus/5.130008 (Ma Gnus v0.8) Emacs/24.3.50 (gnu/linux) X-MailScanner-ID: 1UpxJf-0002Nv-4R MailScanner-NULL-Check: 1372410455.28736@c5U4x6BtrwhWUWXQ/S/zFA X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 80.91.224.195 X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.14 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.org@gnu.org Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.devel:160813 Archived-At: Jan Dj=E4rv writes: > Some image types needs a bit more coding for this to work. I.e. Xpm > uses XpmReadFileToPixmap which reads the file, returns the sizes and > puts it on the server in one go. > This would have to be reworked so it uses XpmReadFileToImage or similar. > Ditto for XpmReadFileToPixmap. While it would be good to make all the loaders postpone pushing the data to the X server, it's probably not necessary to convert them all (at once). XPM images are usually used for (smal) icons and the like. The ones that really hurt performance day-to-day are jpeg/png/gif/imagemagick images. --=20 (domestic pets only, the antidote for overdose, milk.) bloggy blog http://lars.ingebrigtsen.no/