Closed forthrin closed 6 years ago
Hi thanks for the idea but I think that's not terminal-notifier responsibility to crop images so sorry but I won't add this feature.
If it's a lot of code and libraries, then I agree. If it's a couple of lines, please reconsider.
It's not a matter of lines of code, I prefer to follow the UNIX philosophy of small tools doing focused tasks that you can pipe together. You could use imagemagick do to do this and pipe the cropped image directly in terminal-notifier for example.
I follow that. No problem.
If contentImage has wrong aspect ratio, crop it to create the correct dimensions.