08-22-2017, 05:16 PM
Code:
non_empty, x1, y1, x2, y2 = pdb.gimp_selection_bounds(image)
AFAIK this returns the smallest rectangle that contains all selected pixels. So that would be your outer rectangle.
What is mask_bounds if the selection contains inner holes?
|
« Next Oldest | Next Newest »
|
Messages In This Thread |
What is mask_bounds if the selection contains inner holes? - by mavavilj - 08-22-2017, 04:54 PM
RE: What is mask_bounds if the selection contains inner holes? - by Ofnuts - 08-22-2017, 05:16 PM
RE: What is mask_bounds if the selection contains inner holes? - by mavavilj - 08-22-2017, 06:08 PM
RE: What is mask_bounds if the selection contains inner holes? - by Ofnuts - 08-22-2017, 07:20 PM
|