From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp2.migadu.com ([2001:41d0:403:58f0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms13.migadu.com with LMTPS id MKcfMbmhWGc31gAAe85BDQ:P1 (envelope-from ) for ; Tue, 10 Dec 2024 20:16:58 +0000 Received: from aspmx1.migadu.com ([2001:41d0:403:58f0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp2.migadu.com with LMTPS id MKcfMbmhWGc31gAAe85BDQ (envelope-from ) for ; Tue, 10 Dec 2024 21:16:57 +0100 X-Envelope-To: larch@yhetil.org Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=posteo.net header.s=2017 header.b=N9qwezzz; spf=pass (aspmx1.migadu.com: domain of "emacs-orgmode-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="emacs-orgmode-bounces+larch=yhetil.org@gnu.org"; dmarc=pass (policy=none) header.from=posteo.net ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1733861817; h=from:from:sender:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:cc:mime-version:mime-version: content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references:list-id:list-help: list-unsubscribe:list-subscribe:list-post:dkim-signature; bh=ki6SOlBuCFGbYrM40B88rX/jqANoYcxXE/L1mI9cvec=; b=iuQ25UF1ahunUl3DDgAqNFTo1xPaVFzoX9LFwrRNVEHDhCc5kcY9C1DjmiT9yC6Kxekfur c4BANedqRePxUxh61l4jxpXTLhM0wHMDEIhaOPVb0RAtZni6B0hRxWHxR3BhlVOXsYfqJ3 LCWU1/Yd49BJvWsh8eyyxgF+M2LcydISYjcePzeRUy8WcgS9zufhmWIPPpvSWY96vY7vza +Gl3AsZ9p7XPNJ/L22b1YKkA4dzFT75EqGyZuc02ePcTjDOpHzs8fkqstrCfOsJCbysBqZ 3EBcl1OUmtPM+mHtZWW9/TrbIpKGNTC292xNzPX9wEwiKQ964ibj9wFotE6+IQ== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=pass header.d=posteo.net header.s=2017 header.b=N9qwezzz; spf=pass (aspmx1.migadu.com: domain of "emacs-orgmode-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="emacs-orgmode-bounces+larch=yhetil.org@gnu.org"; dmarc=pass (policy=none) header.from=posteo.net ARC-Seal: i=1; s=key1; d=yhetil.org; t=1733861817; a=rsa-sha256; cv=none; b=YAtjLIZDhGU9wvUfz1CEH/7IMH1543waJDt81b9fUHIvR1YBifnyAmc4ZfqF4ZLY005y9l tjUzNkL0QJsNgipJkAlU4S7XSR/ju/YKjm2gGnTrOuuqcanucwLpw7cn95c43skrb8POwh tKJqxEu29lKjWATkJglU2Cs6vzGrpgqpXdbR3eaS16mAmdzrD4IRansqnvrd70E3asmHIl HPCGcQW/wTexKhx7/61yBnC0C+Y45EtY31SYbqhKscCjcGHOGJYWucIXEBGiAbClsBBGEy AfAs/LkAIXBn9uvD85T96vOQo8kyLnNxaknUwqF3YHaWygVws/fLPRwgsFwHHA== Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by aspmx1.migadu.com (Postfix) with ESMTPS id 4ECEE45FC8 for ; Tue, 10 Dec 2024 21:16:57 +0100 (CET) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1tL6eY-0002LK-1e; Tue, 10 Dec 2024 15:16:19 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1tL6eJ-0002Km-Oc for emacs-orgmode@gnu.org; Tue, 10 Dec 2024 15:16:04 -0500 Received: from mout01.posteo.de ([185.67.36.65]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1tL6eI-0007ew-8D for emacs-orgmode@gnu.org; Tue, 10 Dec 2024 15:16:03 -0500 Received: from submission (posteo.de [185.67.36.169]) by mout01.posteo.de (Postfix) with ESMTPS id 21CBD240028 for ; Tue, 10 Dec 2024 21:16:00 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=posteo.net; s=2017; t=1733861761; bh=ki6SOlBuCFGbYrM40B88rX/jqANoYcxXE/L1mI9cvec=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version:Content-Type: Content-Transfer-Encoding:From; b=N9qwezzzS+X6eJ3BmgAVFTyhSXrkdoRWOdUIvPa0vtMR/bHL1qQGuFel8rk4oNbvY aE5q/s7MSXbRmdDmOKpf5CURBdJFmLSLh1ALyQ3hxuXOLCFQTZI8RzCcBpGNLDnEw6 JrOT118uWT+YX0D5hUoUBe+enFc58Mcd1SoiUvZBAZbRKp65FexnMJDWRtW8uSPXaG zj0ZUPM4XcB8Bxjhg97zRIfag4R5KfnGlocXBLUFPXYisfFe3TSMJnq/KUH92t2VI9 8y8taVK0o/BBdY3bdY9yG8pirycmNcgxMw7MP4+XkcaXS7MhnJOHwdTykgRAKok8kg so5ZH7vq2gwkA== Received: from customer (localhost [127.0.0.1]) by submission (posteo.de) with ESMTPSA id 4Y793N1bTvz9rxL; Tue, 10 Dec 2024 21:16:00 +0100 (CET) From: Ihor Radchenko To: Tarjei =?utf-8?Q?B=C3=A6rland?= Cc: emacs-orgmode@gnu.org Subject: Re: Link preview: Applying color filter based on current theme In-Reply-To: References: Date: Tue, 10 Dec 2024 20:17:31 +0000 Message-ID: <87ttbbuwbo.fsf@localhost> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Received-SPF: pass client-ip=185.67.36.65; envelope-from=yantar92@posteo.net; helo=mout01.posteo.de X-Spam_score_int: -43 X-Spam_score: -4.4 X-Spam_bar: ---- X-Spam_report: (-4.4 / 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_MED=-2.3, RCVD_IN_MSPIKE_H3=0.001, RCVD_IN_MSPIKE_WL=0.001, RCVD_IN_VALIDITY_RPBL_BLOCKED=0.001, RCVD_IN_VALIDITY_SAFE_BLOCKED=0.001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: emacs-orgmode@gnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-orgmode-bounces+larch=yhetil.org@gnu.org Sender: emacs-orgmode-bounces+larch=yhetil.org@gnu.org X-Migadu-Country: US X-Migadu-Flow: FLOW_IN X-Migadu-Scanner: mx11.migadu.com X-Migadu-Spam-Score: -1.88 X-Spam-Score: -1.88 X-Migadu-Queue-Id: 4ECEE45FC8 X-TUID: Lj6LSu0nn9yz Tarjei B=C3=A6rland via "General discussions about Org-mode." writes: > I use a lot of simple hand-drawn sketches in my notes. Ideally, I'd like= =20 > a setup where I could take a quick photo of these, and the crop and=20 > adjust saturation and contrast to the point where they appear as black=20 > pen lines on a white or transparent background. > > It would be perfect if I could preview these in a way where the=20 > background and line colors match my current theme's foreground and=20 > background colors. I can write a imagemagick command for getting the=20 > colors transformed, so I guess what I'm wondering is whether it would be= =20 > simple to call this command before previewing the image? Check out [[info:elisp#Image Descriptors]] (:mask descriptor). You may advice the (org-link-get-parameter "file" :preview) to apply mask to the displayed image. --=20 Ihor Radchenko // yantar92, Org mode maintainer, Learn more about Org mode at . Support Org development at , or support my work at