Currently, I'm writing plugins in Photoshop to export layer images. In this plugin, I export layer images one by one. When exporting the image I will do the following,
- Remove visibility of all Layers
- Select layer
- Turn Visibility
- Resize canvas according to the layer bounds.
- Export image
But increasing the layer size due to increasing number of actions scratch disk usage is increased. Is there any way to export images without resizing the canvas size?