REDDIT 原始帖子
What is the quickest way to combine two overlapping screenshots into one seamless one?
So I have to take screenshots of an iframe with vertical scrollbar. It is too big to capture in one go and it is too small to capture qually in two or three shots. some parts of 2nd or 3rd screenshots are always overlapping with the first one. Until now I…
So I have to take screenshots of an iframe with vertical scrollbar. It is too big to capture in one go and it is too small to capture qually in two or three shots. some parts of 2nd or 3rd screenshots are always overlapping with the first one. Until now I always used MS Paint to manually adjust the overlapping parts so can look like one seamless image but this is very time consuming as I need this for over 100 images.
已收录讨论
I need to create over 100 seamless images. The number 100 here represents the final file count, not the total number of images that needs to be combined.
Understood!
Sounds like the perfect tool except it requires building.
I don't think it's too bad. Assuming you're using Windows then: Download and install Python Download the code using this link Unzip it Open a terminal and cd to the folder Run pip install -r requirements.txt to install the dependencies and then just use py stich.py (or if that doesn't work, python stich.py) to run the code. Good luck!
In Firefox when you use the screenshot option Ctrl + Shift + S you have the possibility to save the whole page (including parts further down that are not visable without scrolling) as an image. There's also several add-ons for Firefox that give you even more possibilities to save a page as a bitmap.
That does not work in my case.
I tried that already but the code seems too complicated to me. Whichever box I chaged its deminesions, another interfered. Probably a lack of skill on my side but maybe they keep messing around it via JS. I am not officially allowed to record the things inside those iframes.
then another option would be to build out a new section of the page outside that nested structure where it sits currently, and put the iframe in that. so maybe a big top-level `<div>` just before the closing `</body>` tag or something, and then *move the iframe to that new div* and see if that works
use devtools to modify the page so the iframe content is larger... some px height you set yourself. then it won't need scrolling
if you write a js script to do this, you can use an injector extension (or some equivalent, like Brave's custom scriptlets) to automatically do this to any page of a certain domain, e.g. `example.com` ... then you wouldn't even need to run the code yourself.
I don't know whether there's a shortcut for this. On the other hand, you said "2 overlapping screenshots" and the said "...over 100 images" so this is rather confusing
I've not tried it myself, but Image Stitch seems to do exactly what you want. Since it runs from the command line, you can easily set it up to (say) stitch all the images in a certain folder automatically.
I use a chrome extension GoFullPage for this sort of capture.
If you have overlapping parts, you can use panorama software to stitch them together. ICE does that automatically, and very well. It's not available on the Microsoft site anymore but you'll find it easily online.