I use the following code to capture a screenshot of a selected tab
chrome.tabs.captureVisibleTab( undefined, function( data ) { display( data ) });
The API says that you can resize the tab ( http://code.google.com/chrome/extensions/tabs.html#method-captureVisibleTab ), but I can’t figure out how to do this. At the moment, all the screenshots are full size (1440x900), but I only need their sizes in miniatures.
Does anyone know how to use this API to do this?
Thank.
source
share