|
From: | Angelo Graziosi |
Subject: | Re: Emacs and ImageMagick-7 issues |
Date: | Fri, 13 Jan 2017 11:54:31 +0100 |
User-agent: | Mozilla/5.0 (Windows NT 10.0; WOW64; rv:45.0) Gecko/20100101 Thunderbird/45.6.0 |
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.
[Prev in Thread] | Current Thread | [Next in Thread] |