From mboxrd@z Thu Jan 1 00:00:00 1970 From: Vitalie Spinu Subject: Re: Help, I need to paste raw image from clipboard into emacs/orgmode Date: Fri, 07 Jun 2013 11:31:36 +0200 Message-ID: <87obbiferr.fsf@gmail.com> References: Mime-Version: 1.0 Content-Type: text/plain Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:53472) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Ukt1M-0006ah-Av for emacs-orgmode@gnu.org; Fri, 07 Jun 2013 05:31:48 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Ukt1I-00077R-24 for emacs-orgmode@gnu.org; Fri, 07 Jun 2013 05:31:44 -0400 Received: from mail-wi0-x22a.google.com ([2a00:1450:400c:c05::22a]:32948) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Ukt1H-00077K-SJ for emacs-orgmode@gnu.org; Fri, 07 Jun 2013 05:31:39 -0400 Received: by mail-wi0-f170.google.com with SMTP id ey16so1186792wid.3 for ; Fri, 07 Jun 2013 02:31:38 -0700 (PDT) In-Reply-To: (Klaus-Dieter Bauer's message of "Thu, 6 Jun 2013 19:16:26 +0200") List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Sender: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org To: Klaus-Dieter Bauer Cc: org-mode mailing list , e.medhat@ieee.org Thanks for the tip. Do you have an elisp piece that handles the image insertion into org buffers? Thanks, Vitalie >> Klaus-Dieter Bauer >> on Thu, 6 Jun 2013 19:16:26 +0200 wrote: > Dear All, > Please Help, > I need to paste raw image from clipboard into emacs/orgmode, I am a > microsoft onenote user and I got used to take a lot of snapshots and embed > it into my notes, I think if I could know how to embed images directly into > emacs/orgmode from clipboard, I will switch to emacs very easily. > I searched the internet but unfortunately I didn't find the answer, > Thanks a lot. > Dodo > Hello! > While the original poster probably long since has implemented one of the > previously suggested solutions (or given up) I thought I'd share a more general > solution I found [1]. > ImageMagick's `convert' can use clipboard: as input file (don't know if it works > as output file). > convert clipboard: FILENAME-WITH-EXTENSION > I tested it with the cygwin and native windows versions and both worked. > king regards, Klaus > PS1: On Windows `convert.exe' might be shadowed by another executable, > especially C:\Windows\System32\convert.exe. In that case the PATH variable > should be adjusted such that ImageMagick comes before C:\Windows\system32. To > check what shadows the executable, you can run "where convert" in the > Windows-commandline. > PS2: On Windows only basic image-displaying-support is included out-of-the-box. > To get full support, the easiest way is to install the full GnuWin32 tools > (which include the necessary image libraries) with the web-installer. > ------ > [1] User "magick" in > http://www.imagemagick.org/discourse-server/viewtopic.php?f=1&t=7524&p=22859.