From mboxrd@z Thu Jan 1 00:00:00 1970 From: Fabrice Popineau Subject: Re: proposed modification of org-display-inline-images Date: Mon, 25 Jul 2016 22:20:17 +0200 Message-ID: References: <87eg6ihvh1.fsf@gmx.us> Reply-To: fabrice.popineau@centralesupelec.fr Mime-Version: 1.0 Content-Type: multipart/alternative; boundary=001a11c164705da3d105387b84a5 Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:54230) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bRmMx-0007lE-RV for emacs-orgmode@gnu.org; Mon, 25 Jul 2016 16:20:56 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1bRmMt-0008RO-LL for emacs-orgmode@gnu.org; Mon, 25 Jul 2016 16:20:54 -0400 Received: from smtp2.supelec.fr ([160.228.120.31]:43847) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bRmMt-0008Oc-AJ for emacs-orgmode@gnu.org; Mon, 25 Jul 2016 16:20:51 -0400 Received: from localhost (localhost [127.0.0.1]) by smtp2.supelec.fr (Postfix) with ESMTP id D1DF2800F8 for ; Mon, 25 Jul 2016 22:20:37 +0200 (CEST) Received: from smtp2.supelec.fr ([127.0.0.1]) by localhost (smtp2.supelec.fr [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id uxAujZguKflJ for ; Mon, 25 Jul 2016 22:20:37 +0200 (CEST) Received: from mail-it0-f41.google.com (mail-it0-f41.google.com [209.85.214.41]) by smtp2.supelec.fr (Postfix) with ESMTPSA id 5AE25800B3 for ; Mon, 25 Jul 2016 22:20:37 +0200 (CEST) Received: by mail-it0-f41.google.com with SMTP id f6so116540165ith.0 for ; Mon, 25 Jul 2016 13:20:37 -0700 (PDT) In-Reply-To: List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Sender: "Emacs-orgmode" To: John Kitchin Cc: "emacs-orgmode@gnu.org" , Rasmus --001a11c164705da3d105387b84a5 Content-Type: text/plain; charset=UTF-8 2016-07-25 14:18 GMT+02:00 John Kitchin : > Rasmus writes: > > > Hi, > > > > Thanks for the proposal. > > > > John Kitchin writes: > > > >> I would like to propose a change to org-display-inline-images so it can > >> rescale images even if imagemagick is not built in to emacs. There is > >> currently no way to rescale images when they are displayed in that case > >> AFAICS. This is particularly a problem on Windows, as we have never > >> found a binary linked to imagemagick for that platform. > I have built one for the current 25.1-RC1 thanks to a patch found on Github. https://gist.github.com/rzl24ozi/69c54eb86974fa1cbea1 Unfortunately, the patch is for ImageMagick v6. I use MSYS2+MingW64 and this distribution has upgraded ImageMagick to v7.0 I had to patch the patch and emacs, because Emacs is not yet ready for this new version of ImageMagick. For those who want to try it: http://semantic.supelec.fr/Software/downloads/emacs-25.1-rc1-w64.zip The zip holds a full blown Emacs 25.1 (GnuTLS, all graphic libraries, etc.). Fabrice --001a11c164705da3d105387b84a5 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: quoted-printable


2016-07-25 14:18 GMT+02:00 John Kitchin <jkitchin@andrew.cmu.e= du>:
Rasmus writes:

> Hi,
>
> Thanks for the proposal.
>
> John Kitchin <jkitchin@andrew.cmu.edu> writes:
>
>> I would like to propose a change to org-display-inline-images so i= t can
>> rescale images even if imagemagick is not built in to emacs. There= is
>> currently no way to rescale images when they are displayed in that= case
>> AFAICS. This is particularly a problem on Windows, as we have neve= r
>> found a binary linked to imagemagick for that platform.
=

I have built one for the current 25.1-RC1 = thanks to a patch found on Github.

Unfor= tunately, the patch is for ImageMagick v6.
I use MSYS2+MingW64 an= d this distribution has upgraded ImageMagick to v7.0
I had to pat= ch the patch and emacs, because Emacs is not yet ready for this new version=
of ImageMagick.

For those who want to t= ry it:
= http://semantic.supelec.fr/Software/downloads/emacs-25.1-rc1-w64.zip
The zip holds a full blown Emacs 25.1 (GnuTLS, all graphic librarie= s, etc.).

Fabrice
--001a11c164705da3d105387b84a5--