[Top][All Lists]

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

Re: Linking to ImageMagick by default

From: Alan Third
Subject: Re: Linking to ImageMagick by default
Date: Sat, 8 Dec 2018 18:38:10 +0000
User-agent: Mutt/1.10.1 (2018-07-13)

On Wed, Dec 05, 2018 at 10:39:01PM +0000, Alan Third wrote:
> This may be naive, but is it possible to leave scaling to the GUI
> toolkit? I know that when we draw images into the frame in NS we can
> specify different sized rectangles for source and destination and the
> toolkit handles the scaling for us. I think w32 is the same and
> presumably X provides something similar.

In case anyone cares, I looked into this and XRender would do the
trick. I had a look at how to go about it, but as usual with X stuff
it looks a fair bit more complicated than with NS (and Windows), and I
don’t have a good X environment to play about in.

It may be smarter to resize the images (with XRender) when the pixmaps
are being generated, rather than when they’re being displayed, as
otherwise we’d want to rewrite the image caching code.
Alan Third

reply via email to

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