emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Carsten Dominik <dominik@science.uva.nl>
To: swangdoodles@gmail.comswangdoodles@gmail.com
Cc: emacs-orgmode@gnu.org
Subject: Re: Images and html-export via data: ?
Date: Sun, 8 Feb 2009 14:22:23 +0100	[thread overview]
Message-ID: <5271219C-E7EA-48F9-8117-96F4E800C253@uva.nl> (raw)
In-Reply-To: <loom.20090207T174254-696@post.gmane.org>

Seems to me that this could be a nice add-on package, which would  
encode and insert such images.

- Carsten

On Feb 7, 2009, at 6:49 PM, Renzo Been :-) <swangdoodles@gmail.com> <swangdoodles@gmail.com 
 > wrote:

> Hi,
>
> It's been a while since I posted anything on
> this list. I've just been using org-mode
> happily for quite a while now, and am quite
> contend with the way it's working for me now...
>
> I do have one idea that I think might be useful.
>
> Images (and small files) can be included inside
> html files in the following way.
>
> src="data:..."
>
> The image needs to be base64 encoded.
>
> Would there be an easy way to create an
> org-command to include an image into the org
> file in this manner?
>
> Off-course their is a disadvantage here: images
> included like this could only be exported to
> html (not LaTeX). And the images must be quite
> small in size, or the exporter might
> fail. Another problem is that not all browsers
> can display images included in this way...
>
> I'll be glad to here any comments about this idea.
>
> Ciao,
> Renzo
>
> Below is an example of how I'm using this
> feature now:
>
> -----
>
> #
> * Picture
> #+BEGIN_HTML
> <p><img src="data:image/png;base64,
> iVBORw0KGgoAAAANSUhEUgAAACAAAAAgCAYAAABzenr0AAAACXRFWHRYLUluZGV4
> ADHDxKz0AAAG2klEQVRYhe2XWWyU5xWGn9lnPF5mPIvHC96wx5iw2YYBG1kkBAhL
> UEvVxShUVBFNVQFq1RSlVdIkTdWoF1UbSkJCCpVSATEiMShbm8QFBwIDGBsbx2C8
> DYuNPTP2ePbtn5m/F1FQm+BxArd5L//v6JznO+fV+fTDt/pW96E9r+wRAY6+dUQc
> Gu4XO7s6xG+aQ3I/xd0uJ+XlpQSCETQqFf6An4qKCtQqFWvWrPtaueXTHdjtZ8RY
> PAZAIplgaPAWXZ/1E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ocXkQcBavxQAAAAA
> SUVORK5CYII="></p>
> #+END_HTML
>
>
>
> _______________________________________________
> Emacs-orgmode mailing list
> Remember: use `Reply All' to send replies to the list.
> Emacs-orgmode@gnu.org
> http://lists.gnu.org/mailman/listinfo/emacs-orgmode

  parent reply	other threads:[~2009-02-08 13:22 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-02-07 17:49 Images and html-export via data: ? Renzo Been :-)
2009-02-07 18:55 ` Sebastian Rose
2009-02-07 19:44 ` Manish
2009-02-07 20:31   ` Renzo Been :-)
2009-02-08 13:22 ` Carsten Dominik [this message]
2009-02-08 14:34   ` Renzo Been :-)

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.orgmode.org/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=5271219C-E7EA-48F9-8117-96F4E800C253@uva.nl \
    --to=dominik@science.uva.nl \
    --cc=emacs-orgmode@gnu.org \
    --cc=swangdoodles@gmail.comswangdoodles \
    /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/org-mode.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).