Putting an image onto an A4 PostScript
Posted: 2019-05-15T23:34:59-07:00
I'm trying to do something that I though would be trivial, but it just won't work.
I have pairs of images and to combine them for previewing, I use
montage a.png b.png -tile 1x2 -geometry 600x300 result.png
Now I wanted to print them in proper quality and came up with
montage -density 1200 a.png b.png -tile 1x2 -geometry 6000x3000 result.ps
which basically is fine, however, the PostScript generated does have a non-standard paper size and this is where I'm stuck. I tried "-page a4", which does have some effect, but not the one I expected. Then I tried
convert -page a4 -density 1200 xc:white test.ps
and expected to get an A4 page and 1200 dpi, but I get Letter and 72 dpi.
Am I doing it wrong? Is this something that cannot work for some reason?
ImageMagick 7.0.8-22
I have pairs of images and to combine them for previewing, I use
montage a.png b.png -tile 1x2 -geometry 600x300 result.png
Now I wanted to print them in proper quality and came up with
montage -density 1200 a.png b.png -tile 1x2 -geometry 6000x3000 result.ps
which basically is fine, however, the PostScript generated does have a non-standard paper size and this is where I'm stuck. I tried "-page a4", which does have some effect, but not the one I expected. Then I tried
convert -page a4 -density 1200 xc:white test.ps
and expected to get an A4 page and 1200 dpi, but I get Letter and 72 dpi.
Am I doing it wrong? Is this something that cannot work for some reason?
ImageMagick 7.0.8-22