[Pkg-gmagick-im-team] Bug#1016522: imagemagick-6.q16: in /etc/mailcap, the -auto-orient option should be used, at least for jpeg

Vincent Lefevre vincent at vinc17.net
Tue Aug 2 09:30:50 BST 2022


Package: imagemagick-6.q16
Version: 8:6.9.11.60+dfsg-1.3+b2
Severity: normal

The /etc/mailcap file contains for jpeg:

image/jpeg; display-im6.q16 'jpeg:%s'; test=test -n "$DISPLAY"

However, some images are not correctly oriented, compared to what
I obtain with other viewers, like nomacs. The -auto-orient option
solves the issue[*] and should be used in /etc/mailcap:

image/jpeg; display-im6.q16 -auto-orient 'jpeg:%s'; test=test -n "$DISPLAY"

I don't know whether other formats need it too.

[*] I found this information on
    https://legacy.imagemagick.org/discourse-server/viewtopic.php?t=30026

-- Package-specific info:
ImageMagick program version
---------------------------
animate:  ImageMagick 6.9.11-60 Q16 x86_64 2021-01-25 https://imagemagick.org
compare:  ImageMagick 6.9.11-60 Q16 x86_64 2021-01-25 https://imagemagick.org
convert:  ImageMagick 6.9.11-60 Q16 x86_64 2021-01-25 https://imagemagick.org
composite:  ImageMagick 6.9.11-60 Q16 x86_64 2021-01-25 https://imagemagick.org
conjure:  ImageMagick 6.9.11-60 Q16 x86_64 2021-01-25 https://imagemagick.org
display:  ImageMagick 6.9.11-60 Q16 x86_64 2021-01-25 https://imagemagick.org
identify:  ImageMagick 6.9.11-60 Q16 x86_64 2021-01-25 https://imagemagick.org
import:  ImageMagick 6.9.11-60 Q16 x86_64 2021-01-25 https://imagemagick.org
mogrify:  ImageMagick 6.9.11-60 Q16 x86_64 2021-01-25 https://imagemagick.org
montage:  ImageMagick 6.9.11-60 Q16 x86_64 2021-01-25 https://imagemagick.org
stream:  ImageMagick 6.9.11-60 Q16 x86_64 2021-01-25 https://imagemagick.org

-- System Information:
Debian Release: bookworm/sid
  APT prefers unstable-debug
  APT policy: (500, 'unstable-debug'), (500, 'stable-updates'), (500, 'stable-security'), (500, 'unstable'), (500, 'testing'), (500, 'stable'), (1, 'experimental')
Architecture: amd64 (x86_64)

Kernel: Linux 5.18.0-3-amd64 (SMP w/8 CPU threads; PREEMPT)
Kernel taint flags: TAINT_PROPRIETARY_MODULE, TAINT_OOT_MODULE, TAINT_UNSIGNED_MODULE
Locale: LANG=POSIX, LC_CTYPE=C.UTF-8 (charmap=UTF-8), LANGUAGE not set
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)
LSM: AppArmor: enabled

Versions of packages imagemagick-6.q16 depends on:
ii  hicolor-icon-theme     0.17-2
ii  libc6                  2.33-8
ii  libmagickcore-6.q16-6  8:6.9.11.60+dfsg-1.3+b2
ii  libmagickwand-6.q16-6  8:6.9.11.60+dfsg-1.3+b2

Versions of packages imagemagick-6.q16 recommends:
ii  ghostscript                  9.56.1~dfsg-1
ii  libmagickcore-6.q16-6-extra  8:6.9.11.60+dfsg-1.3+b2
ii  netpbm                       2:10.97.00-2

Versions of packages imagemagick-6.q16 suggests:
pn  autotrace                            <none>
ii  cups-bsd [lpr]                       2.4.2-1
ii  curl                                 7.84.0-2
pn  enscript                             <none>
ii  ffmpeg                               7:4.4.2-1+b3
ii  fig2dev [transfig]                   1:3.2.8b-2
ii  gimp                                 2.10.30-1+b1
ii  gnuplot-qt [gnuplot]                 5.4.2+dfsg2-2
pn  grads                                <none>
ii  graphviz                             2.42.2-7
ii  groff-base                           1.22.4-8
pn  hp2xx                                <none>
pn  html2ps                              <none>
ii  imagemagick-6-doc [imagemagick-doc]  8:6.9.11.60+dfsg-1.3
ii  libwmf-bin                           0.2.12-5
ii  mplayer                              2:1.4+ds1-3+b2
pn  povray                               <none>
pn  radiance                             <none>
ii  sane-utils                           1.1.1-5
ii  texlive-binaries [texlive-base-bin]  2022.20220321.62855-4
pn  ufraw-batch                          <none>
ii  xdg-utils                            1.1.3-4.1

-- no debconf information

-- 
Vincent Lefèvre <vincent at vinc17.net> - Web: <https://www.vinc17.net/>
100% accessible validated (X)HTML - Blog: <https://www.vinc17.net/blog/>
Work: CR INRIA - computer arithmetic / AriC project (LIP, ENS-Lyon)



More information about the Pkg-gmagick-im-team mailing list