Webpage screenshot in Ubuntu: large webpages
Amedee Van Gasse (ub)
amedee-ubuntu at amedee.be
Fri Nov 27 23:04:07 UTC 2009
On Fri, November 27, 2009 23:35, Amedee Van Gasse (ub) wrote:
> On Fri, November 27, 2009 18:46, Dotan Cohen wrote:
>>> Have you tried Screengrab?
>>> https://addons.mozilla.org/en-US/firefox/addon/1146
>>>
>>
>> Yes, it crashes on that page! Even as a new Firefox profile with only
>> that single extension, it crashes.
>
> OK, interesting to know.
> I'll try it too and if I can confirm a crash, then you could send a bug
> report to the author of the addon.
No crash, but no image saved either.
But please rethink about what you want to do. You want to save an image
that is 2382665 pixels wide. I have a screen height of 1080 pixels so on
my screen there would be 2.4 gigapixels. Not megapixels, gigapixels. And
then you don't have color. Truecolor (16 million color) needs 3 bytes per
pixel, so you're looking at a raw image of 7.2 gigabytes. My computer has
6 gigabytes of RAM and 10 gigabytes of swap, and I'm pretty sure that it
would have a lot of problems with such an image.
OK, png compression would be incredibly efficient because of all the black
pixels, but that would only reduce the file size on disk, not the raw
uncompressed image in memory.
So I think that you are stuck with the current state of technology.
Perhaps if you have a cluster of supercomputers somewhere it could be
done. Or wait a few years until we all have 128 bit processors and 64
gigabytes of RAM...
More information about the ubuntu-users
mailing list