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) <[email protected]> | |
* @author Jim Jagielski (jimjag) <[email protected]> | |
* @author Andy Prevost (codeworxtech) <[email protected]> |
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 \ |