When I call this Workflow from Automator the output image is nearly the same as the input image without removing the transparent shadows. In my case I take Screenshots as PSD files and the Quick Action only converts the file to PNG.