From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: David Engster Newsgroups: gmane.emacs.devel Subject: Caching an image without displaying it Date: Sat, 13 Jul 2013 14:58:58 +0200 Message-ID: <87oba6r4z1.fsf@engster.org> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: ger.gmane.org 1373720351 5727 80.91.229.3 (13 Jul 2013 12:59:11 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Sat, 13 Jul 2013 12:59:11 +0000 (UTC) To: emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Sat Jul 13 14:59:13 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 1UxzPs-00077d-0Q for ged-emacs-devel@m.gmane.org; Sat, 13 Jul 2013 14:59:12 +0200 Original-Received: from localhost ([::1]:52100 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UxzPr-0008En-Nf for ged-emacs-devel@m.gmane.org; Sat, 13 Jul 2013 08:59:11 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:35750) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UxzPo-0008Eh-Iz for emacs-devel@gnu.org; Sat, 13 Jul 2013 08:59:09 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1UxzPn-0004bl-HZ for emacs-devel@gnu.org; Sat, 13 Jul 2013 08:59:08 -0400 Original-Received: from randomsample.de ([83.169.19.17]:49120) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UxzPn-0004ZY-7H for emacs-devel@gnu.org; Sat, 13 Jul 2013 08:59:07 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=randomsample.de; s=a; h=Content-Type:MIME-Version:Message-ID:Date:Subject:To:From; bh=nVEGRAS0BeYlcEB4kUgw6PzrZDUSHt7mxQwlA4Q6sFI=; b=QT8h545+rQGrUEyx5F5oYPgcPaeYLEnP8KJCqnwiJqiaOh6nfKdiIs5LFXS3T7manU+uh5PbD+6l9AAbfsSjykBTPmdg9QO9RyC4Vn4vXbtK+aTRFrdQbXJMqksgZDyZ; Original-Received: from dslc-082-082-161-195.pools.arcor-ip.net ([82.82.161.195] helo=spaten) by randomsample.de with esmtpsa (TLS1.0:DHE_RSA_AES_128_CBC_SHA1:16) (Exim 4.72) (envelope-from ) id 1UxzPf-0005D7-Lk for emacs-devel@gnu.org; Sat, 13 Jul 2013 14:58:59 +0200 User-Agent: Gnus/5.130008 (Ma Gnus v0.8) Emacs/24.3 (gnu/linux) Mail-Followup-To: emacs-devel@gnu.org X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6.x X-Received-From: 83.169.19.17 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:161855 Archived-At: Is it possible to cache a scaled image for later display on a certain frame? My problem is that scaling images to a certain width/height through the imagemagick support is not terribly fast[*], so I'd like to cache the images beforehand. I know I can cache them by simply displaying them all successively, but I want to do this invisibly through an idle timer in the background. -David [*] Yes, I tried setting imagemagick-render-type to 1, and it helps a bit, but I'd really like the display of the images to be pretty much instantaneous.