[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Image transformations
From: |
Alan Third |
Subject: |
Re: Image transformations |
Date: |
Sun, 30 Jun 2019 15:38:46 +0100 |
User-agent: |
Mutt/1.12.0 (2019-05-25) |
On Sat, Jun 29, 2019 at 09:53:53PM +0200, Lars Ingebrigtsen wrote:
> 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.
Something like the attached might help.
Although if someone included ImageMagick to support some obscure image
type it might result in slower image loads than native scaling for png
and jpeg, and so on.
I don’t know if we care much about that. Personally I’ve not noticed
any great speed increase, but anecdotally I’ve heard that native
transforms are far faster.
If it does turn out to be an issue then it should be quite easy to
just use ImageMagick to load the image, then use native transforms
when available.
--
Alan Third
0001-Default-to-ImageMagick-when-transforms-are-requested.patch
Description: Text document
- Re: Image transformations, (continued)
- Re: Image transformations, Eli Zaretskii, 2019/06/27
- Re: Image transformations, Alan Third, 2019/06/25
- Re: Image transformations, Eli Zaretskii, 2019/06/25
- Re: Image transformations, Eli Zaretskii, 2019/06/27
- Re: Image transformations, Alan Third, 2019/06/28
- Re: Image transformations, Eli Zaretskii, 2019/06/28
- Re: Image transformations, Eli Zaretskii, 2019/06/29
- Re: Image transformations, Alan Third, 2019/06/29
- Re: Image transformations, Alan Third, 2019/06/29
- Re: Image transformations, Lars Ingebrigtsen, 2019/06/29
- Re: Image transformations,
Alan Third <=
- Re: Image transformations, Lars Ingebrigtsen, 2019/06/30
- Re: Image transformations, Stefan Monnier, 2019/06/29
- Re: Image transformations, Eli Zaretskii, 2019/06/30
- Re: Image transformations, Alan Third, 2019/06/30
- Re: Image transformations, Tak Kunihiro, 2019/06/18
- Re: Image transformations, Alan Third, 2019/06/13
- Re: Image transformations, Eli Zaretskii, 2019/06/13