On Sun, Oct 21, 2012 at 03:58:32PM -0700, Sean McAfee wrote:
> Here's something I've been pondering how to accomplish for a while:
> 
> Having designated an arbitrary set of elements on the current page, how can I
> obtain individual images of those elements?
> 
> If there's no way to do this in Conkeror, then pointers to alternate means
> (Firefox plugins, or whatever) would also be appreciated.
> 

It is possible to get absolute screen coordinates for any given DOM node -
node.getBoundingClientRect or somesuch.  These coordinates may need to be
offset by the x and y left and top coordinates of the window.  Once you
have that, you can use scrot or ImageMagick import or such to take a
screenshot of the rectangle that you have calculated.

-- 
John Foerch
_______________________________________________
Conkeror mailing list
[email protected]
https://www.mozdev.org/mailman/listinfo/conkeror

Reply via email to