Now users can add selectorCrop=true option to take image of htmlelement selected by selector option.
selectorCropPadding option can be negative.
Tested on slimerjs and phantomjs, works fine.
Capture google logo:
/?url=google.com&width=1300&zoom=2&selector=%23hplogo&selectorCrop=true&selectorCropPadding=20&engine=phantomjs
Now users can add selectorCrop=true option to take image of htmlelement selected by selector option. selectorCropPadding option can be negative. Tested on slimerjs and phantomjs, works fine.
Capture google logo:
/?url=google.com&width=1300&zoom=2&selector=%23hplogo&selectorCrop=true&selectorCropPadding=20&engine=phantomjs