[Top][All Lists]

[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 20:10:03 +0100
User-agent: Mutt/1.12.0 (2019-05-25)

On Sun, Jun 30, 2019 at 06:12:11PM +0300, Eli Zaretskii wrote:
> So you are saying that a Lisp program needs to explicitly request
> ImageMagick if it wants to, say, rotate the image by 45 degrees?


> If so, I guess either the ImageMagick capabilities should not be
> part of the list we return, or the function should accept an
> additional argument which is the image type. The latter sounds like
> entering the area of diminishing returns, since if the caller needs
> to specify imagemagick as the type, then the caller already knows
> what will be returned as the value, right?


> So on balance, I think we should return a list of either 2 values or
> (on Windows 9X) 1 value, and that's it.  WDYT?

That sounds good to me. We can then provide a fallback to ImageMagick
within create-image, as we’ll be able to tell when native transforms
aren’t available.

Alan Third

reply via email to

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