Added special cases for psd processing when working with spritesheets.