emacs-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: image-size


From: Lars Magne Ingebrigtsen
Subject: Re: image-size
Date: Wed, 26 Jun 2013 14:04:57 +0200
User-agent: Gnus/5.130008 (Ma Gnus v0.8) Emacs/24.3.50 (gnu/linux)

YAMAMOTO Mitsuharu <address@hidden> writes:

> Could you try this?  It doesn't defer the allocation of Pixmap
> actually, but defers image data transfer by XPutImage (and also by
> XGetImage in the case of postprocessing) until the actual display
> happens.

Great!  This seems to work perfectly.  Calling `image-size' over ssh is
now as fast as calling it with a local X; the decoded image is cached;
and transferring the image to X is postponed until it's actually
displayed.  

-- 
(domestic pets only, the antidote for overdose, milk.)
  bloggy blog http://lars.ingebrigtsen.no/



reply via email to

[Prev in Thread] Current Thread [Next in Thread]