for anyone experiencing dirty transparent backgrounds when you transform transparent PNG images with Craft like this:
Source Image:
Resized, dirty:
Craft Command: craft.assets.id(2).first().getUrl({width: 300})
If you don't see the dirt, watch screen from the side!