Bug#763799: jpegs created by imagemagick cannot be used by latex anymore

2014-10-03 Thread Vincent Fourmond
  Hello,

On Thu, Oct 2, 2014 at 8:46 PM, Klaus Ethgen  wrote:
> The current version of imagemagick (and its library used by gkrellshoot)
> creates jpeg images that cannot be used in pdflatex with graphicx
> anymore.
>
> There is already a bugreport in redhats bugzilla[0].
>
> [0] https://bugzilla.redhat.com/show_bug.cgi?id=1086715
>
> To have the informations also in this bug, this is the result I have
> seen (Only relevant part):
> - --- input.tex
> ...
> \usepackage{graphicx}
> ...
> \includegraphics{gkrellShoot_}
> ...
> - ---
>
> - --- Output
> ...
> pdfTeX warning: pdflatex: arithmetic: number too big
>
>
> pdfTeX warning: pdflatex: arithmetic: number too big
> 
> 
> Overfull \hbox (67.0553pt too wide) has occurred while \output is active
>  [][]  \T1/cmss/m/sc/6 ([])

  The reason is very simple: recent versions of imagemagick write
stupid resolution information to the JPEG files (such as 1 dpi), so
you end up with very very large image (several meters large !), and
latex just gives up.

  While I agree this is clearly a problem with imagemagick, it is also
a bug in LaTeX.

  A simple workaround is the following: add a -density 75 option
before the output in convert:

  convert bad_jpeg.jpeg -density 75 latex_friendly_jpeg.jpeg

  Cheers,

  Vincent


-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org



Bug#763799: jpegs created by imagemagick cannot be used by latex anymore

2014-10-02 Thread Klaus Ethgen
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA512

Package: imagemagick
Version: 8:6.8.9.6-4
Severity: important

The current version of imagemagick (and its library used by gkrellshoot)
creates jpeg images that cannot be used in pdflatex with graphicx
anymore.

There is already a bugreport in redhats bugzilla[0].

[0] https://bugzilla.redhat.com/show_bug.cgi?id=1086715

To have the informations also in this bug, this is the result I have
seen (Only relevant part):
- --- input.tex
...
\usepackage{graphicx}
...
\includegraphics{gkrellShoot_}
...
- ---

- --- Output
...
pdfTeX warning: pdflatex: arithmetic: number too big


pdfTeX warning: pdflatex: arithmetic: number too big


Overfull \hbox (67.0553pt too wide) has occurred while \output is active
 [][]  \T1/cmss/m/sc/6 ([])  
...
- ---

Other formats like png does work correct.

Severity disclaimer:
I filled that bug as important as I see it very important for the
package functionality. However, it might be between normal and important
so feel free to lower if you want.

- -- Package-specific info:
ImageMagick program version
- ---
animate:  ImageMagick 6.8.9-6 Q16 x86_64 2014-09-06 http://www.imagemagick.org
compare:  ImageMagick 6.8.9-6 Q16 x86_64 2014-09-06 http://www.imagemagick.org
convert:  ImageMagick 6.8.9-6 Q16 x86_64 2014-09-06 http://www.imagemagick.org
composite:  ImageMagick 6.8.9-6 Q16 x86_64 2014-09-06 http://www.imagemagick.org
conjure:  ImageMagick 6.8.9-6 Q16 x86_64 2014-09-06 http://www.imagemagick.org
display:  ImageMagick 6.8.9-6 Q16 x86_64 2014-09-06 http://www.imagemagick.org
identify:  ImageMagick 6.8.9-6 Q16 x86_64 2014-09-06 http://www.imagemagick.org
import:  ImageMagick 6.8.9-6 Q16 x86_64 2014-09-06 http://www.imagemagick.org
mogrify:  ImageMagick 6.8.9-6 Q16 x86_64 2014-09-06 http://www.imagemagick.org
montage:  ImageMagick 6.8.9-6 Q16 x86_64 2014-09-06 http://www.imagemagick.org
stream:  ImageMagick 6.8.9-6 Q16 x86_64 2014-09-06 http://www.imagemagick.org

- -- System Information:
Debian Release: jessie/sid
  APT prefers unstable
  APT policy: (800, 'unstable'), (110, 'experimental')
Architecture: amd64 (x86_64)
Foreign Architectures: i386

Kernel: Linux 3.15.10 (SMP w/8 CPU cores)
Locale: LANG=de_DE, LC_CTYPE=de_DE (charmap=ISO-8859-1) (ignored: LC_ALL set to 
de_DE)
Shell: /bin/sh linked to /bin/dash

Versions of packages imagemagick depends on:
ii  imagemagick-6.q16  8:6.8.9.6-4

imagemagick recommends no packages.

imagemagick suggests no packages.

- -- no debconf information

- -- 
Klaus Ethgen  http://www.ethgen.ch/
pub  4096R/4E20AF1C 2011-05-16   Klaus Ethgen 
Fingerprint: 85D4 CA42 952C 949B 1753  62B3 79D0 B06F 4E20 AF1C
-BEGIN PGP SIGNATURE-
Version: GnuPG v1

iQGcBAEBCgAGBQJULZ2fAAoJEKZ8CrGAGfasMhAMAMK/Kw0bF3h3Db0j3SW6RN61
z52E6thJgelEpzr7qfa+qMEF/OyxHAvj/qI3EcTwtDSs0dW3U9NiPxf8MnrZGN+J
i0ERlD95+a/cvO0sgx5qV5ZpalnaZFZ8jzn95PJZpcc1SFwnsvT6o9yw2Nah3Uen
YosMZDTEmOu3UZY3RBwLcEcxhVu3vv2Pa/ttcW3XQD5vSCm+fK7vzBZ7Ig1i+GCa
/9WsuZi1x7r/0/Q3rEE1lUezhnad4qa8z5qzM67lHIRzMvkf5JlwmSjjN8c14nmn
MFEvFedl+G+8M2ClNzjkLk73LUJisGg7WzyGIQbO/PjmsLLVm14CtZCJifZBiiL/
hQb9tauEaKUl0Y9Mq0+OUqQas2h/sHIBF6LCSmrnIocyJNHsScJNqRGlweB8Ld+a
h9W0SHKb4YjmrNyMmGY0ZxzRzPjPgAcKWi3vwe5qHyHdY/6oNwahfkg60zfcGVA6
3ZCKosHhyN5eKIfJ+VW5uGjgRhbPi6iqXHX2R1yXzA==
=JT3X
-END PGP SIGNATURE-


-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org