[Python-modules-team] Bug#690942: python-pgmagick: Image.attribute does not set the attribute but instead appends to it
Michael Fladischer
FladischerMichael at fladi.at
Fri Oct 19 09:12:50 UTC 2012
Package: python-pgmagick
Version: 0.5.1-1+b1
Severity: normal
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Dear Maintainer,
I'm trying to change an EXIF value by doing this:
In [1]: from pgmagick import Image
In [2]: img = Image('2_topright_x.jpg')
In [3]: img.attribute('EXIF:Orientation')
Out[3]: '2'
In [4]: img.attribute('EXIF:Orientation', '1')
In [5]: img.attribute('EXIF:Orientation')
Out[5]: '21'
As you can seen the '1' was attached to the original value instead of overwriting it, resulting in an invalid EXIF tag.
- -- System Information:
Debian Release: wheezy/sid
APT prefers unstable
APT policy: (500, 'unstable'), (1, 'experimental')
Architecture: amd64 (x86_64)
Kernel: Linux 3.5-trunk-amd64 (SMP w/2 CPU cores)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Versions of packages python-pgmagick depends on:
ii libboost-python1.49.0 1.49.0-3.1
ii libc6 2.13-35
ii libgcc1 1:4.7.2-4
ii libgraphicsmagick++3 1.3.16-1.1
ii libstdc++6 4.7.2-4
ii python 2.7.3-2
ii python2.6 2.6.8-0.2
ii python2.7 2.7.3-5
python-pgmagick recommends no packages.
python-pgmagick suggests no packages.
- -- no debconf information
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.12 (GNU/Linux)
iEYEARECAAYFAlCBGY8ACgkQeJ3z1zFMUGYkRACeN4DDtZ4g8LZo6AqodNN/Czqz
RlUAnjfSaEJ/syvqIw601uJjyoLYSrY8
=Rufy
-----END PGP SIGNATURE-----
More information about the Python-modules-team
mailing list