This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
/** | |
* PHPMailer - PHP email creation and transport class. | |
* PHP Version 5.5. | |
* | |
* @see https://github.com/PHPMailer/PHPMailer/ The PHPMailer GitHub project | |
* | |
* @author Marcus Bointon (Synchro/coolbru) <phpmailer@synchromedia.co.uk> | |
* @author Jim Jagielski (jimjag) <jimjag@gmail.com> | |
* @author Andy Prevost (codeworxtech) <codeworxtech@users.sourceforge.net> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
for img in *.png; do | |
width=$(identify -format %W ${img}) | |
width=$(( ${width} * 9 / 10 )) | |
convert \ | |
-background '#0008' \ | |
-gravity center \ | |
-fill white \ | |
-size ${width}x100 \ |