Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Divide selection using guides
#10
(04-15-2023, 11:01 AM)goran Wrote: So you'll also have to cast the values, you can just put these two lines
in the beginning of the function (def line is the same as it was):

Code:
def divide_selection_using_guides(img, x_div, y_div):
   
   x_div = int(x_div)
   y_div = int(y_div)

That should be it.

It's not working, the plugin don't load at all Wink
Reply


Messages In This Thread
Divide selection using guides - by goran - 04-14-2023, 09:33 AM
RE: Divide selection using guides - by PixLab - 04-14-2023, 02:11 PM
RE: Divide selection using guides - by goran - 04-14-2023, 04:20 PM
RE: Divide selection using guides - by Ofnuts - 04-14-2023, 04:46 PM
RE: Divide selection using guides - by PixLab - 04-15-2023, 04:02 AM
RE: Divide selection using guides - by goran - 04-15-2023, 11:01 AM
RE: Divide selection using guides - by PixLab - 04-16-2023, 04:05 AM
RE: Divide selection using guides - by denzjos - 04-15-2023, 07:50 AM
RE: Divide selection using guides - by goran - 04-15-2023, 05:55 PM
RE: Divide selection using guides - by denzjos - 04-18-2023, 07:01 AM
RE: Divide selection using guides - by teapot - 04-15-2023, 11:14 PM
RE: Divide selection using guides - by goran - 04-16-2023, 06:16 AM
RE: Divide selection using guides - by Krikor - 04-18-2023, 06:09 PM
RE: Divide selection using guides - by goran - 04-18-2023, 06:53 PM
RE: Divide selection using guides - by Krikor - 04-18-2023, 07:02 PM
RE: Divide selection using guides - by goran - 04-19-2023, 06:26 AM
RE: Divide selection using guides - by PixLab - 04-19-2023, 01:41 PM
RE: Divide selection using guides - by denzjos - 04-19-2023, 08:39 AM
RE: Divide selection using guides - by goran - 04-19-2023, 11:36 AM
RE: Divide selection using guides - by Krikor - 04-19-2023, 06:18 PM

Forum Jump: