webscrapbook icon indicating copy to clipboard operation
webscrapbook copied to clipboard

Add an option to not save animated GIF pictures [suggestion]

Open ChrisBertrandDotNet opened this issue 7 years ago • 1 comments

Hello

I suggest to add an option in the settings panel, in the "Capture - content" section, under the name "Animated GIF images", in addition to "Images".

The reason is those animated GIF can be quite enormous and are useless in many pages (all pages in my personal experience). On the other side, regular non-animated GIF images can be useful. So I need the possibility to disable the animated GIF only, without disabling the non-animated GIF.

Example of a page full of useless animated GIFs: article in French Saved as MAFF, the size of this page is 12 MB. While the useful part is probably less than 100 KB !

Of course, you may choose to consider animated GIF as videos and use the latter option. That would be fine for me, but not necessarily for everyone.

Thank you for your nice extension anyway.

ChrisBertrandDotNet avatar Jan 12 '19 08:01 ChrisBertrandDotNet

This is difficult. GIFs are all treated as images no matter they are animated or not. We may need a 3rd party library to help differentiate it (but I haven't been able to find one), which requires the GIFs be downloaded first, and as a result we cannot save the network flow even if we can tell the browser to not save animated GIFs.

danny0838 avatar Oct 27 '20 04:10 danny0838