all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Angelo Graziosi <angelo.graziosi@alice.it>
To: eliz@gnu.org, sds@gnu.org,
	Fabrice Popineau <fabrice.popineau@centralesupelec.fr>,
	Emacs developers <emacs-devel@gnu.org>
Subject: Re: Emacs and ImageMagick-7 issues
Date: Fri, 13 Jan 2017 11:54:31 +0100	[thread overview]
Message-ID: <0eead875-d46b-1973-0165-5e42a2522ccb@alice.it> (raw)
In-Reply-To: <d9945cb8-f839-203a-d092-9ea843d72ec9@alice.it>

OK, now I have some more news.

Start Emacs and visit a PNG or JPG etc, file. For example foo-01.png. It 
is displayed correctly and fitted to the windows *width*. Now do the 
same with another graphical file. For example foo-02.png. It also is 
displayed correctly and fitted to the window WIDTH.

Close foo-02.png and for foo-01.png click Image - Fit to Window Height. 
It complains with a BELL sound and with the message:

>
> Assertion failed: (= (cdr size) (- (nth 3 (window-inside-pixel-edges))
> (nth 1 (window-inside-pixel-edges)))), 821, 814
> user-error: Minibuffer window is not active

but the file is displayed correctly, at least in appearance! If now one 
re-visit foo-02.png it is visited in Fundamental mode and with the message:

> Cannot display image: ((= (cdr size) (- (nth 3
> (window-inside-pixel-edges)) (nth 1 (window-inside-pixel-edges)))) 821 814)

It seems that this build of Emacs does not like "Image - Fit to Window 
Height". The graphical format (PNJ, JPG..) seems irrelevant..

I did the same steps with my build on GNU/Linux Mint 18.1, on which 
there is installed ImageMagick-6 not -7. On this system all works as 
expected without errors/issues...

>
> Ciao,
>  Angelo.



  reply	other threads:[~2017-01-13 10:54 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2017-01-13 10:03 Emacs and ImageMagick-7 issues Angelo Graziosi
2017-01-13 10:54 ` Angelo Graziosi [this message]
2017-01-13 13:01   ` Tino Calancha
2017-01-13 13:31     ` Angelo Graziosi
2017-01-13 13:49       ` Tino Calancha
  -- strict thread matches above, loose matches on Subject: below --
2016-10-02 20:14 Angelo Graziosi
2017-01-12 17:38 ` Sam Steingold
2017-01-12 20:11   ` Fabrice Popineau
2017-01-12 20:13     ` Fabrice Popineau
2017-01-13  8:08     ` Eli Zaretskii

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=0eead875-d46b-1973-0165-5e42a2522ccb@alice.it \
    --to=angelo.graziosi@alice.it \
    --cc=eliz@gnu.org \
    --cc=emacs-devel@gnu.org \
    --cc=fabrice.popineau@centralesupelec.fr \
    --cc=sds@gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.