is there a way to detect first top bottom left and right pixels then crop an image to the first pixels?
solutions I found doesn't work with odd shapes like circles
Crop to first pixels
Crop to first pixels
Code: Select allapp.activeDocument.trim(TrimType.TRANSPARENT,true,true,true,true);