![]() ![]() 'When run this plug-in prints "Hello, GIMP world!" in a dialog box.', 'A simple Python-Fu "Hello, World" plug-in', I left out the interface anycodings_python statement and I also tried out the most anycodings_python simple example to figure out whats wrong: #!/usr/bin/env python (gimp-2.8:1020): LibGimpBase-WARNING **: anycodings_python gimp-2.8: gimp_wire_read():Įdit: Ok, thanks. However, no matter what i do, i always geht anycodings_python the same error message: I try to run the script from my cmd like anycodings_python this: gimp-2.8 -no-interface -batch '(python_fu_hello_world RUN-NONINTERACTIVE "Hello" Arial 50 red)' -b '(gimp-quit 1)' (PF_STRING, "string", "Text string", 'Hello, world!'), "", # Create a new image, don't work on an existing one "Create a new image with your text string", # Can't add this first because we don't know the size of the text layer.īackground = gimp.Layer(img, "Background", layer.width, layer.height, Img.resize(layer.width, layer.height, 0, 0) # Resize the image to the size of the layer ![]() Layer = pdb.gimp_text_fontname(img, None, 0, 0, initstr, 10, # Create a new text layer (-1 for the layer means create a new layer) # First do a quick sanity check on the font Right now, i't trying to do that with an anycodings_python example script: #!/usr/bin/env pythonĭef hello_world(initstr, font, size, color) : #Gimp 2.8.22 save as jpeg pdfI'm trying to use functions of gimp 2.8.22 anycodings_python to convert a pdf to jpeg and i want to do anycodings_python that with a python script using the gimpfu anycodings_python library from my windows cmd (i have anycodings_python installed python 3.6.1). ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |