Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Troubles with porting a script to Gimp3
#4
After searching for internet, I came to the following code:
Code:
(let* ((off-x (car (gimp-drawable-get-offsets (vector-ref drawables 0))))
      (off-y (cadr (gimp-drawable-get-offsets (vector-ref drawables 0))))

But still, I've got another error saying that car: argument 1 must be: pair when assigns off-x variable. Could anyone explain what is wrong with this code.
Reply


Messages In This Thread
Troubles with porting a script to Gimp3 - by alvk - 03-03-2025, 10:42 AM
RE: Troubles with porting a script to Gimp3 - by alvk - 03-04-2025, 12:23 PM

Forum Jump: