emacs-devel
[Top][All Lists]
Advanced

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

Image rescaling


From: Lars Magne Ingebrigtsen
Subject: Image rescaling
Date: Mon, 15 Sep 2014 14:45:51 +0200
User-agent: Gnus/5.130012 (Ma Gnus v0.12) Emacs/24.4.50 (gnu/linux)

Most of the image format decoders (jpeg and gif, for instance) do not
support image rescaling.  So shr uses ImageMagick for all its image
handling.

There are two problems with this:

1) ImageMagick is crashy.  Virtually all Emacs crashes I get happen deep
in the ImageMagic code.  I mean, I don't get a lot of crashes, but they
happen from time to time, and are pretty annoying.

2) Some people run Emacs without ImageMagick built in, but usually have
the other libraries enabled.

So I would propose to add a general image scaling function, and use that
in all the image handling functions.  Without image rescaling, Emacs is
pretty useless for anything that involves handling images.

Does this sound OK to everybody?

And if so, is there an FSF-copyright-assigned quality image rescaling
function out there that I could adapt to Emacs so that I don't have to
write it myself?  >"?

-- 
(domestic pets only, the antidote for overdose, milk.)
   bloggy blog: http://lars.ingebrigtsen.no





reply via email to

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