Welcome, Guest
You have to register before you can post on our site.

Username
  

Password
  





Search Forums

(Advanced Search)

Forum Statistics
» Members: 6,002
» Latest member: tankslapper
» Forum threads: 7,413
» Forum posts: 40,351

Full Statistics

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

Print this item

  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

Print this item

  Option to display rgb 0-255 instead of %
Posted by: mholder - 12-20-2017, 12:15 PM - Forum: Gimp 2.10 - Replies (7)

I understand that greater than 8 bits per channel the values will be much more than 0-255.

But I'm working with a program that is requesting RGB 0-255 values.  The problem for me is if I am in 8 bit precision, then it is a hassle to constantly convert 0-100% to 0-255.

Is there an option somewhere to change the display to 0-255 instead of 0-100?



Attached Files Image(s)
   
Print this item

  Gaussian blur not working correctly?
Posted by: CC_Dev - 12-20-2017, 04:52 AM - Forum: General questions - Replies (2)

Operating on osx. Problem getting desired effect

Desired Effect of a guassian blur:
[Image: Screen_Shot_2017-12-19_at_8.37.42_PM.png]

Current result:
[Image: Screen_Shot_2017-12-19_at_8.37.08_PM.png]
Closeup:
[Image: Screen_Shot_2017-12-19_at_8.37.33_PM.png]

so It looks like the blur effect is a gradient opacity, but inverted? I want it to blur out from the border, not increase the opacity on the inside of the border. Border should be 100% opaque, with an increasingly transparent gradient out from the edge. 

What am I doing wrong?

Print this item

  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.

Print this item

  What do you call this effect ?
Posted by: Espermaschine - 12-19-2017, 02:02 PM - Forum: General questions - Replies (8)

Its based on some kind of mathematical function, right ?
Exponential growth ?

   

Print this item

  MY SIMPLE ART
Posted by: GIMPER2 - 12-19-2017, 01:12 PM - Forum: Gallery - No Replies

[Image: 3592_2-GOOD%20MORNING.png]

[Image: 10379-20171218-00eb90.gif]

Print this item

  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 ?

Print this item

  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.

Print this item

  Nova with transparency
Posted by: grit - 12-18-2017, 10:44 PM - Forum: General questions - Replies (2)

How to make nova appear only with spokes and without gradient alpha? I like the gradient of nova in some cases but sometimes I would like only nova with spokes without that yellowish gradient in between spokes.



Attached Files Thumbnail(s)
   
Print this item