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

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
mikedunnfivefive

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

Post 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
User avatar
magick
Site Admin
Posts: 11064
Joined: 2003-05-31T11:32:55-07:00

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

Post by magick »

Have you tried ImageMagick 6.4.2-2, the latest release? We get P2 when we use -compress none.
User avatar
anthony
Posts: 8883
Joined: 2004-05-31T19:27:03-07:00
Authentication code: 8675308
Location: Brisbane, Australia

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

Post 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.
Anthony Thyssen -- Webmaster for ImageMagick Example Pages
https://imagemagick.org/Usage/
mikedunnfivefive

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

Post by mikedunnfivefive »

Where can I download the version: ImageMagick-6.4.2-2 for Windows?
mikedunnfivefive

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

Post 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.
User avatar
anthony
Posts: 8883
Joined: 2004-05-31T19:27:03-07:00
Authentication code: 8675308
Location: Brisbane, Australia

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

Post 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!)
Anthony Thyssen -- Webmaster for ImageMagick Example Pages
https://imagemagick.org/Usage/
Post Reply