From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Alan Third Newsgroups: gmane.emacs.devel Subject: Re: SVG with embedded png Date: Tue, 18 May 2021 19:09:28 +0100 Message-ID: References: <87pmxomibv.fsf@Proteus> <87sg2kgqdb.fsf@fastmail.fm> <877djwm868.fsf@Proteus> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="12464"; mail-complaints-to="usenet@ciao.gmane.io" To: Joe Corneli , Joost Kremers , emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Tue May 18 20:10:37 2021 Return-path: Envelope-to: ged-emacs-devel@m.gmane-mx.org Original-Received: from lists.gnu.org ([209.51.188.17]) by ciao.gmane.io with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1lj4Av-00036M-RU for ged-emacs-devel@m.gmane-mx.org; Tue, 18 May 2021 20:10:37 +0200 Original-Received: from localhost ([::1]:49304 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1lj4At-0001ww-Sv for ged-emacs-devel@m.gmane-mx.org; Tue, 18 May 2021 14:10:35 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:43942) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1lj49w-00018f-4c for emacs-devel@gnu.org; Tue, 18 May 2021 14:09:36 -0400 Original-Received: from outbound.soverin.net ([2a01:4f8:fff0:2d:8::218]:43767) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1lj49t-0001Q9-Ry for emacs-devel@gnu.org; Tue, 18 May 2021 14:09:35 -0400 Original-Received: from smtp.soverin.net (unknown [10.10.3.24]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) (No client certificate requested) by outbound.soverin.net (Postfix) with ESMTPS id CCC9B60A61; Tue, 18 May 2021 18:09:30 +0000 (UTC) Original-Received: from smtp.soverin.net (smtp.soverin.net [159.69.232.138]) by soverin.net DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=idiocy.org; s=soverin; t=1621361370; bh=qjns7wGsxLd6kHiwMPCT5zxcTUcTaJFud/Ejt9OtW8g=; h=Date:From:To:Subject:References:In-Reply-To:From; b=GpxU63kjsl02j5NuuUINoDgIxTVKT+qUzDfqXAJKFiphIxHlxrwUQ6GFOulOqUO80 xfewawldsCT1m0iSb67wjk+YdNvfvL5mcZWks8VUdRBoKbPR1OB2FTDAA/sCM+fRd+ 8K0bIADlh2Of4SSXnZ7qIRF/LgUyZzKmsemwiIgKofLUErycGoigk9Dz7YtkS+wEdl R2IHbJIkKIyJzbMD1Z6GQF4mTBBYUEA+Tf698rCAQOkNZnOa4NtYUgQs+8k3z8OHDb cbKQOrM6u8Wc/WXiX4nhaKUa9CBexBBlIZ7fgE5Wf9ctvsZd5UOw6Tg2runv73/WP6 fNu5UyetQngGQ== Original-Received: from alan by faroe.holly.idiocy.org with local (Exim 4.94) (envelope-from ) id 1lj49o-0001Cy-V8; Tue, 18 May 2021 19:09:28 +0100 Mail-Followup-To: Alan Third , Joe Corneli , Joost Kremers , emacs-devel@gnu.org Content-Disposition: inline In-Reply-To: Received-SPF: pass client-ip=2a01:4f8:fff0:2d:8::218; envelope-from=alan@idiocy.org; helo=outbound.soverin.net X-Spam_score_int: -27 X-Spam_score: -2.8 X-Spam_bar: -- X-Spam_report: (-2.8 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, RCVD_IN_DNSWL_LOW=-0.7, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Original-Sender: "Emacs-devel" Xref: news.gmane.io gmane.emacs.devel:269469 Archived-At: On Tue, May 18, 2021 at 07:05:41PM +0100, Alan Third wrote: > (I thought using :base_uri when loading the image was supposed to work > around this, but apparently not...) Actually, it does if you use the right option: (insert-image (create-image "/wherever/your/image/is/Tft.svg" 'svg nil :base-uri "/tmp")) -- Alan Third