"Dan C." on wrote...
| Hello,
|
| I have significantly different behaviors between ImageMagick 6.0.7 and
| ImageMagick 6.2.8 when trying to convert a postscript to a png.
|
| The command I am using is as follows:
| convert -density 300 -resize 24% -geometry 824x603 -page 792x612 -shave
| 18x25 -verbose rotate.ps landscape.png
|
Read.... IM Examples, Basics
http://www.imagemagick.org/Usage/Basics/
Well I am NOT suprised you get different results. You are doing things
IM v5 way, not the IM v6 way. What you are using is a legacy mode that is
depreciated, and has all the problems that IM v5 had. Specifically what
order should the operations be applied.
The -page in the above is useless, It only sets a 'canvas' size for PNG,
whcih normal PNG image files formats do not support!. Then you have two
resize operations in legacy mode. Which resize should be applied is
completely undefined.
| Are there any other parameters that I can use that would produces the same
| output from both versions? Is there anything else I could do to fix this
| problem? Unfortunately, upgrading ImageMagick is not a viable solution.
|
Your command for BOTH v6 versions of IM should be...
convert -verbose -density 300 rotate.ps -resize 824x603 \
-shave 18x25 landscape.png
This should produce the same result.
See the link above, and in particular read the first section, about why
there was a command line change for IM v6, the section on 'legacy
support', and finally the example step-by-step IM command.
Anthony Thyssen ( System Programmer ) <[EMAIL PROTECTED]>
-----------------------------------------------------------------------------
You're traveling through another dimension -- a dimension not only of sight and
sound but of mind. A journey into a wonderous land whose boundaries are that of
imagination. That's a signpost up ahead: your next stop: the Twilight Zone!
-----------------------------------------------------------------------------
Anthony's Home is his Castle http://www.cit.gu.edu.au/~anthony/
_______________________________________________
Magick-users mailing list
[email protected]
http://studio.imagemagick.org/mailman/listinfo/magick-users