Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
using Photolab - Batch corrections - Curve
#9
Thanks again

The result was identical.
I used Word to make the change to the script, but the situation remains.
Out of conscience I attach the altered script, for which I would like to thank you for your help in verifying it.

I may be saying a big mistake, but the new line that you said to implement, has no sequence, that is, after an "if" there is almost always a decision to be made, which doesn't seem to exist... (that would be a mistake on my part?)

Thank you very much anyway

Sorry forget the script


Sorry... the attachment is not allowed

here is the part I change:

*-*

    if len(icurve) >= 4:
      pdb.gimp_curves_spline( imglayer, HISTOGRAM_VALUE, len(icurve), icurve )
    if image.base_type==0
    if len(icurvered) >= 4:
      pdb.gimp_curves_spline( imglayer, HISTOGRAM_RED, len(icurvered), icurvered )
    if len(icurvegreen) >= 4:
      pdb.gimp_curves_spline( imglayer, HISTOGRAM_GREEN, len(icurvegreen), icurvegreen )
    if len(icurveblue) >= 4:
      pdb.gimp_curves_spline( imglayer, HISTOGRAM_BLUE, len(icurveblue), icurveblue )
    #_("Batch")+"/"+
    newfilepathname = os.path.dirname(filepathname) + os.sep + 'CURVE_' + os.path.basename(filepathname) 
    pdb.gimp_file_save( img, imglayer, newfilepathname , newfilepathname )
    pdb.gimp_image_delete( img )

*-*

Just notice I forget the " : " in the new line.

Changed again and the result is the same.
Reply


Messages In This Thread
RE: using Photolab - Batch corrections - Curve - by arodri - 06-24-2024, 01:13 PM

Forum Jump: