From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED.blaine.gmane.org!not-for-mail From: Robert Pluim Newsgroups: gmane.emacs.devel Subject: Re: master 8542f66 2/3: Automatically rotate images in image-mode based on Exif data Date: Wed, 30 Oct 2019 15:19:17 +0100 Message-ID: References: <20190922122352.13822.75583@vcs0.savannah.gnu.org> <20190922122354.5232A207FC@vcs0.savannah.gnu.org> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Injection-Info: blaine.gmane.org; posting-host="blaine.gmane.org:195.159.176.226"; logging-data="47786"; mail-complaints-to="usenet@blaine.gmane.org" Cc: Lars Ingebrigtsen To: emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Wed Oct 30 15:19:32 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.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.89) (envelope-from ) id 1iPoou-000CHB-2i for ged-emacs-devel@m.gmane.org; Wed, 30 Oct 2019 15:19:32 +0100 Original-Received: from localhost ([::1]:40886 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1iPoos-0007lD-Jh for ged-emacs-devel@m.gmane.org; Wed, 30 Oct 2019 10:19:30 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:57396) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1iPool-0007jE-2d for emacs-devel@gnu.org; Wed, 30 Oct 2019 10:19:24 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1iPooj-0006js-WE for emacs-devel@gnu.org; Wed, 30 Oct 2019 10:19:22 -0400 Original-Received: from mail-wr1-x42d.google.com ([2a00:1450:4864:20::42d]:38128) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1iPooj-0006hm-O7 for emacs-devel@gnu.org; Wed, 30 Oct 2019 10:19:21 -0400 Original-Received: by mail-wr1-x42d.google.com with SMTP id v9so2508723wrq.5 for ; Wed, 30 Oct 2019 07:19:21 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:references:mail-copies-to:gmane-reply-to-list :date:in-reply-to:message-id:mime-version:content-transfer-encoding; bh=u9jAb5egwN+fX3Ncrto2jeOLtEPULN8x08mkGMjQiqY=; b=qDAuBqNAMQcwqDL42KyhUcVKIsFt600wOLkLZ4zUA8gaUD/4wrufTAQI+9amG5ViWe HeLvaaffPPv7nnsG7TqwXn2Z5hkH4kt/WlG73bLnzlDbHGIPBz7ktsANZjVgh5KyTVMi 94r4C8DJ5ngo9JrGvM3zQMMWCeR90rs3uGhA8Jsih7LRTfoshplFC5F8HchvPyAXDb85 5eYWDNLgPbp+k6HbT8rtM2PFQzjGA+9iFV9j+Lvkwbj4uUC5Hf7+RUGiI+Yk9LcYcYWb UBvpqVvu2rVGW1X9sH+qsHV4xXez53bZkdtucLH3mqboocBJpNm//VDxsSOiPt+Mgj8j pwNA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:references:mail-copies-to :gmane-reply-to-list:date:in-reply-to:message-id:mime-version :content-transfer-encoding; bh=u9jAb5egwN+fX3Ncrto2jeOLtEPULN8x08mkGMjQiqY=; b=PobLk9OXWMMVflipcbzWHPfxwhL7TRs320IqCI/SmsKAtEiRO1AcdB4dwlqq0yx2/X YM+HRwO0NKOoeaEaYhzzg2ZhcEqCeB1bCgfBAgKerqF6PJWyz4cY9SUEBslyCK44QPEx nTByIGBxmokBGJ226MlyFz6MfbUX2OJBRlyYmnyqECZWvtuiF6Q1IEL9OgPoQvMK+sPg lX63gP2FkKQ7GIv6OiprgUR1bwn755DDEXYflH+ZsXN0yanmZsf+N357CZId9z6ubwfA vwqMIB83OJ+3lYZxBA863nhRu36ucGSghMi6zEoHzixZQNL/NobcffFZGgji5x/o+YJU VsDg== X-Gm-Message-State: APjAAAVy8l+KlyHYMpBc8sOrV04dgWJYiBBWEHjilXGF71vajwaV0h5J vF7YvQ7tKSKhKGJ93QJzQlk= X-Google-Smtp-Source: APXvYqyMbYT/3lS/SHf5FvOc1Bqyg2a77tlCYtC34+keANYeNlYeFBI3uNBIfJeAAnWihkivoZYgkQ== X-Received: by 2002:a5d:4a81:: with SMTP id o1mr81754wrq.225.1572445160145; Wed, 30 Oct 2019 07:19:20 -0700 (PDT) Original-Received: from rpluim-mac ([2a01:e34:ecfc:a860:10a:f31e:f8db:2aab]) by smtp.gmail.com with ESMTPSA id g184sm217464wma.8.2019.10.30.07.19.18 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 30 Oct 2019 07:19:19 -0700 (PDT) Mail-Copies-To: never Gmane-Reply-To-List: yes In-Reply-To: <20190922122354.5232A207FC@vcs0.savannah.gnu.org> (Lars Ingebrigtsen's message of "Sun, 22 Sep 2019 08:23:54 -0400 (EDT)") X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 2a00:1450:4864:20::42d 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.org@gnu.org Original-Sender: "Emacs-devel" Xref: news.gmane.org gmane.emacs.devel:241621 Archived-At: >>>>> On Sun, 22 Sep 2019 08:23:54 -0400 (EDT), larsi@gnus.org (Lars Ingebr= igtsen) said: Lars> branch: master Lars> commit 8542f666023931f85817f590926cc3e9bc992b68 Lars> Author: Lars Ingebrigtsen Lars> Commit: Lars Ingebrigtsen Lars> Automatically rotate images in image-mode based on Exif data =20=20=20=20 Lars> * lisp/image-mode.el (image-toggle-display-image): Get the Lars> orientation from the Exif data, if any. So I attempted to visit a PNG file from emacs, and got a buffer containing the image data, and the following in *Messages* Cannot display image: ((app1 (cdr (assq 65505 (exif--parse-jpeg))))) It=CA=BCs unclear to me whether emacs should be able to display PNG natively here. (featurep 'png) is nil, but this is on macOS, which allegedly has builtin support for PNG. In any case I=CA=BCm not expecting an error message about exif data. Robert