-
Notifications
You must be signed in to change notification settings - Fork 1
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add Request for a Few More Options #1
Comments
Thank you for the positive feedback! side note : I just reworked the cli flags and args to be in line with the original Guetzli cli. I will add the recursive option a.s.a.p (was already on my list) I also think we can do with just an |
I don't think having dual-purpose flags is an improvement. It buries complexity for the sake of fewer flags. Simplicity, in the form of explicit flags, is always preferable even if it increases the size of the program. |
Wasn't thinking clearly yesterday :-)
This can already be managed by setting input and output folders to fit your needs. I will leave this ticket open for the |
The use case I'm advocating is for compressing an iPhoto library without interfering with the way it's organised. The iPhoto/Photos library is a series of quite deeply nested directories which are structured by the software. The ideal tool to compress this would:
I found another tool that does recursive compressing and overwrites the originals, but it doesn't track which images it has already done and doesn't give me the option to copy the originals elsewhere. |
Guetzli is primarily focussed on generating smaller images for websites although it can and will have a wider use, it is not my intention to serve all those needs with this tool. As a web developer I have these requirements of this tool :
The changes you are requesting would break all the rules :) Just to give you some info about the inner workings :
As you can see it is critical to keep the originals as these are used to determine if one needs to be recompressed or not. Overwriting the originals would alter them which would cause simple-guetzli to compress them again. |
Thanks for clarifying. It definitely seems like I'm looking at a different use case than you. The choices you've made suit your own use case perfectly. Sorry -- accidentally closed this issue. |
This is already a great utility, and I appreciate its simplicity. It makes using
guetzli
much easier.I have a couple of suggestions for additional options that would make it more versatile without complicating it too much.
The options:
-recursive
: so that it will recurse into subdirectories and compress all images found in there.-overwrite
: to replace the original with the compressed image.-originals
: where to move the original images when using the-overwrite
option.The text was updated successfully, but these errors were encountered: