unofficial mirror of emacs-devel@gnu.org 
 help / color / mirror / code / Atom feed
* Loading svg from memory using custom filename for base_uri
@ 2019-02-22 22:01 Evgeny Zajcev
  2019-02-23  7:45 ` Eli Zaretskii
  0 siblings, 1 reply; 18+ messages in thread
From: Evgeny Zajcev @ 2019-02-22 22:01 UTC (permalink / raw)
  To: emacs-devel

[-- Attachment #1: Type: text/plain, Size: 466 bytes --]

Currently, when SVG image is loaded with `svg_load` it first examines :file
value and only if :file is missing it looks for :data, using current
buffer's filename (if any) as base_uri

Would not it be better to check for :data first and if present, then use
:file as value for base_uri?  Falling back to current buffer filename in
case :file is missing

Unfortunately embedding raster images into svg with base64 encoding, using
`svg-embed` is slow.

Thanks

-- 
lg

[-- Attachment #2: Type: text/html, Size: 701 bytes --]

^ permalink raw reply	[flat|nested] 18+ messages in thread

end of thread, other threads:[~2020-12-12 12:50 UTC | newest]

Thread overview: 18+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2019-02-22 22:01 Loading svg from memory using custom filename for base_uri Evgeny Zajcev
2019-02-23  7:45 ` Eli Zaretskii
2019-02-25 10:23   ` Evgeny Zajcev
2020-12-03 15:47     ` Evgeny Zajcev
2020-12-03 16:16       ` Alan Third
2020-12-03 16:25         ` lg.zevlg
2020-12-03 16:30           ` Alan Third
2020-12-03 16:54             ` Evgeny Zajcev
2020-12-03 17:50               ` Evgeny Zajcev
2020-12-03 19:57                 ` Alan Third
2020-12-03 22:11                   ` Evgeny Zajcev
2020-12-03 23:02                     ` Evgeny Zajcev
2020-12-12  5:46                       ` lg.zevlg
2020-12-12 10:45                         ` Alan Third
2020-12-12 11:52                           ` Evgeny Zajcev
2020-12-12 12:50                             ` Alan Third
2020-12-03 16:56             ` Vasilij Schneidermann
2020-12-03 16:50       ` Vasilij Schneidermann

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).