unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
* bug#62738: emacs 28.2: jpgs not rotated
@ 2023-04-09 11:55 Dan Jacobson
  2023-09-04 20:03 ` Stefan Kangas
  0 siblings, 1 reply; 9+ messages in thread
From: Dan Jacobson @ 2023-04-09 11:55 UTC (permalink / raw)
  To: 62738

$ exiftool file.jpg #says
Orientation                     : Rotate 90 CW
But
$ emacs -Q file.jpg
ignores it.

emacs-version "28.2"





^ permalink raw reply	[flat|nested] 9+ messages in thread

* bug#62738: emacs 28.2: jpgs not rotated
  2023-04-09 11:55 bug#62738: emacs 28.2: jpgs not rotated Dan Jacobson
@ 2023-09-04 20:03 ` Stefan Kangas
  2023-09-07  7:02   ` Dan Jacobson
  0 siblings, 1 reply; 9+ messages in thread
From: Stefan Kangas @ 2023-09-04 20:03 UTC (permalink / raw)
  To: Dan Jacobson; +Cc: 62738

tags 62738 + moreinfo
thanks

Dan Jacobson <jidanni@jidanni.org> writes:

> $ exiftool file.jpg #says
> Orientation                     : Rotate 90 CW
> But
> $ emacs -Q file.jpg
> ignores it.
>
> emacs-version "28.2"

Could we have an example of such a file?





^ permalink raw reply	[flat|nested] 9+ messages in thread

* bug#62738: emacs 28.2: jpgs not rotated
  2023-09-04 20:03 ` Stefan Kangas
@ 2023-09-07  7:02   ` Dan Jacobson
  2023-09-07  7:54     ` Stefan Kangas
  0 siblings, 1 reply; 9+ messages in thread
From: Dan Jacobson @ 2023-09-07  7:02 UTC (permalink / raw)
  To: Stefan Kangas; +Cc: 62738

>>>>> "SK" == Stefan Kangas <stefankangas@gmail.com> writes:
>> $ exiftool file.jpg #says
>> Orientation                     : Rotate 90 CW
>> But
>> $ emacs -Q file.jpg
>> ignores it.
>> 
>> emacs-version "28.2"

SK> Could we have an example of such a file?

It's easy to create one via exiftool...





^ permalink raw reply	[flat|nested] 9+ messages in thread

* bug#62738: emacs 28.2: jpgs not rotated
  2023-09-07  7:02   ` Dan Jacobson
@ 2023-09-07  7:54     ` Stefan Kangas
  2023-09-14  8:14       ` Dan Jacobson
  0 siblings, 1 reply; 9+ messages in thread
From: Stefan Kangas @ 2023-09-07  7:54 UTC (permalink / raw)
  To: Dan Jacobson; +Cc: 62738

Dan Jacobson <jidanni@jidanni.org> writes:

>>>>>> "SK" == Stefan Kangas <stefankangas@gmail.com> writes:
>>> $ exiftool file.jpg #says
>>> Orientation                     : Rotate 90 CW
>>> But
>>> $ emacs -Q file.jpg
>>> ignores it.
>>>
>>> emacs-version "28.2"
>
> SK> Could we have an example of such a file?
>
> It's easy to create one via exiftool...

Thanks, so could you please create one?

I'm not asking because I don't want to use exiftool.  The issue is that
I cannot remember having seen this bug with any of the exif-rotated jpeg
files that I have on my machine, so I'm not sure I will be able to
reproduce it if I run it again.





^ permalink raw reply	[flat|nested] 9+ messages in thread

* bug#62738: emacs 28.2: jpgs not rotated
  2023-09-07  7:54     ` Stefan Kangas
@ 2023-09-14  8:14       ` Dan Jacobson
  2023-09-14 14:53         ` Stefan Kangas
  0 siblings, 1 reply; 9+ messages in thread
From: Dan Jacobson @ 2023-09-14  8:14 UTC (permalink / raw)
  To: Stefan Kangas; +Cc: 62738

I'm sorry that I didn't save a test case.
And that um, creating one is kind of complicated for me.
But no worries, if you find the bug is no longer present,
I will double check your test case.





^ permalink raw reply	[flat|nested] 9+ messages in thread

* bug#62738: emacs 28.2: jpgs not rotated
  2023-09-14  8:14       ` Dan Jacobson
@ 2023-09-14 14:53         ` Stefan Kangas
  2023-09-17  6:46           ` Dan Jacobson
  0 siblings, 1 reply; 9+ messages in thread
From: Stefan Kangas @ 2023-09-14 14:53 UTC (permalink / raw)
  To: Dan Jacobson; +Cc: 62738

tags 62738 + unreproducible
thanks

Dan Jacobson <jidanni@jidanni.org> writes:

> I'm sorry that I didn't save a test case.
> And that um, creating one is kind of complicated for me.
> But no worries, if you find the bug is no longer present,
> I will double check your test case.

Here's a test case:

cd /tmp
wget \
https://upload.wikimedia.org/wikipedia/commons/1/14/Textile%2C_Strawberry_Thief%2C_designed_1883%2C_printed_ca._1934_%28CH_18340065%29_%28sq_cropped%29.jpg
exiftool -Orientation='Rotate 90 CW' Textile*jpg

Now open that file and see that it's rotated in Emacs (the birds will be
pointing to the right, whereas they are pointing up in the original).





^ permalink raw reply	[flat|nested] 9+ messages in thread

* bug#62738: emacs 28.2: jpgs not rotated
  2023-09-14 14:53         ` Stefan Kangas
@ 2023-09-17  6:46           ` Dan Jacobson
  2023-09-17 11:18             ` Stefan Kangas
  0 siblings, 1 reply; 9+ messages in thread
From: Dan Jacobson @ 2023-09-17  6:46 UTC (permalink / raw)
  To: Stefan Kangas; +Cc: 62738

.jpg_original: All show birds pleasantly horizontal.
.jpg: Chrome, gpicview, viewnior: oddly vertical. Emacs (29.1) -Q, xli: pleasantly horizontal.

Anyway, next time a few KB file with "Do you see these words
horizontally?" in it would be a better test.

Anyway, emacs makes the birds always look good...
I forgot if that is supposed to be good or bad...





^ permalink raw reply	[flat|nested] 9+ messages in thread

* bug#62738: emacs 28.2: jpgs not rotated
  2023-09-17  6:46           ` Dan Jacobson
@ 2023-09-17 11:18             ` Stefan Kangas
  2023-09-20  5:29               ` Dan Jacobson
  0 siblings, 1 reply; 9+ messages in thread
From: Stefan Kangas @ 2023-09-17 11:18 UTC (permalink / raw)
  To: Dan Jacobson; +Cc: 62738

Dan Jacobson <jidanni@jidanni.org> writes:

> .jpg_original: All show birds pleasantly horizontal.
> .jpg: Chrome, gpicview, viewnior: oddly vertical. Emacs (29.1) -Q, xli: pleasantly horizontal.
>
> Anyway, next time a few KB file with "Do you see these words
> horizontally?" in it would be a better test.
>
> Anyway, emacs makes the birds always look good...
> I forgot if that is supposed to be good or bad...

Sorry, I don't understand.  Does your Emacs show the .jpg rotated or
not?

If it does *not* then please provide all your build details as given by
M-x report-emacs-bug.  If possible, please also try with Emacs 29.1 or
even better latest master.

Thanks in advance.





^ permalink raw reply	[flat|nested] 9+ messages in thread

* bug#62738: emacs 28.2: jpgs not rotated
  2023-09-17 11:18             ` Stefan Kangas
@ 2023-09-20  5:29               ` Dan Jacobson
  0 siblings, 0 replies; 9+ messages in thread
From: Dan Jacobson @ 2023-09-20  5:29 UTC (permalink / raw)
  To: Stefan Kangas; +Cc: 62738

>>>>> "SK" == Stefan Kangas <stefankangas@gmail.com> writes:
SK> Dan Jacobson <jidanni@jidanni.org> writes:

>> .jpg_original: All show birds pleasantly horizontal.
>> .jpg: Chrome, gpicview, viewnior: oddly vertical. Emacs (29.1) -Q, xli: pleasantly horizontal.

SK> Sorry, I don't understand.  Does your Emacs show the .jpg rotated or
SK> not?

No matter if I did
$ emacs -Q ...jpg
or
$ emacs -Q ...jpg_original
both pictures looked the same: properly horizontal birds.
Same with using v in dired.

But in chrome, etc. one was vertical.

SK> If it does *not* then please provide all your build details as given by
SK> M-x report-emacs-bug.  If possible, please also try with Emacs 29.1 or
SK> even better latest master.

In GNU Emacs 29.1 (build 1, x86_64-pc-linux-gnu, GTK+ Version 3.24.38,
 cairo version 1.16.0) of 2023-08-30, modified by Debian built on
 x86-csail-01
Windowing system distributor 'The X.Org Foundation', version 11.0.12101008
System Description: Debian GNU/Linux trixie/sid

Configured using:
 'configure --build x86_64-linux-gnu --prefix=/usr
 --sharedstatedir=/var/lib --libexecdir=/usr/libexec
 --localstatedir=/var/lib --infodir=/usr/share/info
 --mandir=/usr/share/man --with-libsystemd --with-pop=yes
 --enable-locallisppath=/etc/emacs:/usr/local/share/emacs/29.1/site-lisp:/usr/local/share/emacs/site-lisp:/usr/share/emacs/29.1/site-lisp:/usr/share/emacs/site-lisp
 --with-sound=alsa --without-gconf --with-mailutils
 --with-native-compilation --build x86_64-linux-gnu --prefix=/usr
 --sharedstatedir=/var/lib --libexecdir=/usr/libexec
 --localstatedir=/var/lib --infodir=/usr/share/info
 --mandir=/usr/share/man --with-libsystemd --with-pop=yes
 --enable-locallisppath=/etc/emacs:/usr/local/share/emacs/29.1/site-lisp:/usr/local/share/emacs/site-lisp:/usr/share/emacs/29.1/site-lisp:/usr/share/emacs/site-lisp
 --with-sound=alsa --without-gconf --with-mailutils
 --with-native-compilation --with-cairo --with-x=yes
 --with-x-toolkit=gtk3 --with-toolkit-scroll-bars 'CFLAGS=-g -O2
 -ffile-prefix-map=/build/reproducible-path/emacs-29.1+1=. -fstack-protector-strong
 -Wformat -Werror=format-security -Wall' 'CPPFLAGS=-Wdate-time
 -D_FORTIFY_SOURCE=2' LDFLAGS=-Wl,-z,relro'

Configured features:
ACL CAIRO DBUS FREETYPE GIF GLIB GMP GNUTLS GPM GSETTINGS HARFBUZZ JPEG
JSON LCMS2 LIBOTF LIBSELINUX LIBSYSTEMD LIBXML2 M17N_FLT MODULES
NATIVE_COMP NOTIFY INOTIFY PDUMPER PNG RSVG SECCOMP SOUND SQLITE3
THREADS TIFF TOOLKIT_SCROLL_BARS TREE_SITTER WEBP X11 XDBE XIM XINPUT2
XPM GTK3 ZLIB

Important settings:
  value of $LC_COLLATE: C
  value of $LC_CTYPE: zh_TW.UTF-8
  value of $LC_MESSAGES: C
  value of $LANG: zh_TW.UTF-8
  value of $XMODIFIERS: @im=ibus
  locale-coding-system: utf-8-unix

Major mode: Lisp Interaction

Minor modes in effect:
  tooltip-mode: t
  global-eldoc-mode: t
  eldoc-mode: t
  show-paren-mode: t
  electric-indent-mode: t
  mouse-wheel-mode: t
  tool-bar-mode: t
  menu-bar-mode: t
  file-name-shadow-mode: t
  global-font-lock-mode: t
  font-lock-mode: t
  blink-cursor-mode: t
  line-number-mode: t
  indent-tabs-mode: t
  transient-mark-mode: t
  auto-composition-mode: t
  auto-encryption-mode: t
  auto-compression-mode: t

Load-path shadows:
None found.

Features:
(shadow sort mail-extr emacsbug message mailcap yank-media puny dired
dired-loaddefs rfc822 mml mml-sec password-cache epa derived epg rfc6068
epg-config gnus-util text-property-search time-date mm-decode mm-bodies
mm-encode mail-parse rfc2231 mailabbrev gmm-utils mailheader cl-loaddefs
comp comp-cstr warnings icons subr-x rx cl-seq cl-macs gv cl-extra
help-mode bytecomp byte-compile cl-lib sendmail rfc2047 rfc2045
ietf-drums mm-util mail-prsvr mail-utils china-util rmc iso-transl
tooltip cconv eldoc paren electric uniquify ediff-hook vc-hooks
lisp-float-type elisp-mode mwheel term/x-win x-win term/common-win x-dnd
tool-bar dnd fontset image regexp-opt fringe tabulated-list replace
newcomment text-mode lisp-mode prog-mode register page tab-bar menu-bar
rfn-eshadow isearch easymenu timer select scroll-bar mouse jit-lock
font-lock syntax font-core term/tty-colors frame minibuffer nadvice seq
simple cl-generic indonesian philippine cham georgian utf-8-lang
misc-lang vietnamese tibetan thai tai-viet lao korean japanese eucjp-ms
cp51932 hebrew greek romanian slovak czech european ethiopic indian
cyrillic chinese composite emoji-zwj charscript charprop case-table
epa-hook jka-cmpr-hook help abbrev obarray oclosure cl-preloaded button
loaddefs theme-loaddefs faces cus-face macroexp files window
text-properties overlay sha1 md5 base64 format env code-pages mule
custom widget keymap hashtable-print-readable backquote threads dbusbind
inotify lcms2 dynamic-setting system-font-setting font-render-setting
cairo move-toolbar gtk x-toolkit xinput2 x multi-tty
make-network-process native-compile emacs)

Memory information:
((conses 16 76846 8924)
 (symbols 48 7149 0)
 (strings 32 19516 1967)
 (string-bytes 1 589592)
 (vectors 16 16632)
 (vector-slots 8 478238 15044)
 (floats 8 28 46)
 (intervals 56 307 0)
 (buffers 984 13))

Package: emacs-gtk
Version: 1:29.1+1-5

-- System Information:
Debian Release: trixie/sid
  APT prefers unstable
  APT policy: (990, 'unstable')
Architecture: amd64 (x86_64)

Kernel: Linux 6.5.0-1-amd64 (SMP w/2 CPU threads; PREEMPT)
Locale: LANG=zh_TW.UTF-8, LC_CTYPE=zh_TW.UTF-8 (charmap=UTF-8), LANGUAGE=en_US:en
Shell: /bin/sh linked to /usr/bin/dash
Init: systemd (via /run/systemd/system)

Versions of packages emacs-gtk depends on:
ii  emacs-bin-common     1:29.1+1-5
ii  emacs-common         1:29.1+1-5
ii  libacl1              2.3.1-3
ii  libasound2           1.2.10-1
ii  libc6                2.37-10
ii  libcairo2            1.17.8-3
ii  libdbus-1-3          1.14.10-1
ii  libfontconfig1       2.14.2-6
ii  libfreetype6         2.13.2+dfsg-1
ii  libgccjit0           13.2.0-4
ii  libgdk-pixbuf-2.0-0  2.42.10+dfsg-1+b1
ii  libgif7              5.2.1-2.5
ii  libglib2.0-0         2.78.0-2
ii  libgmp10             2:6.3.0+dfsg-2
ii  libgnutls30          3.8.1-4+b1
ii  libgpm2              1.20.7-10+b1
ii  libgtk-3-0           3.24.38-5
ii  libharfbuzz0b        8.0.1-1
ii  libice6              2:1.0.10-1
ii  libjansson4          2.14-2
ii  libjpeg62-turbo      1:2.1.5-2
ii  liblcms2-2           2.14-2
ii  libm17n-0            1.8.4-1
ii  libotf1              0.9.16-4
ii  libpango-1.0-0       1.51.0+ds-2
ii  libpng16-16          1.6.40-1
ii  librsvg2-2           2.54.7+dfsg-2
ii  libselinux1          3.5-1
ii  libsm6               2:1.2.3-1
ii  libsqlite3-0         3.43.1-1
ii  libsystemd0          254.3-1
ii  libtiff6             4.5.1+git230720-1
ii  libtinfo6            6.4+20230625-2
ii  libtree-sitter0      0.20.8-2
ii  libwebp7             1.2.4-0.3
ii  libwebpdemux2        1.2.4-0.3
ii  libx11-6             2:1.8.6-1
ii  libxcomposite1       1:0.4.5-1
ii  libxext6             2:1.3.4-1+b1
ii  libxfixes3           1:6.0.0-2
ii  libxi6               2:1.8-1+b1
ii  libxinerama1         2:1.1.4-3
ii  libxml2              2.9.14+dfsg-1.3
ii  libxrandr2           2:1.5.2-2+b1
ii  libxrender1          1:0.9.10-1.1
ii  zlib1g               1:1.2.13.dfsg-3

Versions of packages emacs-gtk recommends:
ii  fonts-noto-color-emoji  2.038-1

Versions of packages emacs-gtk suggests:
ii  emacs-common-non-dfsg  1:29.1+1-1

-- no debconf information





^ permalink raw reply	[flat|nested] 9+ messages in thread

end of thread, other threads:[~2023-09-20  5:29 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2023-04-09 11:55 bug#62738: emacs 28.2: jpgs not rotated Dan Jacobson
2023-09-04 20:03 ` Stefan Kangas
2023-09-07  7:02   ` Dan Jacobson
2023-09-07  7:54     ` Stefan Kangas
2023-09-14  8:14       ` Dan Jacobson
2023-09-14 14:53         ` Stefan Kangas
2023-09-17  6:46           ` Dan Jacobson
2023-09-17 11:18             ` Stefan Kangas
2023-09-20  5:29               ` Dan Jacobson

Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).