[SOLVED] Is it possible to split an image based on border detection over a transparent background?
Posted: 2016-11-14T20:46:39-07:00
Say, for example, we have a triangle and a circle on the same file and on a transparent background. Like this:
And after processing the image we get the circle in one file and the triangle in another. Like cropping but instead of specifying the tile size, the shapes get autodetected and extracted into separate files.
I'm aware something similar can be done with a script I found here, but the images I need to do this on have more than two colors.
And after processing the image we get the circle in one file and the triangle in another. Like cropping but instead of specifying the tile size, the shapes get autodetected and extracted into separate files.
I'm aware something similar can be done with a script I found here, but the images I need to do this on have more than two colors.