resize: add support for disabling transparency and avoid over-damaging in outline mode (LP: #1700859) Approved by: Andrea Azzarone