Guest User

Untitled

a guest
Aug 15th, 2018
87
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.30 KB | None | 0 0
  1. GIMP Script-FU - Error: not enough arguments
  2. ;Define the main function
  3. (define (script-fu-rubber-stamp img drawable)
  4. (gimp-image-undo-group-start img)
  5. (plug-in-randomize-pick 1 img drawable 90 7 FALSE 10)
  6. (plug-in-oilify 1 img drawable 5 0)
  7. (gimp-image-undo-group-end img)
  8. )
  9.  
  10. ;Register the script w/ GIMP.
  11. (script-fu-register
  12. "script-fu-rubber-stamp" ;func name
  13. "Rubber Stamp" ;menu label
  14. "Image to rubberstamp" ;description
  15. "Me" ;author
  16. "Copyright 2011, Me" ;copyright notice
  17. "Nov. 2011" ;date created
  18. "" ;image type that the script works on
  19. )
  20.  
  21. (script-fu-menu-register "script-fu-rubber-stamp" "<Image>/Script-Fu")
  22.  
  23. Error: not enough arguments
  24.  
  25. (script-fu-register
  26. "script-fu-rubber-stamp" ;func name
  27. "Rubber Stamp" ;menu label
  28. "Image to rubberstamp" ;description
  29. "Me" ;author
  30. "Copyright 2011, Me" ;copyright notice
  31. "Nov. 2011" ;date created
  32. "" ;image type that the script works on
  33. SF-IMAGE "Input Image" 0
  34. SF-DRAWABLE "Input Drawable" 0
  35. )
Add Comment
Please, Sign In to add comment