From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Stefan Kangas Newsgroups: gmane.emacs.devel Subject: Re: Image transformation filter for upscaled images Date: Sun, 7 Mar 2021 17:27:44 -0600 Message-ID: References: Mime-Version: 1.0 Content-Type: text/plain; charset="UTF-8" Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="6682"; mail-complaints-to="usenet@ciao.gmane.io" To: Evgeny Zajcev , Alan Third , emacs-devel Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Mon Mar 08 00:28:23 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 1lJ2ox-0001eC-Fa for ged-emacs-devel@m.gmane-mx.org; Mon, 08 Mar 2021 00:28:23 +0100 Original-Received: from localhost ([::1]:37634 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1lJ2ow-0001Ff-Hl for ged-emacs-devel@m.gmane-mx.org; Sun, 07 Mar 2021 18:28:22 -0500 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:53124) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1lJ2oQ-0000ol-B0 for emacs-devel@gnu.org; Sun, 07 Mar 2021 18:27:50 -0500 Original-Received: from mail-pg1-x531.google.com ([2607:f8b0:4864:20::531]:33856) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1lJ2oN-0006ck-Ai for emacs-devel@gnu.org; Sun, 07 Mar 2021 18:27:50 -0500 Original-Received: by mail-pg1-x531.google.com with SMTP id l2so5252800pgb.1 for ; Sun, 07 Mar 2021 15:27:46 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:in-reply-to:references:mime-version:date:message-id:subject:to; bh=wiKA5XimUjVG6TqItuVHk93qRlVEjGW6GKkKTx5Vgvw=; b=ctqC2Dcd+oemZxRaBubLbMdXn5P7v55xBpTHs8YybDcoZaowLGcmsGCZiZf9FxtoSe ag0yNMTQqEuSsH1oyPTz46dX2468EwHR+OhBN7C6vgVLY2nBZBy4/RZlQ+DbiqMrljZ5 1MV992GDsQU5xDYDNvhD7ceQ5QWJkGXfTRhPnkBiVPNJ9lTWML24jN4BzOZnC3pcj+Dj QUDDxH99oSvvKlKmvvA5iLdWaJtT+c72c8/LmNyMVEHVYRapO8pBsAP5e70RAkVuSHHw 45IzLt1+gQ0itmV/B7SSw7OJOrs4x6Y38u6n77tg0/bTEAVh7UvkhIpuSY6wGR4EzzgS ma/Q== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:in-reply-to:references:mime-version:date :message-id:subject:to; bh=wiKA5XimUjVG6TqItuVHk93qRlVEjGW6GKkKTx5Vgvw=; b=Y7Sd3FT4z33dDcl85DfrI+1P015XExdarY5UNX2Et+2+yyutX1bT5e1nM2n1duSVJO ssQI2XgUV5rCBYWit4SAEyBwCPwAd06PefnTP0peQ9ZWIGdFd3s/dsr4mNR2aWx31OSk RadCxxbqIiisrECvxq3FNr1IQcMF2uc8vBtClFUwJ4jBVP/UvK7nLAWmHeUOx65lczGo tFsYWmw4fdglpW26MotrUvtLX3sumk+5LRKkeDkRhSSGZu0atk4irk7Wi0xl5izYf+ZE df2Wbmzs1wC3LuOwkQhutyvabRNjcpPrE7CbIXnYtMFmOofFIWjy7lpctcZ5yCDRH0i6 2VZg== X-Gm-Message-State: AOAM5338hcthIALFHa0QTTP7s5/43xD+TrK679c8g/rULrdnAaFvdejV LVImIhRs4/6qoDi8+JAHYp/q16UoUY/zQYHXlQ4= X-Google-Smtp-Source: ABdhPJyKiwx75U6QtrY73HNr3a8oQJl8mlJLizMV9oFE6cbtil0lmew2tFENJ9L5F2EO1l40wxv/rLQCS5j0QbxmP4o= X-Received: by 2002:a63:fd0a:: with SMTP id d10mr17900428pgh.345.1615159665243; Sun, 07 Mar 2021 15:27:45 -0800 (PST) Original-Received: from 753933720722 named unknown by gmailapi.google.com with HTTPREST; Sun, 7 Mar 2021 17:27:44 -0600 In-Reply-To: Received-SPF: pass client-ip=2607:f8b0:4864:20::531; envelope-from=stefankangas@gmail.com; helo=mail-pg1-x531.google.com X-Spam_score_int: -20 X-Spam_score: -2.1 X-Spam_bar: -- X-Spam_report: (-2.1 / 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, FREEMAIL_FROM=0.001, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_NONE=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:266153 Archived-At: Evgeny Zajcev writes: >> The reason nearest was chosen was because scaled up pixel art (emojis, >> mostly, like etc/images/smilies/wry.xpm) looked abominable Doesn't it seem like a bad trade-off to improve rendering of smileys at the cost of rendering PDF:s worse? I rarely if ever use doc-view, but testing it now seems to produce less than stellar results (i.e. the text is barely readable). > Just get rid of any xpm :) Emacs has nice support for SVG after all, we can > write xpm to svg converter to keep pixel art precision. Is there a way to convert from XPM automatically, or are you saying you volunteer to make the SVG:s? Another option would perhaps be to just replace the XPM:s we have with some set of emojis licensed under Creative Commons. The first one I found when searching online was this one: https://openmoji.org/ https://github.com/hfg-gmuend/openmoji/blob/master/FAQ.md Its license is Creative Commons Share Alike License 4.0 (CC BY-SA 4.0). That is okay for distributing with Emacs, I think? Or we could use some other set, I don't exactly care which one it is. If there is more than one candidate perhaps we could distribute more than one and add an option to choose between them.