Search found 5 matches

by mimetus
2016-01-05T11:37:59-07:00
Forum: Bugs
Topic: [RESOLVED] Cannot convert one specific pgm file, others work fine
Replies: 8
Views: 6413

Re: Cannot convert one specific pgm file, others work fine

I tried removing the extra whitespace character and you are correct, resulted in convert working again. Thanks allot!

Additionally, I can see that the programs that handled the image before are off by one pixel along the edge, translating it to the next row.
by mimetus
2016-01-05T10:45:31-07:00
Forum: Bugs
Topic: [RESOLVED] Cannot convert one specific pgm file, others work fine
Replies: 8
Views: 6413

Re: Cannot convert one specific pgm file, others work fine

This works! Thanks a lot! Though I don't agree that the file is corrupt, it's structured according to the PGM specification, and other programs read the file just fine.

Thanks for the help!
by mimetus
2016-01-05T09:56:57-07:00
Forum: Bugs
Topic: [RESOLVED] Cannot convert one specific pgm file, others work fine
Replies: 8
Views: 6413

Re: Cannot convert one specific pgm file, others work fine

So you suggest convert to png? That could be a workaround of course.
Thanks for your help! Though i guess the bug is still open?
by mimetus
2016-01-05T09:06:01-07:00
Forum: Bugs
Topic: [RESOLVED] Cannot convert one specific pgm file, others work fine
Replies: 8
Views: 6413

Re: Cannot convert one specific pgm file, others work fine

Thanks for the reply. This file have the exact same byte count and works fine with convert https://www.dropbox.com/s/ytx91s777zahdub/F0000015.pgm?dl=0 ~$ wc -c F0023240.pgm 638992 F0023240.pgm ~$ wc -c F0000015.pgm 638992 F0000015.pgm ~$ convert F0000015.pgm test.pgm ~$ convert F0023240.pgm test.pgm ...
by mimetus
2016-01-05T07:57:23-07:00
Forum: Bugs
Topic: [RESOLVED] Cannot convert one specific pgm file, others work fine
Replies: 8
Views: 6413

[RESOLVED] Cannot convert one specific pgm file, others work fine

I have a bunch of pgm files that have all been processed in the same way, and I'm running a convert script on every file, and at least one file fails to convert. Even if I run the following: convert F0023240.pgm test.pgm It returns the following: convert.im6: negative or zero image size `F0023240 ...