Open KaiReichart opened 3 months ago
this is a good feature, it also prevents repeated compression of the same images through the "Process all vault images" command. @xRyul please consider releasing this
I'm really looking forward to this feature, @xRyul please consider merging this PR, thanks a lot!
This PR adds the option to skip all images, which already are in the target format.
This is especially useful if you have a very large vault with many images, and converting them all takes hours. Then you can use this option to skip any already processed images, and don't have to start from 0 if for whatever reason the process gets stopped.
Additionally, I moved the log statement to the beginning of the function, I had the problem where the image processing threw an error and the log line did not get called anymore, so I was not able to see which image caused the problem.
Also, it seems like the dependency to
probe-image-size
was missing, so I added that as well.