bug-gnu-emacs
[Top][All Lists]
Advanced

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

bug#34024: Segfault when resizing SVG images


From: Alan Third
Subject: bug#34024: Segfault when resizing SVG images
Date: Tue, 12 Feb 2019 23:00:59 +0000
User-agent: Mutt/1.11.2 (2019-01-07)

On Tue, Feb 12, 2019 at 02:15:48PM -0500, Clément Pit-Claudel wrote:
> Thanks for the replies, Eli and Alan!
> 
> On 11/01/2019 04.27, Alan Third wrote:
> > librsvg and the like don’t allow you to resize SVG files when you
> > convert them to bitmaps, we’d have to use Cairo or something similar
> > for lossless resizing.
> 
> Do you mean rsvg_handle_render_cairo? (does that count as being part
> of Cairo?) That would be great.

IIRC that function interfaces with a cairo canvas, and once the SVG is
loaded into said canvas, cairo allows you to resize losslessly. I’m
unsure how we’d go from the cairo canvas to a system dependent bitmap.
It’s probably not hard, but I didn’t dig too deep into it.
-- 
Alan Third





reply via email to

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