maim icon indicating copy to clipboard operation
maim copied to clipboard

Scrolling screenshot

Open himanshugoswamiii opened this issue 2 years ago • 5 comments

I'm unable to find the scrolling screenshot feature (if it exists).

If it doesn't, can it be implemented ?? (Feature request)

himanshugoswamiii avatar Sep 26 '22 20:09 himanshugoswamiii

What do you mean by "scrolling screenshot"?

bew avatar Sep 27 '22 02:09 bew

They probably mean an option to capture a window larger than output display. That sounds like a complicated feature to implement and I don't know anyone who could take it into development right now.

An interesting workaround is to use a compositing window manager (this covers basically 99% of all existing desktop setups), make a window larger than your output display and capture this window using maim -s.

foxpy avatar Sep 27 '22 06:09 foxpy

@bew Take a look at Firefox screenshot feature.

we select an area, then we keep on scrolling and everything that comes into the area is included in our screenshot

himanshugoswamiii avatar Sep 27 '22 09:09 himanshugoswamiii

@foxpy did you mean making window much smaller than the output display using Ctrl - and then taking the screenshot ??

himanshugoswamiii avatar Sep 27 '22 09:09 himanshugoswamiii

@foxpy did you mean making window much smaller than the output display using Ctrl - and then taking the screenshot ??

No, I suggest making window so large it doesn't fit on your screen anymore and then taking a screenshot. Imagine having a 1920x1080 screen, resizing a window to something like 4000x3000 and then taking a screenshot of this window. If you have a compositing window manager (you almost certainly have one), the whole window will be screenshot'ed, despite being larger than your screen.

Take a look at Firefox screenshot feature.

This one would be very difficult to implement. Firefox has direct control over web page while maim has basically zero control over X11 windows.

P.S. Sorry for a long answer, I am currently overwhelmed by life :)

foxpy avatar Oct 06 '22 14:10 foxpy