emacs-devel
[Top][All Lists]
Advanced

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

Re: Image transformations


From: Lars Ingebrigtsen
Subject: Re: Image transformations
Date: Sat, 29 Jun 2019 21:53:53 +0200
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/27.0.50 (gnu/linux)

Alan Third <address@hidden> writes:

> If you want to change to defaulting to ImageMagick where available I’m
> sure we can.

I've resorted to using a function like this in every package that
inserts an image:

(defun foo--image-type ()
  (if (or (and (fboundp 'image-transforms-p)
               (image-transforms-p))
          (not (fboundp 'imagemagick-types)))
      nil
    'imagemagick))

Which is pretty annoying.

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



reply via email to

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