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

Username
  

Password
  





Search Forums

(Advanced Search)

Forum Statistics
» Members: 4,625
» Latest member: nuxttux
» Forum threads: 7,490
» Forum posts: 40,884

Full Statistics

Latest Threads
edit_paste pastes at inco...
Forum: Scripting questions
Last Post: class43
29 minutes ago
» Replies: 2
» Views: 93
CMYK color mode Gimp 2.10
Forum: Extending the GIMP
Last Post: rich2005
4 hours ago
» Replies: 20
» Views: 82,144
Open, save buttons on bot...
Forum: Gimp 2.99 & Gimp 3.0
Last Post: GrumpyDeveloper
Yesterday, 09:52 PM
» Replies: 8
» Views: 2,943
Clone size randomly chang...
Forum: General questions
Last Post: oldschool1@runbox.com
Yesterday, 05:45 PM
» Replies: 2
» Views: 179
AI Gimp Plugins
Forum: Watercooler
Last Post: Zbyma72age
Yesterday, 03:31 PM
» Replies: 20
» Views: 53,469
Gimp closes automatically
Forum: General questions
Last Post: sallyanne
Yesterday, 05:50 AM
» Replies: 2
» Views: 200
AIGoR - Artificial Image ...
Forum: Other graphics software
Last Post: vitforlinux
07-16-2025, 11:10 AM
» Replies: 12
» Views: 3,827
Is This Possible ? Print ...
Forum: General questions
Last Post: sallyanne
07-16-2025, 07:47 AM
» Replies: 4
» Views: 205
Gimp Crash
Forum: Gimp 2.99 & Gimp 3.0
Last Post: rich2005
07-16-2025, 07:16 AM
» Replies: 1
» Views: 147
producing an image
Forum: Gallery
Last Post: MJ Barmish
07-15-2025, 06:37 PM
» Replies: 0
» Views: 112

 
  Help.Wanted('Pixel region gimpPy')
Posted by: FloppaDisk - 03-26-2020, 08:18 AM - Forum: Scripting questions - Replies (10)

Hi. Having a rough time understanding have to manipulate individual pixel's trough gimp python.
So far i have found this constructor drawable.get_pixel_rgn(x, y, w, h, [dirty, [shadow]) an been able to set a variable to it and call member from sayd variable but that about it.
Found a Gnome site with descriptive information.
Did try to install numpy into gimp with no luck. But don't think i need that module for now.
What my end goal comprise of is to be able to edit individual pixel RGB values along side it's alpha/opacity.
A little information on have to set rgb if that is with a 3-tuple or an hue int, with how/were opacity is set would be nice also Smile

Print this item

  ofn-tiles
Posted by: denzjos - 03-25-2020, 04:49 PM - Forum: Extending the GIMP - Replies (8)

I have one remark on the 'export tiles' script. If I export a few tiles then everything seems to be right. The script saves the different photos in the chosen folder and when I look at the photos with a viewer, then I see the separate photos I worked on. When I look with the windows explorer at the directory with the photos I worked on, the preview set on 'big pictorgrams', then the pictogram shows all the photos I worked on in a session. A bug ? 

      
On the left one of the four photos I worked on, on the right the preview icon. When I click on the right icon, I see one photo I worked on (and that is ok)

Print this item

  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