webcomics / dosage

dosage is a comic strip downloader and archiver
https://dosage.rocks/
MIT License
125 stars 59 forks source link

Convert image format/postprocessing #124

Open Efreak opened 5 years ago

Efreak commented 5 years ago

A large number of older webcomics have large png and jpg files (some nicely optimized, some not). It would be nice to have an alternative for long-term archiving, to save space, such as converting files to webp automatically, as they're downloaded. Currently I'm using cbxconverter, but that's a windows only gui program that (at least on my laptop) takes longer to process each image than it takes to download it and can only be run after the comic has been zipped, not while it downloads.

Efreak commented 5 years ago

If this is an unwanted feature, it would also be nice to have a more general post-processing function to run a custom command/script on each downloaded file, and another on each directory after any given comic is complete

For individual post-processing, it would allow

For post-processing on directories, this would allow