08-03-2023, 03:41 PM
(08-03-2023, 12:37 PM)PixLab Wrote:(08-03-2023, 08:40 AM)rich2005 Wrote: Question, Is there any reason why you need the old plugin ?
I don't really recall, thus not sure at all, but if and only if I trust my memory, in G'MIC "recently" (a year or more or for the version 3) I kind of recall that they shorten the length of those number between parenthesis
Code:
pdb.plug_in_gmic_qt(img, layer, 1, 0, '-fx_curves_interactive [u]7,0,1,7,0,0,'+pointLum+',100,100,-1,0,0,'+pointSat+',100,100,-1,0,0,100,100,-1,0,0,100,100,-1[/u],')
removing like 4 or 5 numbers or more or less between commas (I suppose that +pointSat+ is a concatenated number, as well as +pointLum+ as for me the "+" looks like javascript to concatenate a variable or whatever, but I sure I'm just speculating), but the removal of some parameters (numbers) I feel I read it on pixls.us somewhere, like David Tschumperlé explaining the purpose... but now writing it... > I'm not sure anymore
@Krikor
(08-03-2023, 07:03 AM)Krikor Wrote: At the time I was able to create small python programs and run them successfully
So you are already way better than me! I just tried to "fix" 1 or 2 Pocholo's bugs and add more options on its scripts like 2 years or more ago, I did never ever write a python script by myself and never will.
(08-03-2023, 07:03 AM)Krikor Wrote: It was almost another programming language (pdb, I don't remember anymore...), so I gave up.
EXACTLY, me too -> pdb. gimp_whatever() this is where I gave up too, I mean completely gave up, for me it looks like static/immutable things, thus you need to learn a huge list of... pdb.things, thus no... it's not for me, in all case I did not went further, so I am missing many good things for sure, but I'm not interested anymore
You don't need to remember the PDB contents, it's like a phone directory, you remember a few things you use often, and then search for the other ones when you need them. And the PDB is small compared to other things in the programming field. In programing there are:
- a few things you have to understand
- a few things you have to know
- a lot of things that you have to guess that they exist (due to the two previous items above) and know how to "discover" when needed.