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

Username
  

Password
  





Search Forums

(Advanced Search)

Forum Statistics
» Members: 4,620
» Latest member: KjellA
» Forum threads: 7,487
» Forum posts: 40,869

Full Statistics

Latest Threads
Gimp Crash
Forum: Gimp 2.99 & Gimp 3.0
Last Post: KjellA
4 hours ago
» Replies: 0
» Views: 34
producing an image
Forum: Gallery
Last Post: MJ Barmish
7 hours ago
» Replies: 0
» Views: 40
Gimp closes automatically
Forum: General questions
Last Post: rich2005
9 hours ago
» Replies: 1
» Views: 88
GIMP 3.x: Editing a pdf
Forum: General questions
Last Post: rich2005
10 hours ago
» Replies: 1
» Views: 74
Is This Possible ? Print ...
Forum: General questions
Last Post: rich2005
10 hours ago
» Replies: 3
» Views: 84
Color is not translating ...
Forum: General questions
Last Post: Ofnuts
Yesterday, 06:37 AM
» Replies: 1
» Views: 109
3.0.4 Crashes when drag a...
Forum: Gimp 2.99 & Gimp 3.0
Last Post: kayalif
Yesterday, 06:23 AM
» Replies: 9
» Views: 403
how to change default pas...
Forum: Gimp 2.99 & Gimp 3.0
Last Post: CmykStudent
Yesterday, 04:03 AM
» Replies: 25
» Views: 12,027
CMYK color mode Gimp 2.10
Forum: Extending the GIMP
Last Post: rich2005
07-14-2025, 08:30 PM
» Replies: 18
» Views: 81,895
Endianess of pixel data i...
Forum: Scripting questions
Last Post: Ofnuts
07-14-2025, 07:23 PM
» Replies: 3
» Views: 117

 
  Trying to make an icon transparent for webpage
Posted by: jrd656 - 03-25-2020, 01:37 PM - Forum: General questions - Replies (1)

I've been trying to take an image and make it transparent for use on a webpage I'm making for a practice project.

I've found this icon, which looks ideal:
https://toppng.com/uploads/preview/arrow...cxsqad.png

I've managed to add an alpha layer and remove the background so that I have a transparent layer on my website. The problem comes when I try to make the icon itself transparent. I've tried:

 - Using the layer tool to make the whole layer 50% opaque
 - Using the fill, eraser, colors>map>color exchange, etc features to make the icon transparent. They all make it look transparent on my GIMP software, but when I put them on my website it stops working.

Can anyone please help me out and save my sanity?

Print this item

  Error in 2.10.18 running in batch mode "ff-save.dll" and "ff-load.dll" can't be found
Posted by: sethsdad - 03-25-2020, 09:58 AM - Forum: General questions - Replies (1)

I've been hitting this error message lately when running the gimp-console in batch mode and not sure what to do about it:


Code:
GEGL-Message: 09:53:21.983: Module 'C:\Program Files\GIMP 2\lib\gegl-0.4\ff-load.dll' load error: 'C:\Program Files\GIMP 2\lib\gegl-0.4\ff-load.dll': The specified module could not be found.
GEGL-Message: 09:53:22.014: Module 'C:\Program Files\GIMP 2\lib\gegl-0.4\ff-save.dll' load error: 'C:\Program Files\GIMP 2\lib\gegl-0.4\ff-save.dll': The specified module could not be found.


Both of those DLL's are in the location mentioned so I'm not sure why its complaining.

I get this error when running either script-fu or python-fu scripts. The scripts still run but the error is a worry, I'm no importing these directly so assume its part of GIMP's start up.

Any ideas?

Print this item

  What is the correct way to close a python batch job?
Posted by: sethsdad - 03-24-2020, 10:22 PM - Forum: Extending the GIMP - Replies (5)

Hi all,

I've been trying hard to get a batch script converted over from script-fu in Python but I'm struggling to get it to close the process as I can't seem to get it to close GIMP. The script runs but it won't kill the process so is making everything hang. 

I can't seem to find any docs on how to actually do some of this stuff, it seems that those that know, know and I'm not sure how to fill in the gaps in my knowledge. 

Up front I'm new to python but a long in the tooth coder in various other languages.

So my question is, what is the correct way to close GIMP these days?

I'm running GIMP 2.10.18 on Windows 10

This is roughly my command I'm running:

"C:\Program Files\GIMP 2\bin\gimp-console-2.10.exe" -id --batch-interpreter python-fu-eval -b "import sys;sys.path=['.']+sys.path;import mydynamicTextReplace;dynamicTextReplace.process('my_example_param_1')"

So far I've tried (yep I'm in cut and paste "lets see if this works" land at this point):

  1. Adding '-b (gimp-quit 0)' to the end of the command, this was a left over from the script-fu script and I think this fails as I've told it to use the python parser not script-fu?
  2. Adding '-b "pdb.gimp_quit(1)" ' to the end of the command, no luck with this one
  3. Adding '-b "gimp.quit(1)" ' to the end of the command, no luck with this one either
  4. Adding variations of "gimp.quit" and "pdb.quit" to the end of my script that I'm importing but these all seem to have zero effect
Thought and guidance? Are there any docs online about doing this sort of stuff better, it feels way to fumbling around in the dark to me and I've been at this several sessions now.

Many thanks in advance.

Print this item

  Stroke selection antialising on but has hard edge, why?
Posted by: marigolden - 03-24-2020, 07:50 PM - Forum: General questions - Replies (2)

When I select stroke selection i keep on antialising but it's still giving a hard edge, as in there's not that graduated blend of pixels at the edges. Why doesn't it work?

Print this item

  How to get rid of this grid when i try to scale a layer?
Posted by: marigolden - 03-24-2020, 07:14 PM - Forum: General questions - Replies (3)

It's just in the way, I tried defaulting window preferences and restarting yet it still does this



Attached Files Thumbnail(s)
   
Print this item

  How to edit Multiple layers
Posted by: john_brown - 03-24-2020, 06:51 PM - Forum: General questions - Replies (11)

So i was just wondering when you have like 10 images on the right side, i have to go through each image one by one to do want i want to do. I was wondering is there a away using transparency you can edit through all of them at once, like select all but that doesn't work. Thanks

Print this item

  New plugin: Rhodonea
Posted by: Ottia Tuota - 03-24-2020, 06:43 PM - Forum: Extending the GIMP - Replies (4)

Another offshoot of the Parametric curves. Draws rose-like figures.

To get the plugin, go to

http://kmarkku.arkku.net/

follow the link 'Applications', and click the second Download button there. That gives you a .zip file. Unzip it, put the .py file into your Gimp's plug-ins folder, and restart Gimp. The plugin 'Rhodonea' will be in

Filters/Render/Parametric curves/Special cases

If there are any problems, please tell me.

Print this item

  Can only click on some things???
Posted by: HungryHungryHobo2 - 03-24-2020, 03:59 PM - Forum: General questions - No Replies

For whatever reason only certain buttons are clickable...
I can click 'open new project', and i can move around through the folders in the left side bar, but clicking on any of the images doesn't do anything.
Clicking cancel, or 'X' to close the dialogue box also does nothing.
The only way out of this menu is the 'escape' key or 'alt+f4'

I can select some tools, some simply don't respond to being clicked on, i can't actually use the tools though, the clicks on the open image with a tool selected don't do anything.

i can open images by right clicking them and opening with GIMP just fine, but can't edit them because I can only select some of the tools, and once I do my clicking no longer registers and I need to open a new instance of GIMP...

Any ideas what the heck is going on?

EDIT: I Should add that I've been using the program just fine for some time now, it suddenly decided that half the buttons do nothing just today.


I ran GIMP in verbose mode to try and figure out whats causing it to bork up, and now its working fine again.
after multiple computer resets, opening and closing GIMP 1,000 times not helping at all,
It's suddenly back to normal. ¯\_(ツ)_/¯

Print this item

  History after reopening
Posted by: pavikpeter - 03-24-2020, 10:43 AM - Forum: General questions - Replies (2)

I made some modifications on a picture, saved it to *.xcf I closed it and reopened it again. Is there a way to check what modificaton has been done before closing?

Print this item

  New plugin: Spiropath
Posted by: Ottia Tuota - 03-23-2020, 05:16 PM - Forum: Extending the GIMP - Replies (4)

I got the feeling that the general-purpose plugins Parameter curves and so on do not raise much enthusiasm. They are mathematical, and my experience is that the mere word mathematics tends to put people off.

So I thought that it might be good to derive from them some specialized plugins. The first one is now available: it draws spirographs.

According to wikipedia, 'spirograph' is a registered trademark. Perhaps I am too sensitive, but I decided to call the plugin 'Spiropath'. It draw spirograph-like curves as Gimp's paths (approximations).

Gimp already includes the plugin SpyroGimp, which I guess comes nowadays automatically when Gimp is installed. But it does not output paths.

I found an old plugin

https://gimper.net/resources/spirograph.624/

that creates paths. But it seems to rely on placing control points densely on the curve. It does allow the user to diminish the number of control points, but then it turns out that between two successive anchors it simply puts a straight line segment.

My plugin outputs a path with a sparse set of anchors, yet it is reasonably accurate. So, it seems that nothing similar exists previously, or am I too optimistic?

To get the plugin, go to

http://kmarkku.arkku.net/

follow the link 'Applications', and click the Download button there. That gives you a .zip file. Unzip it, put the sole .py file into your Gimp's plug-ins folder, and restart Gimp. The plugin 'Spiropath' resides in

Filters/Render/Parametric curves/Special cases

That is a long path, but I don't want to add more items in Render, and I want to separate the special curves from the three general curves. I plan to put there a couple more soon.

A drawback of the plugin is its size: over 5000 lines. I constructed it by putting together most of parametric_curves.py and the example file which draws a spirograph and then developing things a little further.

I hope you will enjoy. At least the curves are pretty.

Print this item