[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Image transformations
From: |
Eli Zaretskii |
Subject: |
Re: Image transformations |
Date: |
Fri, 26 Jul 2019 09:10:01 +0300 |
> From: Lars Ingebrigtsen <address@hidden>
> Cc: Eli Zaretskii <address@hidden>, address@hidden
> Date: Thu, 25 Jul 2019 21:40:12 +0200
>
> Currently, anybody who wants to insert an image in Emacs has to say the
> equivalent of
>
> (create-image data
> (if (or (and (fboundp 'image-transforms-p)
> (image-transforms-p))
> (not (fboundp 'imagemagick-types)))
> nil
> 'imagemagick))
>
> to be somewhat compatible over current Emacses (because we almost always
> want to scale images). That's rather a mouthful, so Alan's suggestion
> was to just do this in `create-image', but better.
>
> I took that idea and worked it a bit more so that we never use
> imagemagick unless we absolutely need to, to satisfy the user's wishes.
>
> Does the following look OK to everybody?
I don't see anything wrong with that, but I don't see how it would
help in older Emacsen, either. A simpler alternative for the above
would be to look at the Emacs version, and then you don't need most or
all of the other tests, right?
- Re: Image transformations, Eli Zaretskii, 2019/07/01
- Re: Image transformations, Lars Ingebrigtsen, 2019/07/25
- Re: Image transformations,
Eli Zaretskii <=
- Re: Image transformations, Lars Ingebrigtsen, 2019/07/26
- Re: Image transformations, Eli Zaretskii, 2019/07/26
- Re: Image transformations, Lars Ingebrigtsen, 2019/07/26
- Re: Image transformations, Lars Ingebrigtsen, 2019/07/26
- Re: Image transformations, Eli Zaretskii, 2019/07/26
- Re: Image transformations, Lars Ingebrigtsen, 2019/07/26
- Re: Image transformations, Eli Zaretskii, 2019/07/26
- Re: Image transformations, Lars Ingebrigtsen, 2019/07/26
- Re: Image transformations, Stefan Monnier, 2019/07/26
- Re: Image transformations, Eli Zaretskii, 2019/07/26