From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Lennart Borgman Newsgroups: gmane.emacs.devel Subject: Re: Drawing in images? Date: Fri, 18 Sep 2009 00:09:11 +0200 Message-ID: References: <87bpm028zk.fsf@stupidchicken.com> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable X-Trace: ger.gmane.org 1253225388 31915 80.91.229.12 (17 Sep 2009 22:09:48 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Thu, 17 Sep 2009 22:09:48 +0000 (UTC) Cc: MON KEY , emacs-devel@gnu.org To: joakim@verona.se Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Fri Sep 18 00:09:41 2009 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.50) id 1MoPAb-0001xk-9m for ged-emacs-devel@m.gmane.org; Fri, 18 Sep 2009 00:09:41 +0200 Original-Received: from localhost ([127.0.0.1]:43996 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1MoPAa-000083-P3 for ged-emacs-devel@m.gmane.org; Thu, 17 Sep 2009 18:09:40 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1MoPAW-00007u-Ez for emacs-devel@gnu.org; Thu, 17 Sep 2009 18:09:36 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1MoPAS-00005O-1n for emacs-devel@gnu.org; Thu, 17 Sep 2009 18:09:36 -0400 Original-Received: from [199.232.76.173] (port=53339 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1MoPAS-00005L-0A for emacs-devel@gnu.org; Thu, 17 Sep 2009 18:09:32 -0400 Original-Received: from mail-yx0-f191.google.com ([209.85.210.191]:52786) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1MoPAR-0007PI-Kh for emacs-devel@gnu.org; Thu, 17 Sep 2009 18:09:31 -0400 Original-Received: by yxe29 with SMTP id 29so593533yxe.14 for ; Thu, 17 Sep 2009 15:09:31 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:in-reply-to:references :from:date:message-id:subject:to:cc:content-type :content-transfer-encoding; bh=j4u816/D3qH7pUHcn5ZIv/9WKlpbMG4smSV2TBPMdRA=; b=lrROcBKxzt+RNpU1LpavQFG1zuIDDSNn06c+IVdNQPGeXB12p7sC05mBjc87wNFiIg rEWza49zoCz3dMjPXNEk+fcutRHHFA6gUnemyikBLsJXZg1Q077qVRD56lfraBkH4BrR PdHCLv/rLQuZVbebyztJNAKnFGHjvfBh9hexE= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc:content-type:content-transfer-encoding; b=ueZWyJUkt8nFb8dlYQ03TwKVgEf85FcbXsMxEt1zTsB/Q82c5+dXNWA5DcAi8d4sJF M5VwPc1D52mazXCK6pLLN7ptDV40v0Ep+T0n6htpn5DDssKsPB5Kv1+RgI1tje5cmbKM qvkCHhexrTxg5FxTmdfx7YZWbbT+RkodJJq7c= Original-Received: by 10.101.152.27 with SMTP id e27mr750138ano.17.1253225371119; Thu, 17 Sep 2009 15:09:31 -0700 (PDT) In-Reply-To: X-detected-operating-system: by monty-python.gnu.org: GNU/Linux 2.6 (newer, 2) X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.devel:115439 Archived-At: On Thu, Sep 17, 2009 at 11:46 PM, wrote: > MON KEY writes: > >> On Wed, Sep 16, 2009 at 3:04 PM, =C2=A0 wrote: >>> >>> Here's an attempt. Its hardly industrial strength, but seems to work. >>> Test with m-x =C2=A0dragbox-start, enter an image file name compatible = with >>> svg, I tried png. Then set the corner coords for the box with LMB and R= MB. >>> >> >> Joakim thanks for taking a shot at this. =C2=A0This is very exciting. >> Unfortunately I can't evaluate. After invoking the `dragbox-start' >> comman with both .png and .jpg image-file types the =C2=A0*dragbox* buff= er >> returns some svg data and a message: > > Thanks for testing. I added the requires you mention, and cleaned up the > code a little bit for readability. Still not industrial strength, but > works here(but I only tested it on a single png file). Looking forward > to your further comments. > >> =3D> "Invalid image type `svg'" I have added the librsvg-2-2.dll and tried to test this, but it failed, init-image-library returned nil. Maybe I need to recompile too?