Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
plug-in-curve-bend crash
#1
Hello,

Does anyone know why it crashes suddenly?

I want to use it in my script-fu


Attached Files Thumbnail(s)
   
Reply
#2
(12-19-2024, 01:51 PM)rita Wrote: Hello,

Does anyone know why it crashes suddenly?

I want to use it in my script-fu

Probably a bad parameter. Not too surprising given the expected inputs.


Since you are on a Unix system, starting Gimp from a terminal will display error messages in the terminal and you may have more info.
Reply
#3
(12-19-2024, 05:41 PM)Ofnuts Wrote:
(12-19-2024, 01:51 PM)rita Wrote: Hello,

Does anyone know why it crashes suddenly?

I want to use it in my script-fu

Probably a bad parameter. Not too surprising given the expected inputs.


Since you are on a Unix system, starting Gimp from a terminal will display error messages in the terminal and you may have more info.

/usr/lib/gimp/2.0/plug-ins/curve-bend/curve-bend: fatal error: Segmentation fault
Reply
#4
(Yesterday, 05:34 AM)rita Wrote:
(12-19-2024, 05:41 PM)Ofnuts Wrote:
(12-19-2024, 01:51 PM)rita Wrote: Hello,

Does anyone know why it crashes suddenly?

I want to use it in my script-fu

Probably a bad parameter. Not too surprising given the expected inputs.


Since you are on a Unix system, starting Gimp from a terminal will display error messages in the terminal and you may have more info.

/usr/lib/gimp/2.0/plug-ins/curve-bend/curve-bend: fatal error: Segmentation fault

What does your call looks like?
Reply
#5
(Yesterday, 08:47 AM)Ofnuts Wrote:
(Yesterday, 05:34 AM)rita Wrote:
(12-19-2024, 05:41 PM)Ofnuts Wrote: Probably a bad parameter. Not too surprising given the expected inputs.


Since you are on a Unix system, starting Gimp from a terminal will display error messages in the terminal and you may have more info.

/usr/lib/gimp/2.0/plug-ins/curve-bend/curve-bend: fatal error: Segmentation fault

What does your call looks like?
I did the curve I want and then save the points
(let* ((upperx (list->vector (list 
  +0.007843  ; Point 1 UPPERX
  -1.000000  ; Point 2 UPPERX
  -1.000000  ; Point 3 UPPERX
  -1.000000  ; Point 4 UPPERX
  +0.254902  ; Point 5 UPPERX
  -1.000000  ; Point 6 UPPERX
  -1.000000  ; Point 7 UPPERX
  -1.000000  ; Point 8 UPPERX
  +0.494118  ; Point 9 UPPERX
  -1.000000  ; Point 10 UPPERX
  -1.000000  ; Point 11 UPPERX
  -1.000000  ; Point 12 UPPERX
  -1.000000  ; Point 13 UPPERX
  +0.803922  ; Point 14 UPPERX
  -1.000000  ; Point 15 UPPERX
  -1.000000  ; Point 16 UPPERX
  +0.996078
                                      )))
         
(uppery (list->vector (list 
 +0.498039  ; Point 1 UPPERY
  -1.000000  ; Point 2 UPPERY
  -1.000000  ; Point 3 UPPERY
  -1.000000  ; Point 4 UPPERY
  +0.482353  ; Point 5 UPPERY
  -1.000000  ; Point 6 UPPERY
  -1.000000  ; Point 7 UPPERY
  -1.000000  ; Point 8 UPPERY
  +0.478431  ; Point 9 UPPERY
  -1.000000  ; Point 10 UPPERY
  -1.000000  ; Point 11 UPPERY
  -1.000000  ; Point 12 UPPERY
  -1.000000  ; Point 13 UPPERY
  +0.482353  ; Point 14 UPPERY
  -1.000000  ; Point 15 UPPERY
  -1.000000  ; Point 16 UPPERY
  +0.494118))) ; Point 17 UPPERY
  
       (lowerx (list->vector (list 
  +0.007843  ; Point 1 LOWERX
  -1.000000  ; Point 2 LOWERX
  -1.000000  ; Point 3 LOWERX
  -1.000000  ; Point 4 LOWERX
  +0.250980  ; Point 5 LOWERX
  -1.000000  ; Point 6 LOWERX
  -1.000000  ; Point 7 LOWERX
  -1.000000  ; Point 8 LOWERX
  +0.501961  ; Point 9 LOWERX
  -1.000000  ; Point 10 LOWERX
  -1.000000  ; Point 11 LOWERX
  -1.000000  ; Point 12 LOWERX
  -1.000000  ; Point 13 LOWERX
  +0.831373  ; Point 14 LOWERX
  -1.000000  ; Point 15 LOWERX
  -1.000000  ; Point 16 LOWERX
  +1.000000))) ; Point 17 LOWERX
  
       (lowery (list->vector (list 
  +0.490196  ; Point 1 LOWERY
  -1.000000  ; Point 2 LOWERY
  -1.000000  ; Point 3 LOWERY
  -1.000000  ; Point 4 LOWERY
  +0.447059  ; Point 5 LOWERY
  -1.000000  ; Point 6 LOWERY
  -1.000000  ; Point 7 LOWERY
  -1.000000  ; Point 8 LOWERY
  +0.435294  ; Point 9 LOWERY
  -1.000000  ; Point 10 LOWERY
  -1.000000  ; Point 11 LOWERY
  -1.000000  ; Point 12 LOWERY
  -1.000000  ; Point 13 LOWERY
  +0.462745  ; Point 14 LOWERY
  -1.000000  ; Point 15 LOWERY
  -1.000000  ; Point 16 LOWERY
  +0.500000))) ; Point 17 LOWERY
  
       (UPPER_Y (list->vector (list 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0)))
  
       (LOWER_Y(list->vector (list 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0)))
                                 
                         ) 
                        
 (plug-in-curve-bend RUN-NONINTERACTIVE new-img new-layer 0.0 TRUE TRUE FALSE 0 17 upperx 17 uppery 17 lowerx 17 lowery 256 UPPER_Y 256 LOWER_Y)


something like that and the scale and merge it with the other layers
Reply
#6
I have noticed some change in curve bend with recent versions of Gimp 2.10.x but for use in a script-fu, I have to go way back to Gimp 2.10.8 for the one-and-only script that uses curve-bend that I know of to work, RobA's curve-bend-between-paths Wink
20 second demo https://i.imgur.com/inbjjUa.mp4
Reply
#7
(Yesterday, 09:48 AM)rich2005 Wrote: I have noticed some change in curve bend with recent versions of Gimp 2.10.x  but for use in a script-fu, I have to go way back to Gimp 2.10.8 for the one-and-only script that uses curve-bend that I know of to work, RobA's curve-bend-between-paths Wink  
20 second demo  https://i.imgur.com/inbjjUa.mp4

So,Do I need to go back to an earlier version?
Reply
#8
(Yesterday, 09:53 AM)rita Wrote:
(Yesterday, 09:48 AM)rich2005 Wrote: I have noticed some change in curve bend with recent versions of Gimp 2.10.x  but for use in a script-fu, I have to go way back to Gimp 2.10.8 for the one-and-only script that uses curve-bend that I know of to work, RobA's curve-bend-between-paths Wink  
20 second demo  https://i.imgur.com/inbjjUa.mp4

So,Do I need to go back to an earlier version?

No, that was just an example of something script-fu working with the curve-bend plugin.
You need to find out why your script-fu is not working. (but IMHO script-fu is awful scripting ) Hopefully some script-fu expert will come along.

edit: Not much info on using curve-bend There is this one http://gimpchat.com/viewtopic.php?f=9&t=14647 (but that is 8 years old as well) maybe ask there and see if there is anything more recent.
edit again: As an alternative (not Gimp) that works in linux using Imagemagick One of Freds bash scripts http://www.fmwconcepts.com/imagemagick/c.../index.php
Reply


Forum Jump: