I created a fresh debian installation in a virtual machine (VirtualBox) using the daily netinst image from here: http://cdimage.debian.org/cdimage/daily-builds/daily/arch-latest/i386/iso-cd/debian-testing-i386-netinst.iso .
The problem was reproducable immediately. As a test image I used a picture of Tux from wikipedia: http://upload.wikimedia.org/wikipedia/commons/a/af/Tux.png After downgrading the package (apt-get --purge remove sam2p && apt-get -t wheezy install sam2p) the program worked. Upgrading it (apt-get --purge remove sam2p && apt-get install sam2p) broke it again. I can post a dropbox link to a VirtualBox image with my virtual machine later (upload of an 400MB file is slow with dropbox). I did nothing fancy within the virtual machine. Just a standard, minimal installation (no gui or anything), only added link to wheezy repository in the sources.list in order to test the older version. >Do you have the sam2p's recommends installed? Yes, I have (netpbm and libjpeg-progs) cheers, Kristijan