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
convert -compress none (option ignored) [Windows v6.4.2)
Re: convert -compress none (option ignored) [Windows v6.4.2)
Have you tried ImageMagick 6.4.2-2, the latest release? We get P2 when we use -compress none.
- 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)
If you can't upgrade filter the result through the PBMPlus library function "pnmnoraw"
The later being the newest 'method' the others however exist for backward compatibility.
Code: Select all
convert xc: pgm:- | pnmnoraw
Or its newer replacement "pnmtoplainpnm" or "pnmtopnm -plain"P2
1 1
65535
65535
The later being the newest 'method' the others however exist for backward compatibility.
Anthony Thyssen -- Webmaster for ImageMagick Example Pages
https://imagemagick.org/Usage/
https://imagemagick.org/Usage/
Re: convert -compress none (option ignored) [Windows v6.4.2)
Where can I download the version: ImageMagick-6.4.2-2 for Windows?
Re: convert -compress none (option ignored) [Windows v6.4.2)
Problem resolved with: ImageMagick-6.4.2-1-Q16-windows-dll.exe 28-Jun-2008 17:40 8.4M
Thanks everyone for the comments.
Thanks everyone for the comments.
- 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)
Soon. That is the current 'beta-testing' release, that you can get from the SVN repository (and need to compile yourself!)mikedunnfivefive wrote:Where can I download the version: ImageMagick-6.4.2-2 for Windows?
Anthony Thyssen -- Webmaster for ImageMagick Example Pages
https://imagemagick.org/Usage/
https://imagemagick.org/Usage/