Process All Images with current settings (Mod)
This is not a PR again! If devs wants to add this functionality,they can.
I have added the ability to process all target images with the current settings from the UI. So you can do face swapping,enhancing etc much more faster. This is for "images" only. It also has the ability to add 4 digit suffix if same file name exists in the output folder for "not to" overwrite the previous image.
How to apply mod :
Download the zip file provided, backup your "app" folder. replace the "app" folder with folder comes from the zip.
This also includes my previous mod from here :
https://github.com/visomaster/VisoMaster/issues/91
So you get the 2 birds with 1 stone. Enjoy!
Note : Why this is not a PR? With all do respect to the Official developers....Because I don't want to deal with pushing updates,dealing with developer requests and stuff etc. I do this for people. Really don't have time to deal with "diff" etc.
All credits goes to the official developers.... I am just a passenger on the road.
Works really great, I'm wondering if the batch process saves many calculation time too, apart the time used for choosing and changing output file one by one with mouse....
Another thing : I noticed exports are in jpg, while it was in png on original stuff...I prefer jpg in my case, do you think there is a way to export single ones (with "save image" function) in jpg too ?
-edit- just tried your "Ultimate Mod v2" and when usijng "Batch Process", now exported images are in png back, is there a way to convert to jpg like this mod ?
Thanks
Works really great, I'm wondering if the batch process saves many calculation time too, apart the time used for choosing and changing output file one by one with mouse....
Another thing : I noticed exports are in jpg, while it was in png on original stuff...I prefer jpg in my case, do you think there is a way to export single ones (with "save image" function) in jpg too ?
-edit- just tried your "Ultimate Mod v2" and when usijng "Batch Process", now exported images are in png back, is there a way to convert to jpg like this mod ?
Thanks
Sure!
Estimated file size,4 MB png goes into 0.5 MB jpg . 87.5 % saved disk space.
Edit : You shall use the latest version of the mod in here : https://github.com/visomaster/VisoMaster/issues/96 . As of this date it is V3.
Note : If I update the mod to another one which has some additional features these changes will be applied.
@JohnnyRico140 and I also like the jpg format as pngs takes so much space. That was the reason I made it that way in my first code,but I forgot about this one because in my first code it was made only for image batch processing,then I decided to add file format aware batch processing which has image/video. So in between so many code changes,I forgot about this one. Try this file and you will have jpg for both batch and save image button.
PNGs format is in my opinion if there is alpha channel in the image it can be used for. But for most other cases jpg has the advantage of keeping the file size low as it is much of a compressed format.
Works really great, I'm wondering if the batch process saves many calculation time too, apart the time used for choosing and changing output file one by one with mouse....
Ahh I what you are saying. Yes it saves time as batch processing doesn't need to render each frame in the UI for both images and video frames. So it is faster, and you can browse your computer open your image viewer,copy images etc without looking at the UI and all the files gets processed in the background. So you don't even need to interact with the interface .