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: Image transformation filter for upscaled images Date: Tue, 9 Mar 2021 09:28:37 +0000 Message-ID: References: <871rcpo3nm.fsf@gnus.org> <87v9a1l4d7.fsf@gnus.org> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="29716"; mail-complaints-to="usenet@ciao.gmane.io" Cc: Lars Ingebrigtsen , Stefan Kangas , emacs-devel To: Evgeny Zajcev Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Tue Mar 09 10:30:25 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 1lJYh6-0007br-Mh for ged-emacs-devel@m.gmane-mx.org; Tue, 09 Mar 2021 10:30:24 +0100 Original-Received: from localhost ([::1]:59992 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1lJYh5-0003SG-OC for ged-emacs-devel@m.gmane-mx.org; Tue, 09 Mar 2021 04:30:23 -0500 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:32892) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1lJYfW-0002qd-TN for emacs-devel@gnu.org; Tue, 09 Mar 2021 04:28:47 -0500 Original-Received: from outbound.soverin.net ([2a01:4f8:fff0:2d:8::218]:58077) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1lJYfT-0004FF-V8 for emacs-devel@gnu.org; Tue, 09 Mar 2021 04:28:46 -0500 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 4FB5D60849; Tue, 9 Mar 2021 09:28:41 +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=1615282120; bh=J0S0Ku98WrkfVg7xU0KSWZnGIAi9ZFRxxuANpyBaXog=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=Mcf+HVW4MvxP3KJ80Z+AP+tPEoHR4AenV0ptEZqRCuB38xs+2EsPCGZISsLXG5rxh LUp2E8NeJNyLERjP8v8nAZSBTC2c8R0JlMbPCBTSEhXfmQPSQi2RMgXlkZzALGUQ8Z NA1BxH7vX767y6l6DybdhAZ8NibkVaI1DBpySFK7SLemuLcUzZszuJY/l53SIBGVU3 sKMR/Uy3PNes3ppjg12k/CBpUbi07Nb1P1pz+e4C5Ybi0D7xDN+wEg6yjTq3Y9VEsx lTs+Ay2eE4V6eLkRrob5HccNsEr4k0duR+OiSN6ASzzmcBToH/inOsqjXM+8Br/NZu Hc6UPVnXfr7wQ== Original-Received: by breton.holly.idiocy.org (Postfix, from userid 501) id 90AB3202ADF2A5; Tue, 9 Mar 2021 09:28:37 +0000 (GMT) Mail-Followup-To: Alan Third , Evgeny Zajcev , Lars Ingebrigtsen , Stefan Kangas , emacs-devel 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:266235 Archived-At: On Tue, Mar 09, 2021 at 11:34:28AM +0300, Evgeny Zajcev wrote: > вт, 9 мар. 2021 г. в 00:59, Alan Third : > > > As for default behaviour, I'm inclined to stick with what we have > > where scaling down uses best and scaling up uses nearest neighbour but > > any use of :filter (or whatever) over-rides the default. Anyone have > > an opinion? Do we just want to use best everywhere by default? > > > > I vote for "best" everywhere by default, making doc-view shine out-of-box This might be a stupid question, but would it not make more sense to teach doc-view to generate images that are the correct resolution already? That would make it look much better than any scaling option. -- Alan Third