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



Search Forums

(Advanced Search)

Forum Statistics
» Members: 188
» Latest member: tanda
» Forum threads: 277
» Forum posts: 1,589

Full Statistics

Latest Threads
xcf to pdf
Forum: General questions
Last Post: rich2005
8 hours ago
» Replies: 1
» Views: 26
Forum: Gallery
Last Post: GIMPER2
11 hours ago
» Replies: 22
» Views: 706
Forum: Gallery
Last Post: rich2005
Yesterday, 08:04 AM
» Replies: 7
» Views: 200
Android/IOS/Chrome OS ???
Forum: General questions
Last Post: Ofnuts
03-20-2017, 10:39 PM
» Replies: 3
» Views: 84
color change
Forum: General questions
Last Post: integrator
03-20-2017, 02:31 PM
» Replies: 10
» Views: 200
Rectangle tool
Forum: General questions
Last Post: rich2005
03-20-2017, 09:38 AM
» Replies: 8
» Views: 156
Auto-scaling does not wor...
Forum: General questions
Last Post: rich2005
03-20-2017, 09:12 AM
» Replies: 4
» Views: 91
Forum: Gallery
Last Post: GIMPER2
03-20-2017, 08:52 AM
» Replies: 3
» Views: 125
Custom buttons bar
Forum: General questions
Last Post: rich2005
03-19-2017, 04:11 PM
» Replies: 6
» Views: 117
Working with Paths
Forum: Tutorials and tips
Last Post: rich2005
03-19-2017, 01:22 PM
» Replies: 17
» Views: 794

  Display Saturation and Value as 0-255?
Posted by: ViciousVinnyD - 03-16-2017, 03:43 PM - Forum: General questions - Replies (5)

By default saturation and value are displayed as 0-100 in the color picker. Is it possible to change this to 0-255?

Print this item

  Alter UV Map?
Posted by: Some Yahoo - 03-16-2017, 03:34 AM - Forum: General questions - Replies (1)

I have an image premade and I want to UV map it onto my object.  However, there seems to be no way to "unfold" an object onto an existing image. it always creates that ABC squares map.  I need to see the correct image in the UV mapperizer so I can correctly lay out my UV coordinates.


Print this item

Question GIMP layer preview size issue
Posted by: andreim - 03-15-2017, 01:04 PM - Forum: General questions - Replies (2)

I set the default layer preview size from Edit > preferences but it apparently does nothing.
I later learned on the web that there's another setting I could use - in the Layers window > little black arrow > Preview Size. This works but it lacks one size option present in the prefs: huge. This happens to be the only one I need.
The questions are:
What exactly does the option in prefs do?
How eventually do I get the huge layer preview size?

Print this item

  Bevel Reflect Logo crops image
Posted by: Blighty - 03-15-2017, 11:19 AM - Forum: General questions - Replies (5)

I have an image with about 300 layers. Layers are different widths. Lets say that the image (canvas) is 1000 pixels wide.
Layer no. 50 is 500 pixels wide. I run BRL on layer no. 50. The image gets cropped to 500 pixels wide.

The only workaround I have found so far is to copy layer no. 50 to a new image, run BRL on that, and then copy this back to the original image and anchor it. Clumsy and time consuming.

Any suggestions for a fix or an easy workaround?

Print this item

  Scripts, plugins, etc.
Posted by: eingram25 - 03-15-2017, 04:01 AM - Forum: Tutorials and tips - Replies (3)

Hi. I'm using Gimp 2.8.20. Running under Windows 10.
I just wondered if anyone has compiled a list of all the plugins and/or filters.
I might want to go through and try to understand how to use some of them.
I seem to learn best by trial and ERROR. (emphasis mine, of course)

Print this item

  Shadow problem
Posted by: b60 - 03-14-2017, 09:15 PM - Forum: General questions - Replies (13)

I added a grass jpeg to this photo with Gimp, but didn't select the shadowed areas. What I'd like to do is to add the grass texture image to the shadowed areas, but maintain the shadow color. Is there a way to layer the grass jpeg under the shadowed areas and still keep the dark color?

Print this item

  New Here
Posted by: Danielsan - 03-14-2017, 12:17 AM - Forum: Gimp-Forum.net - Replies (2)

Hi All,

I didn't know the older forum was closed so after reading the Pat David's blog I ran here to register myself, however I didn't get this part of your terms:

Quote:The admins do their best to keep this forum fit for all ages, but, due to their European culture, they can come across as rather laid-back on some subjects and tight-fisted on others

I am Italian... So what does it mean?

Probably in the intention of the person who wrote this sentence was to use an ironic tone but honestly it seems quite discriminatory in several ways.

I suggest you to review the tone of this sentence because it is totally against yours final statement:

Quote:We try to manage this forum as sensible adults, we expect members to be the same.



Print this item

  Debugging python-fu scripts in Windows
Posted by: Ofnuts - 03-13-2017, 10:42 AM - Forum: Tutorials and tips - Replies (1)

Debugging python-fu scripts
As Brian Kernighan wrote, "The most effective debugging tool is still careful thought, coupled with judiciously placed print statements.".

On Linux (and likely OSX) things are easy: if you start Gimp from a terminal, all the output from print statements in Python plugins will be displayed in ther terminal.

But on Windows, the output of plain print statements cannot be seen, so you have two options:

Using gimp_message()

This is a simple method which is OK to diagnose small and local problems, but it is better used on code which is know to be mostly working.

  • start the Error console dialog
  • use "gimp_message()" instead of "print" (if the Error dialog is not up, you get one dialog for each gimp_message())

Running your script in the python-fu console

This method is a bit more complex, but all the output is visible, even from parts of Python that you don't control (error messages, etc...)

We just have to overcome a few hurdles, namely:
  • by default Python doesn't look in the directory where your code is
  • the registration code doesn't work in the python-fu console, if fact it makes it crash.
  • taking the new version in account with minimal effort after editing the code

So, assuming you are working on "plugin.py", with an entry point (the function you point to in the register() call) named "execPlugin" that takes and image and a layer, and that the file is in the plug-ins directory of your profile:
  • while testing the function, comment out the register() and maint() call in your python
  • make sure your file name is a valid python identifier (no dashes in the name, for instance)
  • start the python-fu console, make sure you have one single image loaded and enter:
    import sys; # extend the python path to include the plug-ins directory sys.path=[gimp.directory+'/plug-ins']+sys.path #import the plugin import plugin
  • to run the function:
    # retrieve the image (if you have several images, it will be a bit more complicated) # here we bluntly retrieve the first image in the list of loaded images  image=gimp.image_list()[0] # Call the function: note that the function name is prefixed with the module name plugin.execPlugin(image,image.active_layer)
  • if you edit the file, to reload the new version of the code:
  • if your plugin function takes more parameters you have to provide them "manually". In most cases they will just be strings (text, but also file names, fonts, brushes,...) or numbers. The semi-difficult cases are layers and other images, because the parameter is an object, so you have to retrieve it with python code (obtain the other image in gimp.image_list(), for instance, or a drawable from image.layers and checking its name).
  • to start afresh, just close and reopen the python console
  • when done, don't forget to:
    • uncomment the registration code
    • remove the print statements... in Windows they can freeze your script if the total length of output is bigger than 4KB (because there is nothing to read it)

Routing python outputs to file

(this method inspired by a post by SeldomNeedy on the Gimp user mailing list)

This is a rather simple method, which is best used with an editor clever enough to reload the file when it notices changes. With this method, everything Pythin would wirte one a console (print statements, error messages... ) goes to a file, that you can check with a text editor. At the beginning of the file, do:
import sys
sys.stderr = open('C:/temp/python-fu-output.txt','a')
sys.stdout=sys.stderr # So that they both go to the same file

Other locations are possible:
sys.stderr = open(gimp.directory+'/../My Documents/python-fu-output.txt','a')

(contrary to popular belief, forward slashes are usable as path separators on Windows, only the command prompt parser doesn't like them).

When you are done with debugging, you can disable all the tracing by simply replacing the initial file opening.
import os
sys.stderr = open(os.path.devnull,'a')

os.path.devnull is the right "bit bucket" for the platform the code is running on, so this makes your plugin compatible with Linux and OSX.

Print this item

  Cropping images - pasting to new layer - layer boundary size
Posted by: peterpil19 - 03-13-2017, 05:48 AM - Forum: General questions - Replies (5)


First post on this forum.

I enjoy using GIMP.

I have a question about cropping and pasting as new layer.

When cropping a select part of an image using the fuzzy select tool and pasting it into a new layer, the layer boundary exceeds the cropped image size  - there is typically extra vertical space around the top and bottom of the cropped image.

This makes resizing particularly difficult because I cannot compare the actual size of the cropped image to that of other layers pasted into the image because of the extra space.

I can confirm that nothing else has been selected below the cropped image.

I use GIMP to crop photos of coins.
So I crop and paste side A of the coin.
I then crop and paste side B as a new layer. However GIMP adds extra space  around the image which makes resizing side B really hard. It would otherwise be as simple as resizing the layer/image of side B to match side A.

Any help would be appreciated as have not been able to work out why this is happening.


Print this item

  Hello, found you
Posted by: carl7 - 03-12-2017, 09:03 PM - Forum: General questions - Replies (5)

I used to be a  member (knotty) of the 'OLD' forum that went under. Wondered what happened! anyway a question. I'm inbetween Internet connections. So wondering if I can download the latest GIMP at a public computer (library) onto a flashdrive and then install it to my home computer?

Thanks! Carl

Print this item