[Solved] Problem with ps to png multi-page output
Posted: 2009-11-27T12:57:35-07:00
I have got a problem with
ImageMagick 6.5.5-7 2009-09-07
on
Ubuntu 9.04 x64
I want to convert all pages of a ps to several png:
convert -density 600x600 Tmp.ps -trim +repage -bordercolor white -border 3 Tmp_page.png
Tmp.ps consists of 2 pages.
I expected to receive:
Tmp_page-0.png Tmp_page-1.png
I received:
Tmp_page.png
Tmp_page.png shows what I would have expected to be in Tmp_page-0.png
The command:
convert -density 600x600 Tmp.ps'[1]' -trim +repage -bordercolor white -border 3 Tmp_page.png
does not work either, I always get page 1, '[0]' in my png.
This problem did not occur about two or three months ago, when I wrote a
shell script that used Tmp_page-[[:digit:]]\+.png to catch the results.
I used Ubuntu 8.10 x64 and an ImageMagick version a few weeks before
version 6.5.5-7 2009-09-07 back then.
Have there been any changes to ImageMagick since maybe July 2009 or so
that could have caused this change in behaviour?
ImageMagick 6.5.5-7 2009-09-07
on
Ubuntu 9.04 x64
I want to convert all pages of a ps to several png:
convert -density 600x600 Tmp.ps -trim +repage -bordercolor white -border 3 Tmp_page.png
Tmp.ps consists of 2 pages.
I expected to receive:
Tmp_page-0.png Tmp_page-1.png
I received:
Tmp_page.png
Tmp_page.png shows what I would have expected to be in Tmp_page-0.png
The command:
convert -density 600x600 Tmp.ps'[1]' -trim +repage -bordercolor white -border 3 Tmp_page.png
does not work either, I always get page 1, '[0]' in my png.
This problem did not occur about two or three months ago, when I wrote a
shell script that used Tmp_page-[[:digit:]]\+.png to catch the results.
I used Ubuntu 8.10 x64 and an ImageMagick version a few weeks before
version 6.5.5-7 2009-09-07 back then.
Have there been any changes to ImageMagick since maybe July 2009 or so
that could have caused this change in behaviour?