Please read this before reporting a bug:
https://wiki.archlinux.org/title/Bug_reporting_guidelines
Do NOT report bugs when a package is just outdated, or it is in the AUR. Use the 'flag out of date' link on the package page, or the Mailing List.
REPEAT: Do NOT report bugs for outdated packages!
https://wiki.archlinux.org/title/Bug_reporting_guidelines
Do NOT report bugs when a package is just outdated, or it is in the AUR. Use the 'flag out of date' link on the package page, or the Mailing List.
REPEAT: Do NOT report bugs for outdated packages!
FS#20030 - [netpbm] pgmtopbm default dithering fails
Attached to Project:
Arch Linux
Opened by John Carlyle-Clarke (johncc) - Wednesday, 30 June 2010, 15:16 GMT
Last edited by Eric Belanger (Snowman) - Saturday, 03 July 2010, 18:10 GMT
Opened by John Carlyle-Clarke (johncc) - Wednesday, 30 June 2010, 15:16 GMT
Last edited by Eric Belanger (Snowman) - Saturday, 03 July 2010, 18:10 GMT
|
Detailspgmtopbm appears to be broken in the 64-bit build.
32 bit version:- $ pbmmake -g 40 40 | pgmtopbm | pnmnoraw | sort | uniq -c 20 0101010101010101010101010101010101010101 20 1010101010101010101010101010101010101010 1 40 40 1 P1 64-bit $ pbmmake -g 40 40 | pgmtopbm | pnmnoraw | sort | uniq -c 40 0000000000000000000000000000000000000000 1 40 40 1 P1 johncc@liberator:~$ pacman -Q netpbm netpbm 10.35.841-2 johncc@liberator:~$ pgmtopbm --version pgmtopbm: Using libnetpbm from Netpbm Version: Netpbm 10.35.60 pgmtopbm: Compiled Fri Jan 22 05:40:38 UTC 2010 by user "nobody" pgmtopbm: BSD defined pgmtopbm: RGB_ENV='RGBDEF' pgmtopbm: RGBENV= 'RGBDEF' (env vbl is unset) johncc@liberator:~$ A friend tested with netpbm-10.47.13-1.fc12.x86_64 on 64-bit fedora and was not affected by the bug, so either it's been fixed upstream or it's specific to the Arch build. If you use -threshold dithering instead of the default (Floyd Steinberg?) then the behaviour is correct in both architectures. pamditherbw which has technically replaced pgmtopbm seems to work on both architectures too. |
This task depends upon
Closed by Eric Belanger (Snowman)
Saturday, 03 July 2010, 18:10 GMT
Reason for closing: Fixed
Additional comments about closing: fixed in netpbm-10.47.16-1
Saturday, 03 July 2010, 18:10 GMT
Reason for closing: Fixed
Additional comments about closing: fixed in netpbm-10.47.16-1
pamditherbw $@ | pamtopnm
I did that change for the Arch package and updated it to the latest stable svn tarball.