Fixed capture PNG only if necessary.
Merge branch 'future' of github.com:wallix/redemption into future