0

I use this to generate html page as image. So, my command looks something like this:

$ phantomjs rasterize.js 'http://example.com' image.png

Is it possible to set border and color for generating image via phantomjs?

ExiRe
  • 4,727
  • 7
  • 47
  • 92

1 Answers1

0

Oh, well, it looks like it's impossible to do that via phantomjs. I choose another solution, via imagemagick. I installed it and now i use something like this:

$ convert input_img.png -bordercolor "LimeGreen" -compose Copy -border 4 output_img.png
ExiRe
  • 4,727
  • 7
  • 47
  • 92