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: Sun, 30 Jun 2019 17:24:44 +0200
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/27.0.50 (gnu/linux)

Alan Third <address@hidden> writes:

> +  ;; Default to ImageMagick if a transform is requested.
> +  (if (and (not type)
> +           (fboundp 'imagemagick-types)
> +           (or (plist-get props :scale)
> +               (plist-get props :width)
> +               (plist-get props :height)
> +               (plist-get props :max-width)
> +               (plist-get props :max-height)
> +               (plist-get props :rotation)
> +               (plist-get props :crop)))
> +      (setq type 'imagemagick))

Well, we don't want 'imagemagick if we have native transforms -- then we
want nil so that we get the native transforms.

We only want imagemagick if we don't have native transforms, or we have
a scaling thing and we have imagemagick support.

-- 
(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]