Search: Charles Belov

Results 1 - 10 of 11

Search results

2-Dimensional Gradient v. 1.2

2-Dimensional Gradient (2DG) produces a new layer containing a gradient that changes in two dimensions. People using non-English-language GIMP installations are encouraged to upgrade to this version. 9 sample gradients follow (collected into a singl ...

Plugin - Charles Belov - Jun 25 2009 - 07:45 - 3 comments - 3 attachments

Gradient-to-gradient Gradient

Version 1.0.2 This script-fu creates a completely new image having an RGB and/or HSV gradient vertically between any two GIMP gradient patterns. Note that this script-fu has a repeating loop, so the wider you make this image, the longer the scri ...

Script - Charles Belov - Apr 26 2009 - 14:33 - 8 comments - 1 attachment

Intermittent color set bug WAS Error handler example code?

Is there any sample code around showing how to use pdb-set-error-handler and pdb-get-error-handler to detect and do something alternate to just failing with an error dialog? All I can Google is a suggestion from Sven to use these to intercept errors--a ...

Forum topic - Charles Belov - May 16 2009 - 20:10 - 5 comments - 0 attachments

Detecting whether selection is rectangular?

Are there any GIMP functions to detect whether a selection is purely rectangular (as opposed to round, rounded, feathered, non-contiguous, etc.)? I mean something relatively simple, not involving iterating through every pixel in the selection bounds ...

Forum topic - Charles Belov - Apr 28 2009 - 06:49 - 4 comments - 0 attachments

No (exit) in TinyScheme?

In a Script-Fu, attempting to use the Scheme command (exit) prior to the (let ) statement gets an error that "exit" is an unbound variable. Is there an equivalent to (exit) in TinyScheme, or do I need to set a flag as to whether to continue processing ( ...

Forum topic - Charles Belov - Apr 16 2009 - 06:47 - 6 comments - 0 attachments

Four-corner gradient

Version 2.4 This Script-Fu creates a completely new image having an RGB and/or HSV gradient in two directions - both horizontally and vertically - based on the colors you specify for the four corners. The layer name includes the parameters to suppor ...

Plugin - Charles Belov - Apr 26 2009 - 14:34 - 1 comment - 1 attachment

Script-fu console not obeying me?

or am I telling it the wrong thing to do? > (gimp-image-new 256 256 RGB) (2) ---I think I've created image 2. > (gimp-layer-new 3 256 256 RGB-IMAGE "foobar" 100 NORMAL-MODE) Error: Procedure execution of gimp-layer-new failed on inva ...

Forum topic - Charles Belov - May 16 2009 - 07:41 - 2 comments - 0 attachments

Case and string?

I'm having trouble figuring out how to evaluate a string using a TinyScheme (case ) construct. I am consistently getting wrong results. In the 3 attached test cases (no pun intended), I try different tacks to get the case to match arbitrary strings. ...

Forum topic - Charles Belov - Apr 22 2009 - 05:42 - 4 comments - 5 attachments

Diagonal selection in Script-Fu using gimp-free-select?

Is it possible to create a one-pixel diagonal selection using gimp-free-select? That is, for a 100 x 100 pixel image, the following pixels would be selected: 0,0 1,1 2,2 3,3 ... 98,98 99,99 I've attached a simple test case in whi ...

Forum topic - Charles Belov - Apr 12 2009 - 06:55 - 4 comments - 4 attachments

Can a script-fu execute another script-fu interactively? (revised subject line)

I'm trying to get one script-fu to return a value (presumably a list) to another script-fu. I can't seem to get the parent script-fu to get a return value from the two children scripts-fu, nor can I get the child scripts-fu to display a dialog box to ge ...

Forum topic - Charles Belov - May 3 2009 - 17:04 - 0 comments - 3 attachments