Implement clip to document as image post processing

This is still WIP, and is required by https://github.com/adobe-photoshop/generator-assets/pull/315

I'm just putting this up now so it's easy for QE to see which file changed so they can verify their builds are updated.