![]() ![]() From gimpfu import * from PIL import Image import datetime import sys def hello_world (): sys.stdout = open ( 'c:\\temp\\out.txt', 'a' ) print (()) print ( 'Hello_World' ) pdb.gimp_message( 'Hello World !.' ) pdb.gimp_message( 'Producing Image!.' ) im = Image.open( "C:\\temp\\ProfilePicture.png" ) # Place an image in an accessible folder im.save( "C:\\temp\\copy_script.png" ) # Copy of image saved pdb.gimp_message( 'Image Produced.' ) print ( 'Finished processing' ) register( 'python-fu-hello-world', # Plugin unique name 'Hello World', # Tooltip short name 'This is a Hello World Plugin', # Tooltip long description 'Muddy Games', 'Muddy Games', '2016', # Creator, Copyright owner, released 'Hello World', # Menu name '*', # Supported image color *, # Input Parameters, # Return Parameters hello_world, # Method to call menu= '/Filters/Render' ) # Menu entry location main()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |