Page 1 of 1

convert -compress none (option ignored) [Windows v6.4.2)

Posted: 2008-06-30T11:27:31-07:00
by mikedunnfivefive
I am unable to convert a file to P2 PGM.
In every case it results in P5
Seems to work as expected with Linux version so this may only be a bug in the Windows binary.

Steps.
convert -compress none test.tif test.pgm

Result.
P5 PGM

Expected.
P2 PGM

Re: convert -compress none (option ignored) [Windows v6.4.2)

Posted: 2008-06-30T11:44:48-07:00
by magick
Have you tried ImageMagick 6.4.2-2, the latest release? We get P2 when we use -compress none.

Re: convert -compress none (option ignored) [Windows v6.4.2)

Posted: 2008-06-30T20:12:45-07:00
by anthony
If you can't upgrade filter the result through the PBMPlus library function "pnmnoraw"

Code: Select all

  convert xc: pgm:- | pnmnoraw
P2
1 1
65535
65535
Or its newer replacement "pnmtoplainpnm" or "pnmtopnm -plain"
The later being the newest 'method' the others however exist for backward compatibility.

Re: convert -compress none (option ignored) [Windows v6.4.2)

Posted: 2008-07-01T07:10:39-07:00
by mikedunnfivefive
Where can I download the version: ImageMagick-6.4.2-2 for Windows?

Re: convert -compress none (option ignored) [Windows v6.4.2)

Posted: 2008-07-01T07:26:44-07:00
by mikedunnfivefive
Problem resolved with: ImageMagick-6.4.2-1-Q16-windows-dll.exe 28-Jun-2008 17:40 8.4M

Thanks everyone for the comments.

Re: convert -compress none (option ignored) [Windows v6.4.2)

Posted: 2008-07-01T16:37:04-07:00
by anthony
mikedunnfivefive wrote:Where can I download the version: ImageMagick-6.4.2-2 for Windows?
Soon. That is the current 'beta-testing' release, that you can get from the SVN repository (and need to compile yourself!)