Gimp-Forum.net

Full Version: [Solved] Variables & math in entry widgets?
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Hello there,

I use calculations when, for example, I'm feathering a selection (e.g., 1800/3). And that works great.

But I'm wondering is there a variable that gives me the height or width of the image so that I don't have to enter that it's 1800, 5100, etc.  I'd like to be able to put in the feather selection input widget something like - HEIGHT/3 or WIDTH/3 or MAX_DIMENSION/3.  Is this possible?

Are there variables that you can use in the maths in entry widgets?

Many thanks,
Jules
I am sure one of the clever guys will be along to give a definitive answer, however logic would say that the entry dialog is looking for a value to feed into just such a variable as you want to use. So you need a numeric value.

Have you tried copy / paste using the measure tool? You can copy/paste (ctrl-c/ctrl-v) from one dialog to the other.

[attachment=230]

of course you can also copy/paste from tool options as well for more regular shape selections.
There are no variables as far as I know, so Rich's answers is a good as it gets.
Excellent idea - many thanks for the quick responses - much appreciated.

Cheers,
Jules