ImageMagick and html2ps
Posted: 2007-03-02T04:01:47-07:00
I have got ImageMagick and html2ps working together.
But I need to pass a config file to html2ps that changes each time I call the command.
How do I pass the config file to html2ps from a commandline call to Imagemagick?
The command I am using is (pseudocode):
Which is working fine.
Somehow I also need to pass it the information of where the config file is:
Can anyone give me a clue or 2 as to how I do that?
My delegates file reads:
any ideas?
cheers
Biz
But I need to pass a config file to html2ps that changes each time I call the command.
How do I pass the config file to html2ps from a commandline call to Imagemagick?
The command I am using is (pseudocode):
Code: Select all
convert -quality 85 -geometry 600x800 /path/to/page.htm /path/to/output/file.jpg
Somehow I also need to pass it the information of where the config file is:
Code: Select all
/path/to/html2ps/config/file.psconfig
My delegates file reads:
Code: Select all
<delegate decode="htm" command='"/path/to/html2ps/html2ps/bin/html2ps" -U -o "%o" "%i"' />
cheers
Biz