From: Alan Third <alan@idiocy.org>
To: "Clément Pit-Claudel" <cpitclaudel@gmail.com>
Cc: 34024@debbugs.gnu.org
Subject: bug#34024: Segfault when resizing SVG images
Date: Tue, 12 Feb 2019 23:00:59 +0000 [thread overview]
Message-ID: <20190212230059.GA26207@breton.holly.idiocy.org> (raw)
In-Reply-To: <dd574866-afd6-5de8-78ca-db99f0f6ca92@gmail.com>
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
next prev parent reply other threads:[~2019-02-12 23:00 UTC|newest]
Thread overview: 10+ messages / expand[flat|nested] mbox.gz Atom feed top
2019-01-09 22:00 bug#34024: Segfault when resizing SVG images Clément Pit-Claudel
2019-01-10 3:39 ` Eli Zaretskii
2019-01-10 13:39 ` Clément Pit-Claudel
2019-01-10 14:38 ` Eli Zaretskii
2019-01-10 23:27 ` Clément Pit-Claudel
2019-01-11 7:35 ` Eli Zaretskii
2019-01-11 9:27 ` Alan Third
2019-02-12 19:15 ` Clément Pit-Claudel
2019-02-12 23:00 ` Alan Third [this message]
2019-09-24 16:42 ` Lars Ingebrigtsen
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
List information: https://www.gnu.org/software/emacs/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20190212230059.GA26207@breton.holly.idiocy.org \
--to=alan@idiocy.org \
--cc=34024@debbugs.gnu.org \
--cc=cpitclaudel@gmail.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this public inbox
https://git.savannah.gnu.org/cgit/emacs.git
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).