From mboxrd@z Thu Jan 1 00:00:00 1970 From: Renzo Been =?utf-8?b?Oi0p?= <swangdoodles@gmail.com> Subject: Images and html-export via data: ? Date: Sat, 7 Feb 2009 17:49:34 +0000 (UTC) Message-ID: <loom.20090207T174254-696@post.gmane.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii 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 1LVrJN-0003R8-UU for emacs-orgmode@gnu.org; Sat, 07 Feb 2009 12:49:49 -0500 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1LVrJM-0003Qu-Dh for emacs-orgmode@gnu.org; Sat, 07 Feb 2009 12:49:49 -0500 Received: from [199.232.76.173] (port=39318 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1LVrJM-0003Qr-AC for emacs-orgmode@gnu.org; Sat, 07 Feb 2009 12:49:48 -0500 Received: from main.gmane.org ([80.91.229.2]:56447 helo=ciao.gmane.org) by monty-python.gnu.org with esmtps (TLS-1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from <geo-emacs-orgmode@m.gmane.org>) id 1LVrJL-0003Zi-RA for emacs-orgmode@gnu.org; Sat, 07 Feb 2009 12:49:48 -0500 Received: from list by ciao.gmane.org with local (Exim 4.43) id 1LVrJJ-0003kj-RI for emacs-orgmode@gnu.org; Sat, 07 Feb 2009 17:49:45 +0000 Received: from ip56507cb9.direct-adsl.nl ([86.80.124.185]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for <emacs-orgmode@gnu.org>; Sat, 07 Feb 2009 17:49:45 +0000 Received: from swangdoodles by ip56507cb9.direct-adsl.nl with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for <emacs-orgmode@gnu.org>; Sat, 07 Feb 2009 17:49:45 +0000 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: emacs-orgmode@gnu.org 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 izdu3mLn9p1pQdIevrrvFbGwoJBr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