Reputation: 21
I seem to get noticeably lower quality text rendering from captureVisibleTab than I see on screen. From what I've read, captureVisibleTab just grabs its image from memory (see Chromium issue 44758), so I'm not quite sure why this would be. I've got a retina MacBook but the images are noticeably worse on a regular screen too. I'm writing an extension for a web typography tool that depends specifically on text rendering so any workaround or alternative approach would be much appreciated.
Here's a screenshot of the BBC home page as I see it:
And the dataURI loaded with the following code:
chrome.tabs.captureVisibleTab(null, {format: "png"}, function(dataURI) {
console.log(dataURI);
});
Looks like this:
(Open those two screenshots in tabs and flick back and forth between them to see what I mean.)
Upvotes: 2
Views: 989
Reputation: 3172
This looks like a known issue in Chromium - code.google.com/p/chromium/issues/detail?id=415297
Upvotes: 0
Reputation: 1027
try changing the format to a jpeg and making the quality higher
Upvotes: 1