6.8.8.8 convert fails for pbm

Post any defects you find in the released or beta versions of the ImageMagick software here. Include the ImageMagick version, OS, and any command-line required to reproduce the problem. Got a patch for a bug? Post it here.
Post Reply
root
Posts: 1
Joined: 2014-03-30T13:42:05-07:00
Authentication code: 6789

6.8.8.8 convert fails for pbm

Post by root »

Hello, I'm trying to convert (resize) a pbm, and I've tested versions up to 6.8.8.7 and it seems to be working, but on 6.8.8.8 it doesn't actually produce the pbm image as expected.

on 6.8.8.8 ->

Code: Select all

alpha-centauri ~ # cat test.pbm 
P4
54 29
¹ÿÿ¤¡ "Ý>U"f " "x
alpha-centauri ~ # convert test.pbm -resize 50% test2.pbm                           
alpha-centauri ~ # cat test2.pbm 
P4
27 15

on 6.8.8.7 ->

Code: Select all

alpha-centauri ~ # cat test.pbm 
P4
54 29
¹ÿÿ¤¡ "Ý>U"f " "x
alpha-centauri ~ # convert test.pbm -resize 50% test2.pbm
alpha-centauri ~ # cat test2.pbm 
P4
27 15
ïðªÀópò@RÀ

Is there some required parameter I'm missing in the newest version that would be stopping this? I verified it on 2 pc's. Running an up to date gentoo build. netpbm-10.61.00 .

Thanks!
snibgo
Posts: 12159
Joined: 2010-01-23T23:01:33-07:00
Authentication code: 1151
Location: England, UK

Re: 6.8.8.8 convert fails for pbm

Post by snibgo »

I don't have 6.8.8-8, but 6.8.8-9 seems to work okay.

How many bytes are in your two versions of test2.pbm? Can you convert each one to test2.png, and successfully view test2.png?
snibgo's IM pages: im.snibgo.com
Post Reply