Welcome, Guest |
You have to register before you can post on our site.
|
Latest Threads |
Introduction with questio...
Forum: General questions
Last Post: rich2005
2 hours ago
» Replies: 2
» Views: 29
|
RawTherapy to Gimp
Forum: General questions
Last Post: Ofnuts
2 hours ago
» Replies: 5
» Views: 338
|
Crockett 80s (Glitch Effe...
Forum: Gallery
Last Post: Q20Bruno
Yesterday, 05:22 PM
» Replies: 5
» Views: 4,828
|
No keyboard shortcuts—all...
Forum: Gimp 2.99 & Gimp 3.0
Last Post: rich2005
Yesterday, 05:18 PM
» Replies: 7
» Views: 212
|
@Tas_mania: soon at a ha...
Forum: Watercooler
Last Post: denzjos
Yesterday, 04:02 PM
» Replies: 1
» Views: 77
|
Recent folders missing fr...
Forum: Gimp 2.99 & Gimp 3.0
Last Post: sawzie
Yesterday, 03:22 PM
» Replies: 2
» Views: 193
|
Forced to operate Gimp 3....
Forum: Gimp 2.99 & Gimp 3.0
Last Post: Ofnuts
05-13-2025, 09:39 PM
» Replies: 2
» Views: 238
|
ofn3-layer-tiles
Forum: Extending the GIMP
Last Post: Ofnuts
05-13-2025, 09:33 PM
» Replies: 8
» Views: 1,140
|
ofn-flatten-cylinder
Forum: Extending the GIMP
Last Post: Ofnuts
05-13-2025, 09:09 PM
» Replies: 13
» Views: 5,304
|
New Install, Black Screen...
Forum: OSX
Last Post: Indeterminate
05-13-2025, 07:14 PM
» Replies: 2
» Views: 173
|
|
|
Problems running python-fu in external editor |
Posted by: Nodine - 12-20-2017, 08:08 PM - Forum: Scripting questions
- Replies (2)
|
 |
Hello! I'm looking to build a fairly advanced script using the Gimp Python extension.
I have run into some problems though, and these are my symptoms, perhaps someone here is able to help me.
When I run Python-fu from Gimp I get what you would expect, and a clear indication that everything is working.
System details:
Win10 - 64 bit
Gimp 2.8.22
Python.exe - version 2.7 (the one included in Gimp installation and seperate install to be sure)
Gimp message:
Code:
GIMP 2.8.22 Python Console
Python 2.7.10 (default, May 23 2015, 09:40:32) [MSC v.1500 32 bit (Intel)]
➤> import sys
➤> sys.path
['C:\\Program Files\\GIMP 2\\lib\\gimp\\2.0\\plug-ins', 'C:\\Program Files\\GIMP 2\\32\\lib\\gimp\\2.0\\python', 'C:\\Program Files\\GIMP 2\\Python\\python27.zip', 'C:\\Program Files\\GIMP 2\\Python\\DLLs', 'C:\\Program Files\\GIMP 2\\Python\\lib', 'C:\\Program Files\\GIMP 2\\Python\\lib\\plat-win', 'C:\\Program Files\\GIMP 2\\Python\\lib\\lib-tk', 'C:\\Program Files\\GIMP 2\\Python', 'C:\\Program Files\\GIMP 2\\Python\\lib\\site-packages', 'C:\\Program Files\\GIMP 2\\Python\\lib\\site-packages\\gtk-2.0', 'C:\\Program Files\\GIMP 2\\Python\\lib\\site-packages']
➤> gimp
<module 'gimp' from 'C:\Program Files\GIMP 2\32\lib\gimp\2.0\python\gimp.pyd'>
➤>
However when I run a script with that entire path included, from the python.exe file I get:
Code:
C:\Python27\python.exe D:/P5/m-cworkshop/Sprites2d/spritofu.py
Traceback (most recent call last):
File "D:/P5/m-cworkshop/Sprites2d/spritofu.py", line 2, in <module>
from gimpfu import *
File "C:\Program Files\GIMP 2\32\lib\gimp\2.0\python\gimpfu.py", line 76, in <module>
import gimp
ImportError: DLL load failed: Det angivne modul blev ikke fundet.
Process finished with exit code 1
So its clearly able to pick up the gimpfu.py file, but not the gimp.pyd file right next to it.
Here is what i have been able to verify so far:
My python installations are 32 bit.
This happens on both my computers.
This happens no matter how many things I include in the path, as long as I include the gimpfu.py path.
I hope you can help me.
Regards - Nodine
|
|
|
Error: .dll's missing but .... |
Posted by: lpvmc - 12-20-2017, 04:04 PM - Forum: Windows
- Replies (4)
|
 |
Hi,
When starting up GIMP I get a dialogbox with the following message: Cann't finf the following file: ZdlPvy/c:/ProgramFiles?Gimp2/bin/libwebkitgtk-1.0-0.dll.
This happens for three different files.
When I check c:/ProgramFiles etc for the .dll's they are there.
I have no idea what ZdlPvy is, but cann't find it on my computer.
Why does Gimp report the files missing while they are there with the path as in the error.
Any comment is very much appreciated.
Kindest regards, Leo
|
|
|
ofn-bend-path |
Posted by: Ofnuts - 12-19-2017, 08:48 PM - Forum: Extending the GIMP
- Replies (104)
|
 |
- Given a source path (in blue)
- You provide an envelope path made of two strokes (in red)
- The script produces the bent path (in green)
- By design, the script only bends the path vertically (in the image above, you can observe that the vertical limits of the characters in the source and bent paths are aligned)
- The bent path is produced between the two strokes of the envelope path.
- The source path can be elsewhere, it only needs to overlap vertically with the envelope strokes
Available at the usual place. Enjoy.
|
|
|
Repeat set of actions |
Posted by: grit - 12-19-2017, 12:10 PM - Forum: Extending the GIMP
- Replies (10)
|
 |
I have made a layer. I want to rotate it and duplicate then rotate it for the same amount of angle as in previous step.
Is there a shortcut for repeating these actions ?
|
|
|
Are current tablet bugs fixable? |
Posted by: BerryLegs - 12-19-2017, 02:31 AM - Forum: General questions
- Replies (1)
|
 |
Im trying to use my huion tablet. It recognizes it and i can configure it in setting but when i try to draw it makes a dot but i cant move the cursor once it made the dot. When i pull the pen off the tablet i can move the cursor again. This is very frustrating and ive tried everything on every forum post about this that I could find. Does anyone have any advice? I tried using previous versions of gimp.
|
|
|
|