2

I am creating a web app(run on linux, PHP). In this application, after users log in, they will able to generate a postcard with their name on it.

Since the page of postcard is html(generated by cakephp), I want to take a screenshot of the central part of that page and save as an image.

Please recommend me any tool/plugin in order to do so. Free service/plugin is prefered.

aladine
  • 963
  • 3
  • 12
  • 35

1 Answers1

1

http://code.google.com/p/wkhtmltopdf/

I have used the pdf part and it works great, there is a wkhtmltoimage download there that should help you with what you asking.

dogmatic69
  • 7,574
  • 4
  • 31
  • 49
  • This is good for a full page/screen, but not for part of the page ("take a screenshot of the central part of that page") – Julien Feb 24 '12 at 02:26
  • It will make an image of what ever html you feed it, If you dont want the whole page do give it the whole page. – dogmatic69 Feb 24 '12 at 13:51