nikobojs / manuscrape_electron

ManuScrape desktop app for Windows 11
5 stars 2 forks source link

Trouble saving longer scrollshots #50

Open SEilertsen opened 11 months ago

SEilertsen commented 11 months ago

When making longer scrollshots (especially including many gifs and videos), it seems that ManuScrape has trouble saving the scrollshot.

For me this results in starting a new scrollshot when pressing "Alt S" instead of ending the old one. After a while it gives the message that the scrollshot could not be saved. However, one time the scrollshot ended up being saved anyway even though the error message was given.

nikobojs commented 11 months ago

You are experiencing the boundaries of the strategy for capturing "scrollshots" implemented by this app. I am sure it can be improved, but it is a complicated task to solve.

The way it works now is by capturing a lot of screenshots (several each second) until you've finished the scroll shot. If a screenshot looks too much like the previous one, it gets discarded. If not, it is saved in a temporary folder. All the saved ones needs to be in order vertically (thats why scroll in 1 direction is required). So if there are moving parts while you're not scrolling, the screenshots doesn't get discarded, and the temporary images ends up not being in vertical order.

So moving parts like video and gifs will basically break the scrollshot feature, as it works now.

To me personally, this is too big of a feature to start developing on, without getting some kind of financial contribution. If any one wants to invest in this problem, I think this algorithm could potentially be improved in many ways, and be one of its own kinds. I already have a couple of ideas and I'm sure @Pallisaard does as well

JakobDemant commented 11 months ago

If this feature is developed further, it has quite large potentials for the use of the program. For now collected data is quite limited in size. Boosting length of scrollshots enables one to crape a full conversation. But it opens a next key question; the time that it takes to anonymize data manual. So developing this feature may bring along a call for developing other features....

nikobojs commented 7 months ago

It is now possible to change a lot of scrollshot settings, so hopefully this will help. However moving parts are still incompatible with the scrollshot algorithm.