emacs-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: master 8542f66 2/3: Automatically rotate images in image-mode based


From: Robert Pluim
Subject: Re: master 8542f66 2/3: Automatically rotate images in image-mode based on Exif data
Date: Wed, 30 Oct 2019 17:15:01 +0100

>>>>> On Wed, 30 Oct 2019 15:45:09 +0100, Lars Ingebrigtsen <address@hidden> 
>>>>> said:

    Lars> Robert Pluim <address@hidden> writes:
    >> So I attempted to visit a PNG file from emacs, and got a buffer
    >> containing the image data, and the following in *Messages*
    >> 
    >> Cannot display image: ((app1 (cdr (assq 65505 (exif--parse-jpeg)))))
    >> 
    >> Itʼs unclear to me whether emacs should be able to display PNG
    >> natively here. (featurep 'png) is nil, but this is on macOS, which
    >> allegedly has builtin support for PNG. In any case Iʼm not expecting
    >> an error message about exif data.

    Lars> I'm unable to reproduce this error -- viewing png images works fine 
for
    Lars> me.

    Lars> Could you post a backtrace?  The easiest is probably to say

    Lars> M-: (image-toggle-display-image)

Debugger entered--Lisp error: (error "The buffer is not in Image mode")
  signal(error ("The buffer is not in Image mode"))
  error("The buffer is not in Image mode")
  image-toggle-display-image()
  eval((image-toggle-display-image) t)
  eval-expression((image-toggle-display-image) nil nil 127)
  funcall-interactively(eval-expression (image-toggle-display-image) nil nil 
127)
  call-interactively(eval-expression nil nil)
  command-execute(eval-expression)

which is a whole different error (although the modeline says
"(Fundamental Image)"

Robert



reply via email to

[Prev in Thread] Current Thread [Next in Thread]