From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED.blaine.gmane.org!not-for-mail From: Alan Third Newsgroups: gmane.emacs.devel Subject: Re: Native image rotation Date: Wed, 5 Jun 2019 22:39:14 +0100 Message-ID: <20190605213914.GB39840@breton.holly.idiocy.org> References: <83tvgtnoyh.fsf@gnu.org> <20190224232228.GA67813@breton.holly.idiocy.org> <83y364mtde.fsf@gnu.org> <20190225192102.GA3060@breton.holly.idiocy.org> <20190302132911.GA20556@breton.holly.idiocy.org> <87mujikx2p.fsf@tcd.ie> <20190520181848.GA18876@breton.holly.idiocy.org> <20190521201146.GA67893@breton.holly.idiocy.org> <20190602181152.GA75178@breton.holly.idiocy.org> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit Injection-Info: blaine.gmane.org; posting-host="blaine.gmane.org:195.159.176.226"; logging-data="262650"; mail-complaints-to="usenet@blaine.gmane.org" User-Agent: Mutt/1.12.0 (2019-05-25) Cc: "Basil L. Contovounesios" , Eli Zaretskii , emacs-devel@gnu.org To: Lars Ingebrigtsen Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Wed Jun 05 23:40:10 2019 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([209.51.188.17]) by blaine.gmane.org with esmtps (TLS1.0:RSA_AES_256_CBC_SHA1:256) (Exim 4.89) (envelope-from ) id 1hYddh-0016FO-4C for ged-emacs-devel@m.gmane.org; Wed, 05 Jun 2019 23:40:09 +0200 Original-Received: from localhost ([127.0.0.1]:50608 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1hYddg-0001Mv-0x for ged-emacs-devel@m.gmane.org; Wed, 05 Jun 2019 17:40:08 -0400 Original-Received: from eggs.gnu.org ([209.51.188.92]:59112) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1hYdcw-0001GZ-J9 for emacs-devel@gnu.org; Wed, 05 Jun 2019 17:39:24 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1hYdcv-0005Av-Kx for emacs-devel@gnu.org; Wed, 05 Jun 2019 17:39:22 -0400 Original-Received: from mail-wr1-x435.google.com ([2a00:1450:4864:20::435]:35893) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1hYdct-00053a-TG; Wed, 05 Jun 2019 17:39:20 -0400 Original-Received: by mail-wr1-x435.google.com with SMTP id n4so267835wrs.3; Wed, 05 Jun 2019 14:39:18 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=googlemail.com; s=20161025; h=sender:date:from:to:cc:subject:message-id:references:mime-version :content-disposition:content-transfer-encoding:in-reply-to :user-agent; bh=+9+CupskFqHDq9a6l9xGlbg+aprDz742Ok3pdSEM/W0=; b=OytwxgqVQLITA+5Pla2meqCNrTqIMDdGBuvgZTkKLzwckBJE/UCix5D7TzFiwcP3vD WJQLgp9fm4kzj2GPt+V7EAEfaRKwCjkHF6G38tY1WYRtkDY+mQI+51QANDrsNoLtrEoB ndyxaA3WLn8yDxiyjLEINiOo+A51n7h1um6qCCUVjFe82jvQlar/S7789+9KtkeDy0bT pjGkzDwg5vWQrsuDT2e5mLu4uJvMseM0P1gvmcWVbamSuoKXalZPxAblLHr0k8XgXXr1 d/Z88j9OYK/gijPLNj4xgrN5iiGR75uzgcfwPbWGn1fQQTyzBkVDTzHavAxTy4qrm9vd nDFg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:sender:date:from:to:cc:subject:message-id :references:mime-version:content-disposition :content-transfer-encoding:in-reply-to:user-agent; bh=+9+CupskFqHDq9a6l9xGlbg+aprDz742Ok3pdSEM/W0=; b=glbudQIgntNM6WRwx341uBMQMQHae9BgyNhQJ8kMm64QLoCoG8i4QhyS48DZHSssfB LbgeHMxTBXyqDikzSU7kHZqjQfDhWyAJliV6xGNaiX8yTfsD3r5TUrF5n+ubq2sXz2O6 ut0znrLRiIvwY82wkRmdO5Cy/xPyt2EnJLFcEBwybRPye9cxi7KNO7IrkfK5fWJnOG1+ I5NRzDteV19jtwEBlI8KGwFZmHJobfCFB+XoXsaDx4Ydpr1Cx1YouHyTwHw+9Y5Ew0yI XAWbjTUElP90qe6r75t2tDvRrtPgslwOtskoqXGZMG+b0YUABnGKssLs0KqtFNmHNrEa p1+g== X-Gm-Message-State: APjAAAWn+vuwnUOfnse1wHotZFrd3QpOKV8EbYnGiCTRkiSiapeUME6u 14pBst95IOsEEtcLN5nidP0= X-Google-Smtp-Source: APXvYqyVdkk0esm5QOOf1iII9t5ZJUPpBRRfqnK+0zDhLgPhzRx/I63Ew5YBYRwaHLDutdqb5RKJRg== X-Received: by 2002:adf:ee4a:: with SMTP id w10mr15221621wro.311.1559770757381; Wed, 05 Jun 2019 14:39:17 -0700 (PDT) Original-Received: from breton.holly.idiocy.org (ip6-2001-08b0-03f8-8129-f5f8-805d-6999-41dd.holly.idiocy.org. [2001:8b0:3f8:8129:f5f8:805d:6999:41dd]) by smtp.gmail.com with ESMTPSA id n19sm33082wmk.6.2019.06.05.14.39.15 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Wed, 05 Jun 2019 14:39:16 -0700 (PDT) Content-Disposition: inline In-Reply-To: X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 2a00:1450:4864:20::435 X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.21 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.org@gnu.org Original-Sender: "Emacs-devel" Xref: news.gmane.org gmane.emacs.devel:237261 Archived-At: On Sun, Jun 02, 2019 at 08:24:14PM +0200, Lars Ingebrigtsen wrote: > Alan Third writes: > > > I’ve decided it is a waste of time and have removed it. I’ve also > > reverted the order of operations to match ImageMagick as the use cases > > I’d imagined requiring a different order aren’t so useful with 90 > > degree rotations. I’ve just pushed this to master. > Sounds great -- this means that non-Imagemagick Emacs has almost feature > parity with Imagemagick Emacs (for the image formats that Emacs > supports, that is). The only significant thing that's missing is using > exif data to get rotation correct, I think? Yes, I believe so. ImageMagick seems to have a built‐in for automatically orienting the image. > I previously looked at writing an exif parser in Emacs Lisp, and it > looks easy enough, and if we had that, we could also edit the exif data, > which is pretty useful. It would also give us the ability to display other tags, like location data and keywords, which could be nice in an image browser type application. -- Alan Third