From mboxrd@z Thu Jan 1 00:00:00 1970 From: Carsten Dominik <dominik@science.uva.nl> Subject: Re: Images and html-export via data: ? Date: Sun, 8 Feb 2009 14:22:23 +0100 Message-ID: <5271219C-E7EA-48F9-8117-96F4E800C253@uva.nl> References: <loom.20090207T174254-696@post.gmane.org> Mime-Version: 1.0 (Apple Message framework v930.3) Content-Type: text/plain; charset=US-ASCII; format=flowed; delsp=yes Content-Transfer-Encoding: 7bit Return-path: <emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org> Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1LW9cF-0007ce-D0 for emacs-orgmode@gnu.org; Sun, 08 Feb 2009 08:22:31 -0500 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1LW9cD-0007aP-68 for emacs-orgmode@gnu.org; Sun, 08 Feb 2009 08:22:30 -0500 Received: from [199.232.76.173] (port=34860 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1LW9cD-0007aF-0X for emacs-orgmode@gnu.org; Sun, 08 Feb 2009 08:22:29 -0500 Received: from mail-ew0-f20.google.com ([209.85.219.20]:55483) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from <carsten.dominik@gmail.com>) id 1LW9cC-000623-FK for emacs-orgmode@gnu.org; Sun, 08 Feb 2009 08:22:28 -0500 Received: by ewy13 with SMTP id 13so2181022ewy.18 for <emacs-orgmode@gnu.org>; Sun, 08 Feb 2009 05:22:26 -0800 (PST) In-Reply-To: <loom.20090207T174254-696@post.gmane.org> List-Id: "General discussions about Org-mode." <emacs-orgmode.gnu.org> List-Unsubscribe: <http://lists.gnu.org/mailman/listinfo/emacs-orgmode>, <mailto:emacs-orgmode-request@gnu.org?subject=unsubscribe> List-Archive: <http://lists.gnu.org/pipermail/emacs-orgmode> List-Post: <mailto:emacs-orgmode@gnu.org> List-Help: <mailto:emacs-orgmode-request@gnu.org?subject=help> List-Subscribe: <http://lists.gnu.org/mailman/listinfo/emacs-orgmode>, <mailto:emacs-orgmode-request@gnu.org?subject=subscribe> Sender: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org To: swangdoodles@gmail.comswangdoodles@gmail.com Cc: emacs-orgmode@gnu.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/1EA5FeOPAPsmYM0pH51VOne5ElaFBKZdSWWlFkzGK0WDknXeP > izdu3mLn9p1pQdIevrrvFbGwoJBrAwOcPNmO3xfG5wsQT8QIBX2UzTajUEhxDE+g > ydCQn5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mz0uXoiwQiOoRALahdy+NAb > 9w/wZVXMqRSdY+Msb5hPCoHvfmce9vZBHt3YwP69rZgtBoSkjsaG9FsQ0njgbvqg > pVn8x2t7xMG+AYlWreDWyChmk5bDB88R92fxbst51Jpszp6boKxkIY2NS2fM+bUB > zr3fIi6aVcDGhnpe3/uSGBES3LzpwXM9ztOP72Dbps3cvhHl1OkOqqsqyC8wkUyk > aO+4mHYPTGvC/9UT2x4X1fEIwpQXn+Ci3GIBYLbZxEu/2kWmRgq5eqqr5tDd209X > 90WQhNFlSfnJ1m33N4Ltv3hWvNTTSygQB6C3r59CnZ7l8+bx8jNPIVeKJJHj8/o5 > 2nIMrTaDVDKC2+mm/eKlGS83LUBnV4f46oFm8dLlDoR4kDH3GGEhjlabgVap4IWd > O+7ECskYJ86exx8KI5PFWbSgDOf4KJFIjOYjh9KOYFqAZFJk2HELr8dNqdkMwOTE > JOWlpYQiYbS6bMYnJgGIiSk+sdtpXFGP0aTDZDEjU+qJxlJpX8K0AEvqFktiMYFo > 1M/mR9djMRoAUKk1CEKUHF02RpOBQDDIgGOY4XEn3d19pFIqPvz3WTIzcpHKZrZY > Wg9MeTxYDEVY9J8Xz8zORKVQEo+JeDxTCHEBhUpNZkYO+dk5WApm4fKEydEXkl9Q > grW8io8++te9jQCgrsZKabGFeDTOlcEhVEoVMSGOUqlAJpUB4PFOUViQR2FeHl5f > EIO+lKKCMiqtpeRZdDP+H6Tt0S93PCEBWF5dJr7X2sbqR1YR8fkZvTXC1b5+Vj34 > ENdHHCQkkGvQ4xobI0drwWaro7KyhEh4Kl36mTtw9K0jIsD25/4guXDlCtFIHDGR > orC4iOo5VlRqBT3DDtAZUeRko9NpkcpiLLbNZWpqbMY1DPBfocXkQcBavxQAAAAA > 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