Cropping an image to the colored portion only?
I have an image of a square. The square is an opaque colored portion of the image. However, outside of the edges of my square there are transparent portions of the image which are irregular. I want to cramp the image exactly to the edges of the square, removing the portion of the image which is transparent. If I do this manually (such as fitting it to an artboard), there's no guarantee that I will get it exactly to the square's edge. Is there a simpler way to crop and snap the crop to the edges of the opaque portion of the image?
