From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Klaus-Dieter Bauer Newsgroups: gmane.emacs.devel Subject: Re: Fallback mode for image magick? Date: Thu, 27 Jun 2013 18:29:47 +0200 Message-ID: References: NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: multipart/alternative; boundary=20cf3071c81e559bb204e025479a X-Trace: ger.gmane.org 1372350646 19100 80.91.229.3 (27 Jun 2013 16:30:46 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Thu, 27 Jun 2013 16:30:46 +0000 (UTC) Cc: emacs-devel@gnu.org To: Lars Magne Ingebrigtsen Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Thu Jun 27 18:30:48 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 1UsF5p-0000EC-IC for ged-emacs-devel@m.gmane.org; Thu, 27 Jun 2013 18:30:45 +0200 Original-Received: from localhost ([::1]:57168 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UsF5p-0003oV-5c for ged-emacs-devel@m.gmane.org; Thu, 27 Jun 2013 12:30:45 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:55888) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UsF5e-0003nk-84 for emacs-devel@gnu.org; Thu, 27 Jun 2013 12:30:39 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1UsF5Z-0007cc-NS for emacs-devel@gnu.org; Thu, 27 Jun 2013 12:30:34 -0400 Original-Received: from mail-vb0-x236.google.com ([2607:f8b0:400c:c02::236]:34017) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UsF5S-0007ah-VU; Thu, 27 Jun 2013 12:30:23 -0400 Original-Received: by mail-vb0-f54.google.com with SMTP id q12so850975vbe.13 for ; Thu, 27 Jun 2013 09:30:22 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc:content-type; bh=L1azds/Pw05umi/Y4Lkj0+X08b9Uo9BSsbSQAXYNXGk=; b=m35KcnhF9Dlp0duni+g9EKJBeYo69KG6DaZoYw1gYWv3X5oGaUhHF2ZetM9vQNNYlU 19e+8iimB7vS0RiRDUSCO9c0iolKsJ31RxFYHboH1y/jF2ze2TBbGH/FhW7Eu8qvsTN8 qYMxGmPdV7lgqTum3aAZdJ61U5Y7M6XwOZ13tN9PebAfPwrBiMey+LvpkqYZjm962PZi hfJr2LI3efrmbX3kwDnZLmfJSfN6weqCNtsToEaCakQUdoMKttTTODpkmjVlKFXzfxB+ MsASuU+j5ETb78GNwbJCXBS7JCcmQNFsuw+VI7xeG/BMR7waWr5/dUxLt7qwcxvi5D+l 9WlQ== X-Received: by 10.52.95.113 with SMTP id dj17mr3208381vdb.82.1372350622044; Thu, 27 Jun 2013 09:30:22 -0700 (PDT) Original-Received: by 10.220.224.73 with HTTP; Thu, 27 Jun 2013 09:29:47 -0700 (PDT) In-Reply-To: X-detected-operating-system: by eggs.gnu.org: Error: Malformed IPv6 address (bad octet value). X-Received-From: 2607:f8b0:400c:c02::236 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:161145 Archived-At: --20cf3071c81e559bb204e025479a Content-Type: text/plain; charset=UTF-8 It does. I have a native convert.exe. But emacs (on Unix and Cygwin) now has builtin ImageMagick support (as in emacs can resize images without calling an external program). The precompiled Windows binaries don't have it builtin though and according to Glenn Morris answer it is simply not available for Windows and NextStep. Hence I am searching for a solution to emulate the builtin support in a way such that other people's emacs lisp code doesn't have to be aware of it. >From org-mode I can remember, that they query for some `imagemagick-*` function or variable that is not defined in the Windows binaries. 2013/6/27 Lars Magne Ingebrigtsen > Klaus-Dieter Bauer writes: > > > Org mode uses the compiled-in image-magick support for scaling > > in-buffer images. Sadly, this feature doesn't work with the > > (precompiled) Windows version of emacs. > > Doesn't ImageMagick support Windows? > > -- > (domestic pets only, the antidote for overdose, milk.) > bloggy blog http://lars.ingebrigtsen.no/ > --20cf3071c81e559bb204e025479a Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: quoted-printable
It does. I have a native convert.exe. But emacs (on Unix a= nd Cygwin) now has builtin ImageMagick support (as in emacs can resize imag= es without calling an external program). The precompiled Windows binaries d= on't have it builtin though and according to Glenn Morris answer it is = simply not available for Windows and NextStep.

Hence I am searching for a solution to emulate the builtin s= upport in a way such that other people's emacs lisp code doesn't ha= ve to be aware of it. From org-mode I can remember, that they query for som= e `imagemagick-*` function or variable that is not defined in the Windows b= inaries.

2013/6/27 Lars Ma= gne Ingebrigtsen <larsi@gnus.org>
Klaus-Dieter Bauer <bauer.klaus.dieter@gmail.com> writes:

> Org mode uses the compiled-in image-magick support for scaling
> in-buffer images. Sadly, this feature doesn't work with the
> (precompiled) Windows version of emacs.

Doesn't ImageMagick support Windows?

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

--20cf3071c81e559bb204e025479a--