From debbugs-submit-bounces@debbugs.gnu.org Fri Oct 23 07:18:54 2020 Received: (at submit) by debbugs.gnu.org; 23 Oct 2020 11:18:54 +0000 Received: from localhost ([127.0.0.1]:55539 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kVv5x-0000Uu-PW for submit@debbugs.gnu.org; Fri, 23 Oct 2020 07:18:54 -0400 Received: from lists.gnu.org ([209.51.188.17]:59104) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kVv5u-0000Uk-7J for submit@debbugs.gnu.org; Fri, 23 Oct 2020 07:18:51 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:51368) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1kVv5t-0004lD-WF for bug-gnu-emacs@gnu.org; Fri, 23 Oct 2020 07:18:50 -0400 Received: from quimby.gnus.org ([2a01:4f9:2b:f0f::2]:43678) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1kVv5q-00085m-Or for bug-gnu-emacs@gnu.org; Fri, 23 Oct 2020 07:18:49 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnus.org; s=20200322; h=Content-Type:MIME-Version:Message-ID:Date:Subject:To:From: Sender:Reply-To:Cc:Content-Transfer-Encoding:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: In-Reply-To:References:List-Id:List-Help:List-Unsubscribe:List-Subscribe: List-Post:List-Owner:List-Archive; bh=hR9BUMSNMB962SYVBYYQQMP4maPj87RtVpRYWxRpKXg=; b=fDptH+IxzQSujDjFeS1FeVE3WF LlRAmOiSqMSEXTBYeLc+uehtRYYAgcIA8jINzJsBaXi1bxbsxFH7XjW3sHk6bx0HMN7IzaFAMxzhu T1HqceC9E+IDx5Q3ryr35i5p/y9/vihDmp6EguYGpUDJFZkoYJHLTkmu/BOxVr891t4E=; Received: from cm-84.212.202.86.getinternet.no ([84.212.202.86] helo=xo) by quimby.gnus.org with esmtpsa (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1kVv5l-00009O-O0 for bug-gnu-emacs@gnu.org; Fri, 23 Oct 2020 13:18:44 +0200 From: Lars Ingebrigtsen To: bug-gnu-emacs@gnu.org Subject: 28.0.50; Exporting image data X-Now-Playing: Ossia's _Devil's Dance_: "(untitled)" Date: Fri, 23 Oct 2020 13:18:40 +0200 Message-ID: <87mu0dgpgv.fsf@gnus.org> MIME-Version: 1.0 Content-Type: text/plain X-Spam-Report: Spam detection software, running on the system "quimby.gnus.org", has NOT identified this incoming email as spam. The original message has been attached to this so you can view it or label similar future email. If you have any questions, see @@CONTACT_ADDRESS@@ for details. Content preview: There's been some discussion off-list about adding simple image manipulation functions to Emacs, and there's really only three transforms that are in scope for Emacs: Cropping, rotating and resizing. Content analysis details: (-2.9 points, 5.0 required) pts rule name description ---- ---------------------- -------------------------------------------------- -1.0 ALL_TRUSTED Passed through trusted hosts only via SMTP -1.9 BAYES_00 BODY: Bayes spam probability is 0 to 1% [score: 0.0000] Received-SPF: pass client-ip=2a01:4f9:2b:f0f::2; envelope-from=larsi@gnus.org; helo=quimby.gnus.org X-detected-operating-system: by eggs.gnu.org: No matching host in p0f cache. That's all we know. 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, 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-Spam-Score: -1.3 (-) X-Debbugs-Envelope-To: submit X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -2.3 (--) There's been some discussion off-list about adding simple image manipulation functions to Emacs, and there's really only three transforms that are in scope for Emacs: Cropping, rotating and resizing. Now, there are packages out there that allow doing this, but they rely on external programs to actually do the image wrangling. I wondered what it would take to make it possible to do this in-Emacs, and I think we basically have all the needed stuff -- we just need to hook it up and make it available. 1) Making image data available to Emacs Lisp. This is something that I've often wanted for other reasons -- I want to know how an SVG was rendered, for instance (especially when doing font-based stuff), and there's no way to actually tell. So I think Emacs should have a function like (export-image-data IMAGE &rest SPECS) that will just take the image cache data for IMAGE (or the frame specified by SPECS, if multi-frame) and dump the RGB(A) data into the current buffer (which should be unibyte, for efficiency), and return a plist of width/height/bytes-per-pixel/rgb(a) ordering. This is basically the PPM binary format, but without the heading. This allows us to do easy transforms like cropping and rotating from Lisp, too. 2) Create image files. But mogrifying images is all well and good, but if we can't save the data, it's not much use. Of course we could just save the data as PPM, but that's not very helpful. So Emacs needs to be able to write image files... which sounds like a big thing, but it isn't really: As long as we can save .jpeg and .png files, that's fine. Fortunately, Emacs links with libpng and libjpeg already, so adding a (encode-image-data TYPE) function is less work than it would seem. In GNU Emacs 28.0.50 (build 124, x86_64-pc-linux-gnu, GTK+ Version 3.24.23, cairo version 1.16.0) of 2020-10-22 built on xo Repository revision: 954a4decfcc8e41084789516773b22d0adc11d91 Repository branch: master Windowing system distributor 'The X.Org Foundation', version 11.0.12008000 System Description: Debian GNU/Linux bullseye/sid -- (domestic pets only, the antidote for overdose, milk.) bloggy blog: http://lars.ingebrigtsen.no From debbugs-submit-bounces@debbugs.gnu.org Fri Oct 23 07:46:07 2020 Received: (at 44172) by debbugs.gnu.org; 23 Oct 2020 11:46:07 +0000 Received: from localhost ([127.0.0.1]:56153 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kVvWJ-0004aI-2S for submit@debbugs.gnu.org; Fri, 23 Oct 2020 07:46:07 -0400 Received: from eggs.gnu.org ([209.51.188.92]:56986) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kVvWH-0004St-35 for 44172@debbugs.gnu.org; Fri, 23 Oct 2020 07:46:05 -0400 Received: from fencepost.gnu.org ([2001:470:142:3::e]:45219) by eggs.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1kVvWB-0004CB-OH; Fri, 23 Oct 2020 07:45:59 -0400 Received: from [176.228.60.248] (port=2112 helo=home-c4e4a596f7) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_256_CBC_SHA1:256) (Exim 4.82) (envelope-from ) id 1kVvW9-0005aK-NT; Fri, 23 Oct 2020 07:45:59 -0400 Date: Fri, 23 Oct 2020 14:45:43 +0300 Message-Id: <83a6wdjhco.fsf@gnu.org> From: Eli Zaretskii To: Lars Ingebrigtsen In-Reply-To: <87mu0dgpgv.fsf@gnus.org> (message from Lars Ingebrigtsen on Fri, 23 Oct 2020 13:18:40 +0200) Subject: Re: bug#44172: 28.0.50; Exporting image data References: <87mu0dgpgv.fsf@gnus.org> X-Spam-Score: -2.3 (--) X-Debbugs-Envelope-To: 44172 Cc: 44172@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -3.3 (---) > From: Lars Ingebrigtsen > Date: Fri, 23 Oct 2020 13:18:40 +0200 > > 2) Create image files. Doesn't svg.el come close enough? From debbugs-submit-bounces@debbugs.gnu.org Fri Oct 23 07:50:01 2020 Received: (at 44172) by debbugs.gnu.org; 23 Oct 2020 11:50:01 +0000 Received: from localhost ([127.0.0.1]:56175 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kVva4-0005mN-Pc for submit@debbugs.gnu.org; Fri, 23 Oct 2020 07:50:01 -0400 Received: from quimby.gnus.org ([95.216.78.240]:54576) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kVva2-0005m5-Fn for 44172@debbugs.gnu.org; Fri, 23 Oct 2020 07:49:59 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnus.org; s=20200322; h=Content-Type:MIME-Version:Message-ID:In-Reply-To:Date: References:Subject:Cc:To:From:Sender:Reply-To:Content-Transfer-Encoding: Content-ID:Content-Description:Resent-Date:Resent-From:Resent-Sender: Resent-To:Resent-Cc:Resent-Message-ID:List-Id:List-Help:List-Unsubscribe: List-Subscribe:List-Post:List-Owner:List-Archive; bh=85d+pYUkVukF5fdroKkLt6XJmceaPCrRVS6wLB5nZqQ=; b=JNZdrP0FCaMO2LgJKgkFOYG1Du UFxdZjzGpEJ94/Qx5E3o1FWQAQbrDlAOeuw6H0Vh23vy9EwWua6ekWvcShujE0w9xMLE9KRgoUThv LNRV6w35JIdg3m+D+wwSE98CjyAQgPIU6JXf7PKBdsJF+/D1SDbhHG0QTVrs5ZY2Kfug=; Received: from cm-84.212.202.86.getinternet.no ([84.212.202.86] helo=xo) by quimby.gnus.org with esmtpsa (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1kVvZu-0000S8-7s; Fri, 23 Oct 2020 13:49:52 +0200 From: Lars Ingebrigtsen To: Eli Zaretskii Subject: Re: bug#44172: 28.0.50; Exporting image data References: <87mu0dgpgv.fsf@gnus.org> <83a6wdjhco.fsf@gnu.org> Face: iVBORw0KGgoAAAANSUhEUgAAADAAAAAwBAMAAAClLOS0AAAABGdBTUEAALGPC/xhBQAAACBj SFJNAAB6JgAAgIQAAPoAAACA6AAAdTAAAOpgAAA6mAAAF3CculE8AAAAKlBMVEX18+zo5dvh3dLZ 1cqmoZbLxrvAu7AvKCFkXVVDPDVJQjqKhXuCfHP///8XYhd7AAAAAWJLR0QN9rRh9QAAAAd0SU1F B+QKFwsTGyGg4ywAAAGbSURBVDjLfZSxTsMwEIZtxMZiO30Bp2JjaBKhrh2CqBhpYa4ESAxMMCTp XEiLGJHaZkYyRSxsQSxslLfCdtLknKTc4Dj+cv+dz+cgJA0ThKia6AFT/Sje9VodYNwElBRqkkKG VMVgcBMQtaQ0KSVQhG5ojhvAPx5GDLIFbPXYDrhK1yZG6ZQxl2PK2hobgKqP9YB2OEy35Q/9K9+/ GHbKkmrrBvHyNRCP89tKDbsz0U9m4iv8qIOXYCZ68XcVxOIy+BRH67sqCMRzcDxfRNUYB0/9h/Q6 vU97Zla4tZyEJ+vfyWpkOuC9aBHGqygKOxWwGy7G8Ti8CYnZEhIkiQSpBLpWuJSKgrdlg1Qrmfbf pz8TMcpOoDDrfMB42+PyqOQI4lhnrs0tz6EI7w8gYHKNMumB8OHAIQC4fHO0UgoA6qq70Fa7sE7p RkpOaNEM2HKKrEjel1kbMBd2Ay273XJhVtDDgx5Zz2TAhjtnTunBQYVxlpWOwWCtMIyhAG0KbsOs stPRGqx+1XB+nSGAfwO4nt9zUgfaH9uoiPQHHR1Rs3csTsoAAAAldEVYdGRhdGU6Y3JlYXRlADIw MjAtMTAtMjNUMTE6MTk6MjcrMDA6MDBuj4yLAAAAJXRFWHRkYXRlOm1vZGlmeQAyMDIwLTEwLTIz VDExOjE5OjI3KzAwOjAwH9I0NwAAAABJRU5ErkJggg== X-Now-Playing: Ossia's _Devil's Dance_: "(untitled)" Date: Fri, 23 Oct 2020 13:49:49 +0200 In-Reply-To: <83a6wdjhco.fsf@gnu.org> (Eli Zaretskii's message of "Fri, 23 Oct 2020 14:45:43 +0300") Message-ID: <87tuulf9gi.fsf@gnus.org> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/28.0.50 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Report: Spam detection software, running on the system "quimby.gnus.org", has NOT identified this incoming email as spam. The original message has been attached to this so you can view it or label similar future email. If you have any questions, see @@CONTACT_ADDRESS@@ for details. Content preview: Eli Zaretskii writes: > Doesn't svg.el come close enough? Not really -- if you have an image you've cropped, you can certainly write it out as .svg, but it'd be huge. Then PPM would be preferable. But neither are much good, in general. Content analysis details: (-2.9 points, 5.0 required) pts rule name description ---- ---------------------- -------------------------------------------------- -1.0 ALL_TRUSTED Passed through trusted hosts only via SMTP -1.9 BAYES_00 BODY: Bayes spam probability is 0 to 1% [score: 0.0000] X-Spam-Score: 0.0 (/) X-Debbugs-Envelope-To: 44172 Cc: 44172@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.0 (-) Eli Zaretskii writes: > Doesn't svg.el come close enough? Not really -- if you have an image you've cropped, you can certainly write it out as .svg, but it'd be huge. Then PPM would be preferable. But neither are much good, in general. -- (domestic pets only, the antidote for overdose, milk.) bloggy blog: http://lars.ingebrigtsen.no From debbugs-submit-bounces@debbugs.gnu.org Fri Oct 23 12:24:33 2020 Received: (at 44172) by debbugs.gnu.org; 23 Oct 2020 16:24:33 +0000 Received: from localhost ([127.0.0.1]:58069 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kVzrl-00070R-8q for submit@debbugs.gnu.org; Fri, 23 Oct 2020 12:24:33 -0400 Received: from wilbur.contactoffice.com ([212.3.242.68]:42888) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kVzri-000708-Eu for 44172@debbugs.gnu.org; Fri, 23 Oct 2020 12:24:32 -0400 Received: from smtpauth2.co-bxl (smtpauth2.co-bxl [10.2.0.24]) by wilbur.contactoffice.com (Postfix) with ESMTP id EAFC960E; Fri, 23 Oct 2020 18:24:23 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; t=1603470263; s=20200222-6h9o; d=idiocy.org; i=alan@idiocy.org; h=Date:From:To:Cc:Subject:Message-ID:References:MIME-Version:Content-Type:In-Reply-To; l=1225; bh=HtI0ALNeSXavXGmpY3GwbQAD36HxqtO2iYXJ/8gYBF0=; b=W9GVi3tqMOubMWGqMVLoIhFmnbkY4ax5BvauLxayQoPF1mk/9ygLkF8SXr0AGmh2 adG1GMBfE11VQWgsEyyFPduNaHdNZxsVVz25JS+TneX2XARJN5c1VRMREuYTUL7hjX5 WP8GF2CE0BltoicHS9DY2qxkhWa1Q5XO1Bx91qZ0OH4QqXXYv3MIepJ45uBbiI+1X9a JzzXnhJ92ByKNVEpsFshE4r1vq5M4asQCu1dm1ryUPTA1o2GMubwvBlhfcT+zEUi8r8 rwVq46g8Nyfn8hd+VJQmhdBKuglo/XYU7m9nlHga/QNNoNNLQJkcUr/A8R/gNySKQX4 kO7kiFmMGw== Received: by smtp.mailfence.com with ESMTPA ; Fri, 23 Oct 2020 18:24:20 +0200 (CEST) Received: by breton.holly.idiocy.org (Postfix, from userid 501) id 4BF1A202630F06; Fri, 23 Oct 2020 17:24:19 +0100 (BST) Date: Fri, 23 Oct 2020 17:24:19 +0100 From: Alan Third To: Lars Ingebrigtsen Subject: Re: bug#44172: 28.0.50; Exporting image data Message-ID: <20201023162419.GB59267@breton.holly.idiocy.org> Mail-Followup-To: Alan Third , Lars Ingebrigtsen , 44172@debbugs.gnu.org References: <87mu0dgpgv.fsf@gnus.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <87mu0dgpgv.fsf@gnus.org> X-Spam-Flag: NO X-Spam-Status: No, hits=-2.9 required=4.7 symbols=ALL_TRUSTED, BAYES_00 device=10.2.0.1 X-ContactOffice-Account: com:241649512 X-Spam-Score: -0.7 (/) X-Debbugs-Envelope-To: 44172 Cc: 44172@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.7 (-) On Fri, Oct 23, 2020 at 01:18:40PM +0200, Lars Ingebrigtsen wrote: > > 1) Making image data available to Emacs Lisp. > > This is something that I've often wanted for other reasons -- I want to > know how an SVG was rendered, for instance (especially when doing > font-based stuff), and there's no way to actually tell. > > So I think Emacs should have a function like > > (export-image-data IMAGE &rest SPECS) > > that will just take the image cache data for IMAGE (or the frame > specified by SPECS, if multi-frame) and dump the RGB(A) data into the > current buffer (which should be unibyte, for efficiency), and return > a plist of width/height/bytes-per-pixel/rgb(a) ordering. This is > basically the PPM binary format, but without the heading. > > This allows us to do easy transforms like cropping and rotating from > Lisp, too. Are you talking about using an image spec that we use to display images, which can already include rotation and resizing? That would be difficult because the stored image data doesn't have those transformations applied, unless you're using imagemagick. We'd have to draw it to a buffer (either on-screen or off) and then read back that data. -- Alan Third From debbugs-submit-bounces@debbugs.gnu.org Sat Oct 24 15:51:17 2020 Received: (at 44172) by debbugs.gnu.org; 24 Oct 2020 19:51:17 +0000 Received: from localhost ([127.0.0.1]:35208 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kWPZN-0002bF-8c for submit@debbugs.gnu.org; Sat, 24 Oct 2020 15:51:17 -0400 Received: from quimby.gnus.org ([95.216.78.240]:52128) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kWPZL-0002b3-NT for 44172@debbugs.gnu.org; Sat, 24 Oct 2020 15:51:16 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnus.org; s=20200322; h=Content-Type:MIME-Version:Message-ID:In-Reply-To:Date: References:Subject:Cc:To:From:Sender:Reply-To:Content-Transfer-Encoding: Content-ID:Content-Description:Resent-Date:Resent-From:Resent-Sender: Resent-To:Resent-Cc:Resent-Message-ID:List-Id:List-Help:List-Unsubscribe: List-Subscribe:List-Post:List-Owner:List-Archive; bh=W4LI347L7i0en+QLk8LP8eflz3+n7c9vopiMCIUR9ow=; b=aUZlWV+hAxa0wpu6NW8ReWdbnq pYUpJ6/9Jp6lQ0CD80x6NzjguclqPt9fuY/hSongEvFtXABzFMHH/qt6aEgFK3h10fduYy6q28w/K XC9dIl9UGhlNsLfWYaFwBTwlmnIKYS8c7Z+FzUOmsxJCcvEyy7vCGMqL7LLaKQhz5tIk=; Received: from cm-84.212.202.86.getinternet.no ([84.212.202.86] helo=xo) by quimby.gnus.org with esmtpsa (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1kWPZD-0007Xt-95; Sat, 24 Oct 2020 21:51:09 +0200 From: Lars Ingebrigtsen To: Alan Third Subject: Re: bug#44172: 28.0.50; Exporting image data References: <87mu0dgpgv.fsf@gnus.org> <20201023162419.GB59267@breton.holly.idiocy.org> Face: iVBORw0KGgoAAAANSUhEUgAAADAAAAAwBAMAAAClLOS0AAAABGdBTUEAALGPC/xhBQAAACBj SFJNAAB6JgAAgIQAAPoAAACA6AAAdTAAAOpgAAA6mAAAF3CculE8AAAAIVBMVEX27tn1797QxrqU jImKgX2Ee3hvZ2crJihDOz5STE3////GrS5UAAAAAWJLR0QKaND0VgAAAAd0SU1FB+QKGBMgGAaU NTgAAAGDSURBVDjLjZJNboMwEIWHngBu0B+p6wiSqnvMCQBL3VbCiS8Qc4IwbFsJ4dt2xoZgKpDy pAR437w3TgRAoDiZFcNa0Z0kPLdJ1j4pSPxTAnEUbYJoIxEuj+KNBQ5s++uq5KHEQ1XRHoA9ED90 qp0VCbxuCyDbEWTiWAlRnYQQayCKmiT4K8tDQEaZvmWn2qnKsqOYElVRHN6NB1VVZ0VZHfPcJeQh 6mQtG7ptHC+LPAdyVPqMUqmmljzFgD6U+BrSJzPcmg9FUEpO0YFAKTneZI8ezGoaAmfjpIcAqHoB l2sIOHFx/nWdUAS0tdbYtT0DvQU0gQsBrelRh4CabGudtF2AVtYqjeTey/R9hwfBGjohWK4ae1+l iE0DQFupGz0Yp+vAwNIDTolABHrX1c/TC2DNiXEB2HLVenqgE8DIJvo/2NCuuRFoumsR0bTLCbTu ezDkYI/+sGhH85PSG5qewfpfyBlXNn6z//IJnYuw76oQf+ltK/MLA9N2OC9A0/FtZ/4A7BBH78of cLkAAAAldEVYdGRhdGU6Y3JlYXRlADIwMjAtMTAtMjRUMTk6MzI6MjQrMDA6MDBYEf84AAAAJXRF WHRkYXRlOm1vZGlmeQAyMDIwLTEwLTI0VDE5OjMyOjI0KzAwOjAwKUxHhAAAAABJRU5ErkJggg== X-Now-Playing: Contriva's _If you had stayed..._: "after work club" Date: Sat, 24 Oct 2020 21:51:05 +0200 In-Reply-To: <20201023162419.GB59267@breton.holly.idiocy.org> (Alan Third's message of "Fri, 23 Oct 2020 17:24:19 +0100") Message-ID: <87mu0bcsie.fsf@gnus.org> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/28.0.50 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Report: Spam detection software, running on the system "quimby.gnus.org", has NOT identified this incoming email as spam. The original message has been attached to this so you can view it or label similar future email. If you have any questions, see @@CONTACT_ADDRESS@@ for details. Content preview: Alan Third writes: > Are you talking about using an image spec that we use to display > images, which can already include rotation and resizing? Yes. Content analysis details: (-2.9 points, 5.0 required) pts rule name description ---- ---------------------- -------------------------------------------------- -1.0 ALL_TRUSTED Passed through trusted hosts only via SMTP -1.9 BAYES_00 BODY: Bayes spam probability is 0 to 1% [score: 0.0000] X-Spam-Score: 0.0 (/) X-Debbugs-Envelope-To: 44172 Cc: 44172@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.0 (-) Alan Third writes: > Are you talking about using an image spec that we use to display > images, which can already include rotation and resizing? Yes. > That would be difficult because the stored image data doesn't have > those transformations applied, unless you're using imagemagick. We'd > have to draw it to a buffer (either on-screen or off) and then read > back that data. But it's the untransformed data that we'd want here, so that sounds great to me. -- (domestic pets only, the antidote for overdose, milk.) bloggy blog: http://lars.ingebrigtsen.no From debbugs-submit-bounces@debbugs.gnu.org Sun Jul 04 09:46:39 2021 Received: (at control) by debbugs.gnu.org; 4 Jul 2021 13:46:39 +0000 Received: from localhost ([127.0.0.1]:40600 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1m02SF-0005PO-Ks for submit@debbugs.gnu.org; Sun, 04 Jul 2021 09:46:39 -0400 Received: from quimby.gnus.org ([95.216.78.240]:47140) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1m02SE-0005Jv-89 for control@debbugs.gnu.org; Sun, 04 Jul 2021 09:46:38 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnus.org; s=20200322; h=Subject:From:To:Message-Id:Date:Sender:Reply-To:Cc: MIME-Version:Content-Type:Content-Transfer-Encoding:Content-ID: Content-Description:Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc :Resent-Message-ID:In-Reply-To:References:List-Id:List-Help:List-Unsubscribe: List-Subscribe:List-Post:List-Owner:List-Archive; bh=PKl1jhbmJKDb1LgvaIphGcpoq2EnW3uWydjLIOy4Sgs=; b=ibrwVgGMy+fl6yAtE1F3YmWH82 PntoCB+9msUUNXt0q7t5nxHaejm+fDocZrYrBSST/rQwaMUO7KxwMx6VRysSuo354uG6EMe2L++Jx jpvSViJFw1oNKy9WkDTfsZx5JAg1sfDuCGMpFY+GzEI1N/rpwH9e6nCx5OkFKcMtStks=; Received: from cm-84.212.220.105.getinternet.no ([84.212.220.105] helo=elva) by quimby.gnus.org with esmtpsa (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1m02S6-0000rl-KF for control@debbugs.gnu.org; Sun, 04 Jul 2021 15:46:32 +0200 Date: Sun, 04 Jul 2021 15:46:30 +0200 Message-Id: <87h7ha42fd.fsf@gnus.org> To: control@debbugs.gnu.org From: Lars Ingebrigtsen Subject: control message for bug #49347 X-Spam-Report: Spam detection software, running on the system "quimby.gnus.org", has NOT identified this incoming email as spam. The original message has been attached to this so you can view it or label similar future email. If you have any questions, see @@CONTACT_ADDRESS@@ for details. Content preview: forcemerge 49347 44172 quit Content analysis details: (-2.9 points, 5.0 required) pts rule name description ---- ---------------------- -------------------------------------------------- -1.0 ALL_TRUSTED Passed through trusted hosts only via SMTP -1.9 BAYES_00 BODY: Bayes spam probability is 0 to 1% [score: 0.0000] X-Spam-Score: -2.3 (--) X-Debbugs-Envelope-To: control X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -3.3 (---) forcemerge 49347 44172 quit From debbugs-submit-bounces@debbugs.gnu.org Sun Oct 31 11:04:49 2021 Received: (at 44172) by debbugs.gnu.org; 31 Oct 2021 15:04:49 +0000 Received: from localhost ([127.0.0.1]:32802 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mhCO8-0007Pf-QX for submit@debbugs.gnu.org; Sun, 31 Oct 2021 11:04:48 -0400 Received: from mail-pj1-f51.google.com ([209.85.216.51]:43959) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mhCO6-0007PT-Re for 44172@debbugs.gnu.org; Sun, 31 Oct 2021 11:04:47 -0400 Received: by mail-pj1-f51.google.com with SMTP id k2-20020a17090ac50200b001a218b956aaso10729569pjt.2 for <44172@debbugs.gnu.org>; Sun, 31 Oct 2021 08:04:46 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:from:in-reply-to:references:user-agent :mime-version:date:message-id:subject:to:cc; bh=6uKxBDDPUqrJZyjrVYew24nPHX1Z8g9nWW3+upTH/fA=; b=BOjizl+qvkaNUUQVkI3yfabrFDyl3acVrMlyBH4Svc3MNO9nvfjtoDg+9Bw8Givt8N 9gFq4NIJQk4k0B3igj6bCgWTgTfwHvYTz7OJphjNSTIZpf7opGHQEfdgqTGOwDIS1bqR wH4cIpWs2cAx3Zm8fjdakr7AzP1swnjyVVhqPXaWFtvnrH68SF5TH+Q8fYHyQDU4Pmzg akdjdx8kP80ubf2unQUTpPkbRsueE8RBuzoJ8HlNdZn6W/suLEDX4fpD0Pqq0EUaHdXv qJJDzKj41GHdRjRFhUNaw9s0hR88OyrEQi5a3jt7ynZspqdDWZtJr2Q4WC3FcgiTO7kB HN3g== X-Gm-Message-State: AOAM532EzbprWiAVNhkuTMjcxjLeGrkvkDff4x+OuFDV4CFvn1F4gz7l V3ykakSRP/ML4dONHDADYk8YBpHRmOYBCpffX2c= X-Google-Smtp-Source: ABdhPJzPIYF3KY5RqfTTBhMt/ZDqjWNbKw6OJplsF81AHqO1Np7M9wETChcHQR75/fX5MgqY9xDFKus2FFKG0WiQCW8= X-Received: by 2002:a17:90a:be10:: with SMTP id a16mr21818292pjs.133.1635692681227; Sun, 31 Oct 2021 08:04:41 -0700 (PDT) Received: from 753933720722 named unknown by gmailapi.google.com with HTTPREST; Sun, 31 Oct 2021 08:04:40 -0700 From: Stefan Kangas In-Reply-To: <87mu0dgpgv.fsf@gnus.org> (Lars Ingebrigtsen's message of "Fri, 23 Oct 2020 13:18:40 +0200") References: <87mu0dgpgv.fsf@gnus.org> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/29.0.50 (gnu/linux) MIME-Version: 1.0 Date: Sun, 31 Oct 2021 08:04:40 -0700 Message-ID: Subject: Re: bug#44172: 28.0.50; Exporting image data To: Lars Ingebrigtsen Content-Type: text/plain; charset="UTF-8" X-Spam-Score: 0.5 (/) X-Debbugs-Envelope-To: 44172 Cc: 44172@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -0.5 (/) Lars Ingebrigtsen writes: > There's been some discussion off-list about adding simple image > manipulation functions to Emacs, and there's really only three > transforms that are in scope for Emacs: Cropping, rotating and resizing. I think we should have a special `image-edit-mode' to support this. We could have a keybinding to go to between that mode and `image-mode' (say `C-x C-q'). In the short-term, I think `image-mode' should stop pretending it can edit images by making `image-save' into an obsolete alias for `write-file'. From debbugs-submit-bounces@debbugs.gnu.org Sun Oct 31 11:11:36 2021 Received: (at 44172) by debbugs.gnu.org; 31 Oct 2021 15:11:36 +0000 Received: from localhost ([127.0.0.1]:32815 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mhCUi-0007aC-1K for submit@debbugs.gnu.org; Sun, 31 Oct 2021 11:11:36 -0400 Received: from quimby.gnus.org ([95.216.78.240]:39510) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mhCUg-0007a0-Ag for 44172@debbugs.gnu.org; Sun, 31 Oct 2021 11:11:34 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnus.org; s=20200322; h=Content-Type:MIME-Version:Message-ID:In-Reply-To:Date: References:Subject:Cc:To:From:Sender:Reply-To:Content-Transfer-Encoding: Content-ID:Content-Description:Resent-Date:Resent-From:Resent-Sender: Resent-To:Resent-Cc:Resent-Message-ID:List-Id:List-Help:List-Unsubscribe: List-Subscribe:List-Post:List-Owner:List-Archive; bh=vyo/49ajzA20V6fprnfuFbC1kx6JuLNEEzF0AZ1VVIY=; b=sUSisU+ItksNRerPZt2CwGTAg6 lJu1mgtO1+nrx03rW3VR022Jlj9p7yEBpnP3EHvVtDuXQNxq86JQkKv8lyaC6dhJ/34B4cjph0AAk +kOUj1XNFGGq7JrWaKNa3i3g5z2s2RQijwOShq4YnBqEkkaN3VZ6G1IF/c98D3X8cdTY=; Received: from [84.212.220.105] (helo=elva) by quimby.gnus.org with esmtpsa (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1mhCUX-0004G6-2i; Sun, 31 Oct 2021 16:11:28 +0100 From: Lars Ingebrigtsen To: Stefan Kangas Subject: Re: bug#44172: 28.0.50; Exporting image data References: <87mu0dgpgv.fsf@gnus.org> Face: iVBORw0KGgoAAAANSUhEUgAAADAAAAAwBAMAAAClLOS0AAAABGdBTUEAALGPC/xhBQAAACBj SFJNAAB6JgAAgIQAAPoAAACA6AAAdTAAAOpgAAA6mAAAF3CculE8AAAAFVBMVEU8Y0FJhztjl1Jo mlKDqW6mwZH///+tjQ/pAAAAAWJLR0QGYWa4fQAAAAd0SU1FB+UKHw4lKvFBS8IAAAGiSURBVDjL dZTrccQwCITlTAowuIETbiABdyBXkP6LyS6SH7m7KD/Osx+wgDQp5TwiukYVETOrlzxRiTATq3oB ymIOQPUClEUDx0WZ9LjiEeYrgKnqCSQBdZpUnQdIA1SgR5gD6ONMQKFlZJjKBSoTDgD01UHVKqad wAPfj26hHEJTd0d6TfOJBlxDejsyFhcAyV1oPZqytXz+sNDcp2ZldwvMZ4ubH+vgGixWFrKFQalr OkQuhM1xhR9FZraBffhq6MloZueeOJ2hMqNxKd/o9bBAee9TA/jIQF3cBa8vKsffDqAjkJeRv2iv ZgYuu+s04Wbon+PVcIahrwTgkYATZ8qa/lvgL0v5sUEOohZ726J35ZRpUtnUvu+RgKvt+pBbEOCe 2MiWOSiytw4wCaoiMCKjs85GMOEp760hKtUW3a4Iy7DOCM7TAMbn6OU8HWwZvt30sARtdHJLUIKt 7fF0XEpavZwqJd6e/8D6b4a8B3h+74FXmctLKB/TEzCZ8c5mXlG5AG5PIOaLmvh716U8gy6/gHzL fwA/jP8+VOUGYF/KLwhdnHdfNotSAAAAJXRFWHRkYXRlOmNyZWF0ZQAyMDIxLTEwLTMxVDE0OjM3 OjQyKzAwOjAwtnwaKgAAACV0RVh0ZGF0ZTptb2RpZnkAMjAyMS0xMC0zMVQxNDozNzo0MiswMDow MMchopYAAAAASUVORK5CYII= X-Now-Playing: Oval's _94diskont_: "Do While (Command X)" Date: Sun, 31 Oct 2021 16:11:24 +0100 In-Reply-To: (Stefan Kangas's message of "Sun, 31 Oct 2021 08:04:40 -0700") Message-ID: <87lf29ns9v.fsf@gnus.org> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/29.0.50 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Report: Spam detection software, running on the system "quimby.gnus.org", has NOT identified this incoming email as spam. The original message has been attached to this so you can view it or label similar future email. If you have any questions, see @@CONTACT_ADDRESS@@ for details. Content preview: Stefan Kangas writes: > In the short-term, I think `image-mode' should stop pretending it can > edit images by making `image-save' into an obsolete alias for > `write-file'. Yup. Content analysis details: (-2.9 points, 5.0 required) pts rule name description ---- ---------------------- -------------------------------------------------- -1.0 ALL_TRUSTED Passed through trusted hosts only via SMTP -1.9 BAYES_00 BODY: Bayes spam probability is 0 to 1% [score: 0.0000] X-Spam-Score: -2.3 (--) X-Debbugs-Envelope-To: 44172 Cc: 44172@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -3.3 (---) Stefan Kangas writes: > In the short-term, I think `image-mode' should stop pretending it can > edit images by making `image-save' into an obsolete alias for > `write-file'. Yup. -- (domestic pets only, the antidote for overdose, milk.) bloggy blog: http://lars.ingebrigtsen.no From debbugs-submit-bounces@debbugs.gnu.org Sun Oct 31 11:39:12 2021 Received: (at 44172) by debbugs.gnu.org; 31 Oct 2021 15:39:12 +0000 Received: from localhost ([127.0.0.1]:32899 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mhCvP-00024B-PP for submit@debbugs.gnu.org; Sun, 31 Oct 2021 11:39:11 -0400 Received: from mail-pj1-f44.google.com ([209.85.216.44]:53014) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mhCvO-00023z-6P for 44172@debbugs.gnu.org; Sun, 31 Oct 2021 11:39:10 -0400 Received: by mail-pj1-f44.google.com with SMTP id oa4so10531308pjb.2 for <44172@debbugs.gnu.org>; Sun, 31 Oct 2021 08:39:10 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:from:in-reply-to:references:mime-version:date :message-id:subject:to:cc; bh=ssXgJLDfrK7uLmu5WQgMzs5AekExomknZyljYKWC30I=; b=Mvp73vZ6a+81zZMVqemD6uXn6DKa0z3YsFHFM+wKRzJaCflkvXSpiMgJVlqATrETfa DsM/rxadUlWJ+T8+vbUzPONFX8aPyYENQLdwasjZjfeayK6DRhOGkbsQ8skboyDf5L2I 46/OIw3WjFW1wPhkMbSj2kHpy7arqxwbzLVhl9EUhTqqybrYqdWvW46h2WyLlYBJLGan P5bnHXOZjkm2mnK3ZA1+RnqYPlhaJo2DXcKJqU8TWSAAwq3yCPBY7ReUOUBshM7QSJPY WM7eWCiMe2GzLXsmvh0MuTXvoVzWV6ZxlAH2MF8KU990iVlTf/Sa/hTAiN5gATxGWCk1 AcwQ== X-Gm-Message-State: AOAM530CKatk42eHVuJmexqX+QL+FBYSoEdFA+yrymmf07DbdiZjgcA8 h+bF3KkWeB/QE2vOhZ1hnHw2TXTZRj8SdPLVSAU= X-Google-Smtp-Source: ABdhPJwX8+h3ErKGt2yU4yqcT3eqtT4mSCC/nDMj9G5Qm2HrGullLAoZfLY/11WSkBGlM+uPMwhO0on5CeP0ouAhjIc= X-Received: by 2002:a17:90b:3b86:: with SMTP id pc6mr31984432pjb.143.1635694744384; Sun, 31 Oct 2021 08:39:04 -0700 (PDT) Received: from 753933720722 named unknown by gmailapi.google.com with HTTPREST; Sun, 31 Oct 2021 08:39:03 -0700 From: Stefan Kangas In-Reply-To: <87lf29ns9v.fsf@gnus.org> References: <87mu0dgpgv.fsf@gnus.org> <87lf29ns9v.fsf@gnus.org> MIME-Version: 1.0 Date: Sun, 31 Oct 2021 08:39:03 -0700 Message-ID: Subject: Re: bug#44172: 28.0.50; Exporting image data To: Lars Ingebrigtsen Content-Type: text/plain; charset="UTF-8" X-Spam-Score: 0.5 (/) X-Debbugs-Envelope-To: 44172 Cc: 44172@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -0.5 (/) Lars Ingebrigtsen writes: > Stefan Kangas writes: > >> In the short-term, I think `image-mode' should stop pretending it can >> edit images by making `image-save' into an obsolete alias for >> `write-file'. > > Yup. Oops, this doesn't actually work though, does it? For example, `image-save' is also what gives us a command to save images in eww. From debbugs-submit-bounces@debbugs.gnu.org Sun Oct 31 11:42:42 2021 Received: (at 44172) by debbugs.gnu.org; 31 Oct 2021 15:42:42 +0000 Received: from localhost ([127.0.0.1]:32915 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mhCyn-00029r-R9 for submit@debbugs.gnu.org; Sun, 31 Oct 2021 11:42:41 -0400 Received: from quimby.gnus.org ([95.216.78.240]:40198) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mhCym-00029e-Kb for 44172@debbugs.gnu.org; Sun, 31 Oct 2021 11:42:41 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnus.org; s=20200322; h=Content-Type:MIME-Version:Message-ID:In-Reply-To:Date: References:Subject:Cc:To:From:Sender:Reply-To:Content-Transfer-Encoding: Content-ID:Content-Description:Resent-Date:Resent-From:Resent-Sender: Resent-To:Resent-Cc:Resent-Message-ID:List-Id:List-Help:List-Unsubscribe: List-Subscribe:List-Post:List-Owner:List-Archive; bh=gNcGYizlKzLmGzL95OxonkRBBzdButFR8+R67ykTJT4=; b=Mii9A4EhJ8on7k1bHCeWVdqJby 2k4A7obfKsxfT0EEVGsHlqMs1Suga+YROXUxQGscs9DGlOVWhMcTNnSCcvDDWQvxCx4Qbm7elDLJj btIEMnAMrjraQGVadVpMNysIQ/8572923VJseCZYLaJQboJhXTTt+vjrTiV//JxTQsHI=; Received: from [84.212.220.105] (helo=elva) by quimby.gnus.org with esmtpsa (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1mhCyd-0004eG-VE; Sun, 31 Oct 2021 16:42:34 +0100 From: Lars Ingebrigtsen To: Stefan Kangas Subject: Re: bug#44172: 28.0.50; Exporting image data References: <87mu0dgpgv.fsf@gnus.org> <87lf29ns9v.fsf@gnus.org> Face: iVBORw0KGgoAAAANSUhEUgAAADAAAAAwAgMAAAAqbBEUAAAABGdBTUEAALGPC/xhBQAAACBj SFJNAAB6JgAAgIQAAPoAAACA6AAAdTAAAOpgAAA6mAAAF3CculE8AAAADFBMVEXSzp+1qGN7dVH/ //+kzLsMAAAAAWJLR0QDEQxM8gAAAAd0SU1FB+UKHw8jOFVg9zsAAAFRSURBVCjPZZJNasMwFISf QFp0p4Ickp7mGaS9XDSGZO9FfIoeIS240GWhLTSn7Eixs6kXQp/e34xkEX5BbJCQtO7FivViS9uL abDfwAXPzDvIfkszdpLQoGOEu1gyYWgHK6htqVrYcQUnraYNNuhzA2XrnqA899HIQ49MiFG8sYRS VJKVwDRMgFbJDfAfqFdMhS5WkAajU4o3dSSQaKNboTiqQjBKSBtEAY420AYKgfWBumUoJnX6iHZr 2dZWQKwGMqsjpuyqL0ZSwrkYrED50ufc0hKWLL3SXLZuAbIZcWHEVZEvXL42yA7LdxHfoce77kYs 4O2x66K7D/9KMKFng8NxunQV0riUA+brsQ7qxoXBeSHAPzEtzQMfwMCjDj193qHo+KayQXbPDbR6 s1ItyA3Ut/drMOUgvj60noAz7O2P0ANtj6jjebtdmn9/rijDH4BFYqGdVsHyAAAAJXRFWHRkYXRl OmNyZWF0ZQAyMDIxLTEwLTMxVDE1OjM1OjU2KzAwOjAwV/o3HwAAACV0RVh0ZGF0ZTptb2RpZnkA MjAyMS0xMC0zMVQxNTozNTo1NiswMDowMCanj6MAAAAASUVORK5CYII= X-Now-Playing: Oval's _Wohnton_: "Nochgestern" Date: Sun, 31 Oct 2021 16:42:31 +0100 In-Reply-To: (Stefan Kangas's message of "Sun, 31 Oct 2021 08:39:03 -0700") Message-ID: <87cznlmc9k.fsf@gnus.org> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/29.0.50 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Report: Spam detection software, running on the system "quimby.gnus.org", has NOT identified this incoming email as spam. The original message has been attached to this so you can view it or label similar future email. If you have any questions, see @@CONTACT_ADDRESS@@ for details. Content preview: Stefan Kangas writes: >>> In the short-term, I think `image-mode' should stop pretending it can >>> edit images by making `image-save' into an obsolete alias for >>> `write-file'. >> >> Yup. > > Oops, this doesn't actually [...] Content analysis details: (-2.9 points, 5.0 required) pts rule name description ---- ---------------------- -------------------------------------------------- -1.0 ALL_TRUSTED Passed through trusted hosts only via SMTP -1.9 BAYES_00 BODY: Bayes spam probability is 0 to 1% [score: 0.0000] X-Spam-Score: -2.3 (--) X-Debbugs-Envelope-To: 44172 Cc: 44172@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -3.3 (---) Stefan Kangas writes: >>> In the short-term, I think `image-mode' should stop pretending it can >>> edit images by making `image-save' into an obsolete alias for >>> `write-file'. >> >> Yup. > > Oops, this doesn't actually work though, does it? For example, > `image-save' is also what gives us a command to save images in eww. Oh, `image-save'! No, that can't be deprecated. -- (domestic pets only, the antidote for overdose, milk.) bloggy blog: http://lars.ingebrigtsen.no From debbugs-submit-bounces@debbugs.gnu.org Fri Nov 05 09:57:56 2021 Received: (at 44172) by debbugs.gnu.org; 5 Nov 2021 13:57:57 +0000 Received: from localhost ([127.0.0.1]:46692 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mizjA-0007Bg-NQ for submit@debbugs.gnu.org; Fri, 05 Nov 2021 09:57:56 -0400 Received: from mail-pl1-f178.google.com ([209.85.214.178]:36609) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mizj8-0007BM-O3; Fri, 05 Nov 2021 09:57:55 -0400 Received: by mail-pl1-f178.google.com with SMTP id u11so11148865plf.3; Fri, 05 Nov 2021 06:57:54 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:from:in-reply-to:references:user-agent :mime-version:date:message-id:subject:to:cc; bh=j8PfZwF8lJ8QdwywWUuJGsGGutw4PwqwsravjCJixsg=; b=JLwSqA2XEsZbzbkhWT8RZB08aRq1pCkW8kC27KJccV37pJArqdnVcx8DzmKubOpwUN 5Egu5WjuFx9OYAAhreZL13q92nbJoz7Az2ymOZnuVNjQTy6ZA4COmmwCv+JCJk3z5OcU YNhd+U8Omk35KxpLRZmlIbw4hqzYaSLn54AvXudYdmVphvVFfR24ajmAwaELApkbsFIT 82CfHUi5sKCljRhBMbCQfIqJqVYlI3qGjR/DtovxAGgh0fqc2x8TWlkF5fZO6pOEb9ri Sm525Np+t8nk8inY41GlZgvWQbiJqhLGCB7+XRIsouJl97bYfJfZ5p06XF9/Km0f06NO y1fA== X-Gm-Message-State: AOAM530yty0bSpAh6EONgCGynFiGrVzj7ppK1LMCUKhMNIdpB9MCQi7w GwkUPzLEC1h9YfHL8gtP7xCjndNjjQimM70J2RY= X-Google-Smtp-Source: ABdhPJwR65uftW5aFcJUE/mW0ll5G5m8SLQH7mWCQ7uQ5Rpz0ISzTI+Yf6WbpyWDRZMDvzDu67Wi2cDnpwj2J9xwLqA= X-Received: by 2002:a17:90a:be10:: with SMTP id a16mr29636257pjs.133.1636120668847; Fri, 05 Nov 2021 06:57:48 -0700 (PDT) Received: from 753933720722 named unknown by gmailapi.google.com with HTTPREST; Fri, 5 Nov 2021 06:57:48 -0700 From: Stefan Kangas In-Reply-To: <87cznlmc9k.fsf@gnus.org> (Lars Ingebrigtsen's message of "Sun, 31 Oct 2021 16:42:31 +0100") References: <87mu0dgpgv.fsf@gnus.org> <87lf29ns9v.fsf@gnus.org> <87cznlmc9k.fsf@gnus.org> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/29.0.50 (gnu/linux) MIME-Version: 1.0 Date: Fri, 5 Nov 2021 06:57:48 -0700 Message-ID: Subject: Re: bug#49347: image-save not working as expected for transformed image saving! To: Lars Ingebrigtsen Content-Type: text/plain; charset="UTF-8" X-Spam-Score: 0.5 (/) X-Debbugs-Envelope-To: 44172 Cc: 49347@debbugs.gnu.org, 44172@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -0.5 (/) Lars Ingebrigtsen writes: > Oh, `image-save'! No, that can't be deprecated. Maybe we should remove the key binding from `image-mode' though? Or is it useful in `image-mode' buffers? From debbugs-submit-bounces@debbugs.gnu.org Fri Nov 05 20:38:36 2021 Received: (at 44172) by debbugs.gnu.org; 6 Nov 2021 00:38:36 +0000 Received: from localhost ([127.0.0.1]:47751 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mj9j9-0007EI-Qg for submit@debbugs.gnu.org; Fri, 05 Nov 2021 20:38:36 -0400 Received: from quimby.gnus.org ([95.216.78.240]:45490) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mj9j8-0007E3-9P; Fri, 05 Nov 2021 20:38:34 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnus.org; s=20200322; h=Content-Type:MIME-Version:Message-ID:In-Reply-To:Date: References:Subject:Cc:To:From:Sender:Reply-To:Content-Transfer-Encoding: Content-ID:Content-Description:Resent-Date:Resent-From:Resent-Sender: Resent-To:Resent-Cc:Resent-Message-ID:List-Id:List-Help:List-Unsubscribe: List-Subscribe:List-Post:List-Owner:List-Archive; bh=/abvF1m7NfjBpVH7srPR4OLcFVG8sn9L0Jy7c1lyl8w=; b=AG5UclXUWNbHUXiIkhsva2Pw76 nQDqJC2+fpcLZeUBDommnQ4JlNEHijjIuhDd4rfPHviaYcO7d9K2c3L8D6kW3pn6nUk6cjnJYdstt 0TYqWuk4nYXMM5hpZsLTcF17d0X3jD7z5ZCjtRRQ7rvq0D2COjLOnFtweIZ9ktuwN3AQ=; Received: from [84.212.220.105] (helo=elva) by quimby.gnus.org with esmtpsa (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1mj9iz-0001EV-RP; Sat, 06 Nov 2021 01:38:28 +0100 From: Lars Ingebrigtsen To: Stefan Kangas Subject: Re: bug#49347: image-save not working as expected for transformed image saving! References: <87mu0dgpgv.fsf@gnus.org> <87lf29ns9v.fsf@gnus.org> <87cznlmc9k.fsf@gnus.org> Face: iVBORw0KGgoAAAANSUhEUgAAADAAAAAwBAMAAAClLOS0AAAABGdBTUEAALGPC/xhBQAAACBj SFJNAAB6JgAAgIQAAPoAAACA6AAAdTAAAOpgAAA6mAAAF3CculE8AAAAD1BMVEX6y7bxjHTcJyP7 y7X///+D+PafAAAAAWJLR0QEj2jZUQAAAAd0SU1FB+ULBgAlF7PGG3wAAAGUSURBVDjLjZNbesQg CIWxbEBkA9VsAMP+99aD0Vxmpl/rS6K/XDwAUWmt1VpbKUVqbI5FVGqRY+H7ACIwwFnwO8DWx5J3 IOp0/MjD1bg2ji09gq//+gLax/VPUNVXYg9QDclxeQPjfJE70AOYlyfIMs6pW3+AmvIBWOPsAqo0 V4p3XqBnp9AyTPgGNmFzRGcn60jsBJKdjd0NPOX9At0sXLEbLkg6QRXG1QgNV/B1gk0dhBhBYJKs LKAWrhi1ItzgGyA3G41BYWl7gCihYWtcIUhGDKIBtgOw9VwEgkQSfVrAgTOVNKT0BRoYRUz5Qnr9 BXBnkh223S4gfwK4+pYRfJ/v2IgTE5RoGVnpBRA8OdJNmpQt46kLQA7PLsYSAqMfliTYmHJH40Na Jj3V1QxRo7SM2Mw3oLgHf1AejlK/6oEUUdWoOUi/Sot3GR9dEp7OZiiN43yUFjH62T7ScsgYFpbM v25gi2qP9tGUV4sWgBaBjy6R1dR1yjVXz3MM6hxum80uac35y0DxL6P2YQZjaL3P/Q/JWHHnimfg 0AAAACV0RVh0ZGF0ZTpjcmVhdGUAMjAyMS0xMS0wNlQwMDozNzoyMyswMDowMPJTsFAAAAAldEVY dGRhdGU6bW9kaWZ5ADIwMjEtMTEtMDZUMDA6Mzc6MjMrMDA6MDCDDgjsAAAAAElFTkSuQmCC X-Now-Playing: Stereolab's _Switched On Vol. 4: Electrically Possessed (1)_: "Outer Bongolia" Date: Sat, 06 Nov 2021 01:38:25 +0100 In-Reply-To: (Stefan Kangas's message of "Fri, 5 Nov 2021 06:57:48 -0700") Message-ID: <87ee7udsou.fsf@gnus.org> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/29.0.50 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Report: Spam detection software, running on the system "quimby.gnus.org", has NOT identified this incoming email as spam. The original message has been attached to this so you can view it or label similar future email. If you have any questions, see @@CONTACT_ADDRESS@@ for details. Content preview: Stefan Kangas writes: > Lars Ingebrigtsen writes: > >> Oh, `image-save'! No, that can't be deprecated. > > Maybe we should remove the key binding from `image-mode' though? > Or is it useful in `image-mode' [...] Content analysis details: (-2.9 points, 5.0 required) pts rule name description ---- ---------------------- -------------------------------------------------- -1.0 ALL_TRUSTED Passed through trusted hosts only via SMTP -1.9 BAYES_00 BODY: Bayes spam probability is 0 to 1% [score: 0.0000] X-Spam-Score: -2.3 (--) X-Debbugs-Envelope-To: 44172 Cc: 49347@debbugs.gnu.org, 44172@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -3.3 (---) Stefan Kangas writes: > Lars Ingebrigtsen writes: > >> Oh, `image-save'! No, that can't be deprecated. > > Maybe we should remove the key binding from `image-mode' though? > Or is it useful in `image-mode' buffers? It's not very useful in `image-mode' buffers, but it's nice for consistency, perhaps? I think whenever you see an image in Emacs, you should be able to interact with it that way. -- (domestic pets only, the antidote for overdose, milk.) bloggy blog: http://lars.ingebrigtsen.no From debbugs-submit-bounces@debbugs.gnu.org Sat Nov 06 04:00:19 2021 Received: (at 44172) by debbugs.gnu.org; 6 Nov 2021 08:00:19 +0000 Received: from localhost ([127.0.0.1]:48251 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mjGcd-0006GO-3i for submit@debbugs.gnu.org; Sat, 06 Nov 2021 04:00:19 -0400 Received: from mail-pj1-f42.google.com ([209.85.216.42]:34493) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mjGcb-0006G6-Ay; Sat, 06 Nov 2021 04:00:17 -0400 Received: by mail-pj1-f42.google.com with SMTP id j5-20020a17090a318500b001a6c749e697so3909460pjb.1; Sat, 06 Nov 2021 01:00:17 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:from:in-reply-to:references:mime-version:date :message-id:subject:to:cc; bh=HGNkP4CkG5jWtWxhBQupuq4P5FnwqIaxdWzOjuqxBs8=; b=eijQEmS9Q586Xju2cDGev9h3z8b7MJbbfMeVjWcZOSRuv2MUNRf18JZU452vZNILq6 4TWVAlL+xonxcJlJCKyLYpmNag5KOA7M5IlktvM0HDhuP7tgogl4In5imYp+BdDbqsYg mdshC2PHv0eUsdXPwzIzx3ahzA/fN58H4zWKu/+mjw/8trvyxuVlQFF1e4mKsTPVUkqd v6SCCOqVaC1fT0Rl/RKcitJGq77/n813ztqnzSwA1CfQlomSdfHPbf1yfl9471NzGu00 lvL1YwU1KwOAxGCJ6mhcopqhjnCwNjzHEPFuf7ueKRegPiq9yWamteCoEZV7NLWDTUGw Ubrw== X-Gm-Message-State: AOAM531LHDJdCRgcmZAfazjoYYotsGJNE/k/SzSKhuoWtP9oP+SxXCIq exJpsqAP2LrdOVHQtWK5QP2kYdmB8Sng/s4E8aA= X-Google-Smtp-Source: ABdhPJyKYl7RAK8PA78TPL6Wf9O6H9jg7LAhRj9dPKhBobjo3n1Cv9E/BqFZkQH6xJAxKNdvIDlGfGcm4Sy2VT9XadE= X-Received: by 2002:a17:90a:4414:: with SMTP id s20mr32879110pjg.132.1636185611541; Sat, 06 Nov 2021 01:00:11 -0700 (PDT) Received: from 753933720722 named unknown by gmailapi.google.com with HTTPREST; Sat, 6 Nov 2021 01:00:10 -0700 From: Stefan Kangas In-Reply-To: <87ee7udsou.fsf@gnus.org> References: <87mu0dgpgv.fsf@gnus.org> <87lf29ns9v.fsf@gnus.org> <87cznlmc9k.fsf@gnus.org> <87ee7udsou.fsf@gnus.org> MIME-Version: 1.0 Date: Sat, 6 Nov 2021 01:00:10 -0700 Message-ID: Subject: Re: bug#49347: image-save not working as expected for transformed image saving! To: Lars Ingebrigtsen Content-Type: text/plain; charset="UTF-8" X-Spam-Score: 0.5 (/) X-Debbugs-Envelope-To: 44172 Cc: 49347@debbugs.gnu.org, 44172@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -0.5 (/) Lars Ingebrigtsen writes: > It's not very useful in `image-mode' buffers, but it's nice for > consistency, perhaps? I think whenever you see an image in Emacs, you > should be able to interact with it that way. I'm all for consistency, but in this case I think it confuses more than it helps. Actually, to explain what I think, "rotate" is an even better example than "save", so please bear with me: - eww: I'm hard-pressed to think of a case when I have ever wanted to rotate an image on a website. - image-dired-thumbnail-mode: the thumbnails are currently rotatable, but that just makes it go out of synch with the picture. - In the icons.el library I'm working on, we will use SVG images as icons. They should not rotate on "r". The same goes for the logo on the about/splash screen, etc. IOW, I think we should consider "what might the user want to do with an image here?" and then provide the bindings to do that. The consistency I would go for is more along the line of "every time you rotate an image, it is the 'r' key" rather than "you can always rotate an image, anywhere, even if it makes no sense". For `image-save' specifically, I think this command makes sense in eww as you will obviously want to be able to save images from websites. I also think it would make obvious sense in a new `image-edit-mode'. But I don't see that it makes sense in `image-mode' that is fundamentally about displaying an image in various ways, and where users might be lead to think that any activated display options (scaling, etc.) will be reflected in a saved file. From debbugs-submit-bounces@debbugs.gnu.org Sat Nov 06 14:12:24 2021 Received: (at 44172) by debbugs.gnu.org; 6 Nov 2021 18:12:24 +0000 Received: from localhost ([127.0.0.1]:50497 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mjQAy-0003mS-EP for submit@debbugs.gnu.org; Sat, 06 Nov 2021 14:12:24 -0400 Received: from quimby.gnus.org ([95.216.78.240]:53586) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mjQAw-0003mD-OJ; Sat, 06 Nov 2021 14:12:23 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnus.org; s=20200322; h=Content-Type:MIME-Version:Message-ID:In-Reply-To:Date: References:Subject:Cc:To:From:Sender:Reply-To:Content-Transfer-Encoding: Content-ID:Content-Description:Resent-Date:Resent-From:Resent-Sender: Resent-To:Resent-Cc:Resent-Message-ID:List-Id:List-Help:List-Unsubscribe: List-Subscribe:List-Post:List-Owner:List-Archive; bh=708kpDtoHRr4BFSUbajJ/CzfKxsPaSJwBnFnok71quM=; b=DZnfyArnQYalIZR3nhGIR4SoMk i1P1DQtQ4dX0zN8Xmwy/Ya/0Jk3nuiJq+4NWxKuRk3uXKooZKEUXmbQx9E6+szro3+DLprMyiQvsL 5tDI8Lj31ItrM1xY4Optfefgl40O0C+O3OOqlB50pujZW+Lh8hIQUUm0oryCjb5jsKHw=; Received: from [84.212.220.105] (helo=elva) by quimby.gnus.org with esmtpsa (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1mjQAn-0000ML-UG; Sat, 06 Nov 2021 19:12:16 +0100 From: Lars Ingebrigtsen To: Stefan Kangas Subject: Re: bug#49347: image-save not working as expected for transformed image saving! References: <87mu0dgpgv.fsf@gnus.org> <87lf29ns9v.fsf@gnus.org> <87cznlmc9k.fsf@gnus.org> <87ee7udsou.fsf@gnus.org> Face: iVBORw0KGgoAAAANSUhEUgAAADAAAAAwBAMAAAClLOS0AAAABGdBTUEAALGPC/xhBQAAACBj SFJNAAB6JgAAgIQAAPoAAACA6AAAdTAAAOpgAAA6mAAAF3CculE8AAAAJ1BMVEWmmXry26zjx532 47T88cHZoIW8R0ewIi/HYlu1poTWi3fks5P////UfGsyAAAAAWJLR0QMgbNRYwAAAAd0SU1FB+UL BhEgHESH//YAAAGHSURBVDjLpZTPasJAEMaVPsFk8AES8dTTZOilPfYJSimIuav4AKb0VsG49CY+ gYcWaU9WKNJ9ue6fbLJJ1lPnEML88s03M9mk108gShIAQLZB+gLc64MNl3dRgTapgSkQAEgIQCGF pwwDuASwA0g/jQFgIdYeSF594BYoKTe6wtqYfIUCVGahAZhsS9weEL12/TnMkgIruQJOY/Y6Rqbk XgO8meVrbxYebPJXBXbpZzbOn0+O0DhfyMlJKa6V22C2PJX5j3ylHKQulcbAd5sXC36We051Z70d RVLGmAo7ZHEk+U0GpPIwXWSVO52nawlGcSiKYrp3Tf3OxVw8aICRvD2IJ6f4ehOP76YU8iATq6jM R8OzGA315FtFR5MsdqWkzI5mJVu1bq42qDV2W1rRXKLbrvLg0PkxgP8HGh4YVpRpbAH11SHXx4Eq AERwwRzIKKpBHSBCNGdQ3ZEPquPhXhaBclUenTCV1XZr10qrND5odGZAEkcBkJiIL4HE/IH0++uC xgP8B+ZkrxYVE0zmAAAAJXRFWHRkYXRlOmNyZWF0ZQAyMDIxLTExLTA2VDE3OjMyOjI4KzAwOjAw 9gHIwAAAACV0RVh0ZGF0ZTptb2RpZnkAMjAyMS0xMS0wNlQxNzozMjoyOCswMDowMIdccHwAAAAA SUVORK5CYII= X-Now-Playing: Xiu Xiu's _Oh No_: "A Bottle of Rum" Date: Sat, 06 Nov 2021 19:12:13 +0100 In-Reply-To: (Stefan Kangas's message of "Sat, 6 Nov 2021 01:00:10 -0700") Message-ID: <8735o9cfwi.fsf@gnus.org> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/29.0.50 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Report: Spam detection software, running on the system "quimby.gnus.org", has NOT identified this incoming email as spam. The original message has been attached to this so you can view it or label similar future email. If you have any questions, see @@CONTACT_ADDRESS@@ for details. Content preview: Stefan Kangas writes: > - eww: I'm hard-pressed to think of a case when I have ever wanted to > rotate an image on a website. I do that all the time. :-) Well, OK, not all the time, but it's happened more than once when people post upside-down images for the lulz. Content analysis details: (-2.9 points, 5.0 required) pts rule name description ---- ---------------------- -------------------------------------------------- -1.0 ALL_TRUSTED Passed through trusted hosts only via SMTP -1.9 BAYES_00 BODY: Bayes spam probability is 0 to 1% [score: 0.0000] X-Spam-Score: -2.3 (--) X-Debbugs-Envelope-To: 44172 Cc: 49347@debbugs.gnu.org, 44172@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -3.3 (---) Stefan Kangas writes: > - eww: I'm hard-pressed to think of a case when I have ever wanted to > rotate an image on a website. I do that all the time. :-) Well, OK, not all the time, but it's happened more than once when people post upside-down images for the lulz. > For `image-save' specifically, I think this command makes sense in eww > as you will obviously want to be able to save images from websites. > I also think it would make obvious sense in a new `image-edit-mode'. I think whenever a user sees an image in Emacs, they should be able to save it somewhere so that they can use it for something else. > But I don't see that it makes sense in `image-mode' that is > fundamentally about displaying an image in various ways, and where users > might be lead to think that any activated display options (scaling, > etc.) will be reflected in a saved file. I see your point. I have no strong opinions on whether these bindings should be in image-mode, too -- if they're too confusing, we can remove them there. -- (domestic pets only, the antidote for overdose, milk.) bloggy blog: http://lars.ingebrigtsen.no