emacs-devel
[Top][All Lists]
Advanced

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

Re: Image transformations


From: Eli Zaretskii
Subject: Re: Image transformations
Date: Mon, 01 Jul 2019 17:55:20 +0300

> Date: Sun, 30 Jun 2019 20:10:03 +0100
> From: Alan Third <address@hidden>
> Cc: address@hidden
> 
> 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?
> 
> Yes.
> 
> > 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?
> 
> Yes.
> 
> > 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.

OK, I've now done so.  Thanks for the feedback and the expolanations.



reply via email to

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