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

Username
  

Password
  





Search Forums

(Advanced Search)

Forum Statistics
» Members: 5,108
» Latest member: tadeusz@quality07.com.pl
» Forum threads: 7,800
» Forum posts: 42,363

Full Statistics

Latest Threads
arakne path shapes
Forum: Extending the GIMP
Last Post: Zbyma72age
2 hours ago
» Replies: 4
» Views: 227
how to use different font...
Forum: General questions
Last Post: denzjos
6 hours ago
» Replies: 1
» Views: 81
How to apply layer to obj...
Forum: General questions
Last Post: rich2005
Yesterday, 03:59 PM
» Replies: 1
» Views: 141
Selective transparency
Forum: General questions
Last Post: aka
02-04-2026, 03:44 PM
» Replies: 5
» Views: 318
ExifToolGUI and ExifTool ...
Forum: Other graphics software
Last Post: denzjos
02-03-2026, 12:07 PM
» Replies: 12
» Views: 12,939
Can you identify effects/...
Forum: General questions
Last Post: rich2005
02-02-2026, 09:34 AM
» Replies: 11
» Views: 787
GIMP 3.0.8 Installation
Forum: Windows
Last Post: rich2005
02-01-2026, 08:30 AM
» Replies: 2
» Views: 560
Best way to recolor this ...
Forum: General questions
Last Post: rich2005
02-01-2026, 08:25 AM
» Replies: 12
» Views: 1,055
A Search For Missing Belg...
Forum: Watercooler
Last Post: Tas_mania
02-01-2026, 03:18 AM
» Replies: 3
» Views: 1,218
eps file won't open
Forum: General questions
Last Post: rich2005
01-30-2026, 09:26 AM
» Replies: 2
» Views: 316

 
  GIMP 2.10 a brush in the filter parameters
Posted by: dinasset - 05-04-2018, 12:27 PM - Forum: Gimp 2.10 - Replies (13)

Hi,
in my activity of porting my filters to 2.10, I faced a strange behavior:
- there is a filter (running on 2.8) which as a "brush" parameter in the definition  
- trying to see it under 2.10 it was in the menu but not showing its menu when launched
- after some trials I discovered that removing the filter name from the parameters it was showing, but..
  only once (unless resetting all the filters)

So I decided to write a couple of test filters, one with the brush parameter (but set to None), the other one which uses the active brush.
The behavior was confirmed:
- using the first one I can see it and run only once (unless resetting the filters)
- using the second one I can see it and run as many times as I like

Ther same 2 filters included in my 2.8, show up and run always.

Hence I post here these 2 small filters; if someone is so kind to double-check them, I will appreciate 
The first one

Code:
#!/usr/bin/env python
from gimpfu import *
import random


def testBrushAsParm (inImage, inDrawable, inBrush, Run) :

   pdb.gimp_context_push
   pdb.gimp_image_undo_group_start(inImage)
   
   # set parameters for drawing the lines
   pdb.gimp_context_set_brush (inBrush)
   distance=100
   count=int(inDrawable.height/distance)
   h=0
   for h in range(count):
       x1 = 0                                  
       x2 = inDrawable.width                
       y1 = 25+(h*distance)              
       y2 = y1
       #info_msg ("x1, x2, y1, y2, Dw, Rh = "+str(x1)+",  "+str(x2)+",  "+str(y1)+",  "+str(y2)+",  "+str(Dw)+",  "+str(Rh))
       pdb.gimp_paintbrush (inDrawable, 0, 4,
                (x1, y1, x2, y2), PAINT_CONSTANT, 0)  
       h+=1
       
   pdb.gimp_image_undo_group_end(inImage)
   return()

# This is the plugin registration function
register(
   "testBrushAsParm",    
   "To test a Brush As Parameter",  
   "This script tests a Brush in the Parameters.",
   "Diego",
   "Diego Nassetti ",
   "2018",
   "testBrushAsParm",
   "RGB*",
   [
     (PF_IMAGE, "image", "Input image", None),
     (PF_DRAWABLE, "drawable", "Input drawable", None),
     (PF_BRUSH, "brush", "Brush to use", None),      
     (PF_TOGGLE, "test", "Does it run more than once?", False),    # fake parameter !
   ],
   [
     (PF_DRAWABLE, "odrawable", "Output drawable", None),
   ],
   testBrushAsParm,
   menu="<Image>/Test",
   )

main()
The second one


Code:
#!/usr/bin/env python
from gimpfu import *
import random


def testBrushAsNoParm (inImage, inDrawable, Run) :

   pdb.gimp_context_push
   pdb.gimp_image_undo_group_start(inImage)
   
   # set parameters for drawing the lines
   distance=100
   count=int(inDrawable.height/distance)
   h=0
   for h in range(count):
       x1 = 0                                  
       x2 = inDrawable.width                
       y1 = 25+(h*distance)              
       y2 = y1
       #info_msg ("x1, x2, y1, y2, Dw, Rh = "+str(x1)+",  "+str(x2)+",  "+str(y1)+",  "+str(y2)+",  "+str(Dw)+",  "+str(Rh))
       pdb.gimp_paintbrush (inDrawable, 0, 4,
                (x1, y1, x2, y2), PAINT_CONSTANT, 0)  
       h+=1
       
   pdb.gimp_image_undo_group_end(inImage)
   return()

# This is the plugin registration function
register(
   "testBrushAsNoParm",    
   "To test a Brush Not As Parameter",  
   "This script tests a Brush Not in the Parameters.",
   "Diego",
   "Diego Nassetti ",
   "2018",
   "testBrushAsNoParm",
   "RGB*",
   [
     (PF_IMAGE, "image", "Input image", None),
     (PF_DRAWABLE, "drawable", "Input drawable", None),
######(PF_BRUSH, "brush", "Brush to use", None),       # removed from the parameters
     (PF_TOGGLE, "test", "Does it run more than once?", True), # fake parameter !
   ],
   [
     (PF_DRAWABLE, "odrawable", "Output drawable", None),
   ],
   testBrushAsNoParm,
   menu="<Image>/Test",
   )

main()

Print this item

  Recommended beginner xp-pen graphics tablets?
Posted by: nanping - 05-04-2018, 06:25 AM - Forum: Windows - No Replies

So, I had a black XP-Pen G640, it was my first tablet and I had it for almost 1 year, but recently I lost the pen and I can‘t buy one where I live so I would have to buy it online, like I did with my tablet. So instead of that, I decided to just buy a better one. Screen Tablets are too expensive for me, so I was looking at the XP-Pen Star06 , wich I've heard is called the best non-screen tablet, but it was also a little bit on the expensive side for me. In my opinion the XP-Pen G640 was decent, but I also dont have experience with other graphic tablets, so right now what I'm looking for is something in the middle between a XP-Pen Star06 and the XP-Pen G640 quality-wise, that will also hopefully be not as expensive as the Star06 .

Looking for a relatively cheap graphics tab (under £100). It does not have to have a display but should connect to my mac and be compatible with photoshop.

I have little experience in that area so I am hoping you can

What would you suggest?

rich: my suggestion is do not advertise and buy a Wacom tablet

Print this item

  Saving color with tool preset
Posted by: Steve Wellens - 05-03-2018, 03:11 PM - Forum: Installation and usage - Replies (4)

I'm using Gimp 2.10.

I am trying to save a red pencil tool preset.   However, when i select the tool to draw with, it uses the current foreground color.

In the preset file the color is saved:  (color-rgb 1.000000 0.000000 0.000000))

I've edited the tool and checked/unchecked  Apply stored FG/BG but so far it doesn't work.

Am I missing something obvious?

Print this item

  do you think Adobe is nervous about open source graphics ?
Posted by: Espermaschine - 05-03-2018, 12:33 PM - Forum: Watercooler - Replies (10)

This year is a big year for open source graphics software like Gimp and Inkscape.
Once both programs have included CMYK support, they will be a serious alternative for professionals to Photoshop and Illustrator.

Print this item

  grain extract and grain merge
Posted by: gimp-artist - 05-03-2018, 10:55 AM - Forum: General questions - Replies (5)

Hello guys, how are you doing? I'm reading gimp Docs. Here is what they say about "grain extract" in layer modes.

Grain extract mode is supposed to extract the "film grain" from a layer to produce a new layer that is pure grain, but it can also be useful for giving images an embossed appearance.

I don't think grain extract gives images an embossed appearance, but grain merge gives the embossed appearance.

What do you think about it?

Print this item

  Gmic and Gimp 2.10.0
Posted by: rich2005 - 05-03-2018, 07:58 AM - Forum: Extending the GIMP - No Replies

This is a total update on previous post.

For Windows 2.10.x and current gmic_qt plugin

The installer correctly puts the plugin in its own folder in your Gimp 2.10 profile. Nothing else for you to do.

Just download from https://gmic.eu/download.shtml and run the installer

[Image: 7DGILEZ.jpg]

Find the plugin bottom of the filters menu, remember to update it occasionally.

[Image: 7gqGngW.jpg]

Print this item

  No Option in 2.10 to Export as jpg/jpeg, png,...
Posted by: SPIRITWH60 - 05-03-2018, 02:12 AM - Forum: Gimp 2.10 - Replies (8)

Gimp 2.10 gives me no options to save or export in any other file type except xhtml, ora and xcf. I need to save my image in png or at least jpeg/jpg.
I tried saving in Open Raster (.ora), and got these error messages:

Calling error for procedure 'gimp-procedural-db-proc-info': Procedure 'file-png-save' not found

Saving 'C:\Users\Debby\Desktop\HairLock.ora' failed:OpenRaster plug-in could not save image

Does anyone know what I can do? Please Help!

Print this item

  file browser
Posted by: gimp-artist - 05-03-2018, 12:47 AM - Forum: General questions - Replies (1)

I have several favorite folders in system file browser, but gimp application is not showing up all of the favorite folders in the left pane when I opened the file browser in gimp for saving files. Even I only may add the last sub folder of some files not the parent folders. It is weird to explain like this. How do you guys manage to add favorite folders for gimp application to save and open files?

It seems that the system file browser is capable of adding any folder as a favorite folder, but the gimp file browser won't adding the root folder of mounted disk as a favorite folder. Anyone know about this? Am I the first one who find out this?

Print this item

  Gimp 2.10.0 icon size
Posted by: dmcentee - 05-02-2018, 09:15 PM - Forum: Installation and usage - Replies (4)

I just installed Gimp 2.10.0 and I find that the size of the icons on my 4K screen are too tiny to use.

(As an example, on my 15" diag. screen, the brush icons are approximately 0.10 inches wide, tool icons are approx. 0.15 inches
When using Gimp 2.8 on my older 1K screen, these icons are 0.3 inches wide)

Is there a way to increase the size of everything ?

Thanks in advance

Print this item

  Error opening tif file created by GIMP
Posted by: ajax - 05-02-2018, 08:27 PM - Forum: General questions - Replies (8)

When using GIMP 2.10 and trying to open an image in the form of a tif file that was created by GIMP 2.8 the error shown in the attached file occurred.  Result is that that GIMP 2.10 cannot be used to process this file.  It might also be worth noting that some other programs are able to open the subject file.  This includes Picasa, XnViewMP, Paint, Canon DPP4, and Rawtherapee.  Notably Windows Photo Viewer is unable to open the subject file.

   

Print this item