Re: [Gimp-user] c++ "runtime to terminate it in an unusual way"

2017-08-26 Thread Carol Spears
On Sat, Aug 26, 2017 at 8:47 AM, imWACCo  wrote:

> So, last night I tried to print something from Gimp, I get the  "runtime to
> terminate it in an unusual way". Thank gods it only closed the Print
> dialog.
>
> I try to open Gimp today and get  "runtime to terminate it in an unusual
> way".
> So, I uninstall, reinstall, and... You guessed it,  "runtime to terminate
> it in
> an unusual way"
>
> If it is a c++ error, it is not GIMP.

carol
___
gimp-user-list mailing list
List address:gimp-user-list@gnome.org
List membership: https://mail.gnome.org/mailman/listinfo/gimp-user-list
List archives:   https://mail.gnome.org/archives/gimp-user-list


[Gimp-user] c++ "runtime to terminate it in an unusual way"

2017-08-26 Thread imWACCo
So, last night I tried to print something from Gimp, I get the  "runtime to
terminate it in an unusual way". Thank gods it only closed the Print dialog.

I try to open Gimp today and get  "runtime to terminate it in an unusual way".
So, I uninstall, reinstall, and... You guessed it,  "runtime to terminate it in
an unusual way"

I don't know if M$ did an update, or is Gimp did not uninstall *EVERYTHING*

Any insight on this one?


System: Win10 64, 8gb RAM, all, updates and runtimes, up-to-date as of 26 August
2017

-- 
imWACCo (via www.gimpusers.com/forums)
___
gimp-user-list mailing list
List address:gimp-user-list@gnome.org
List membership: https://mail.gnome.org/mailman/listinfo/gimp-user-list
List archives:   https://mail.gnome.org/archives/gimp-user-list


Re: [Gimp-user] script-fu-register -- SF-IMAGE -- what do the parameters mean?

2017-08-26 Thread Ken Moffat via gimp-user-list
On Sat, Aug 19, 2017 at 09:50:04PM +0200, TimHelck wrote:
> I have a script-fu script that does some processing to an image and then saves
> it with a new name provided by the user. The process is in the "Image" menu. 
> It
> works on whichever image is open and selected. I can open more images and the
> script works on the new ones. However, if I close one of the images opend
> earlier, the script causes this error:
> 

Only just got this mail today - posts via that website are always
delayed, but I thinmk a week is a new record.  Anyway :

> Error: ( : 2) Procedure execution of gimp-image-get-filename failed on invalid
> input arguments: Procedure 'gimp-image-get-filename' has been called with an
> invalid ID for argument 'image'. Most likely a plug-in is trying to work on an
> image that doesn't exist any longer.
> 
> Once this error occurs I have to exit GIMP and start up fresh.
> 
> Is there a way to overcome this?
> 

When you have problems in Script-Fu, go to the Script-Fu Console via
Filters -> Script-Fu -> Console
and from the Console click on Browse - that will open up the
Procedure Browser where you can search for the procedure.

In this case, I think the error message indicates that the image has
not been passed to the procedure.

> I have tried playing with the values on the SF-IMAGE line. Changing them seems
> to make no difference to the behavior. What are these parameters supposed to 
> do?
> 
> here is my script-fu-register call:
> 
> (script-fu-register 
>   "script-fu-process-sketch"
>   "Process Sketch"
>   "Save all opened images"
>   "Tim Helck"
>   "Tim Helck"
>   "08/13/2017"
>   ""
>   SF-IMAGE  "Image"-1  
 ^^

I've only ever written one plugin, for mine the corresponding line
is
  SF-IMAGE   "Current image" 0

So I would try changing your value from -1 to 0.

You can then refresh the filters via the Script-Fu menu.
 
>   SF-STRING "New Name" ""   ;a string variable
> )
> 
> (script-fu-menu-register "script-fu-process-sketch" "/Image/Process
> Sketch")
> 
> Also -- I am wondering, what difference, if any, does it make if I put this
> script in a different menu?

The only likely change is that you'll have to use the different menu
to access the script.
> 
> Other Info:
> Macbook 10.9.5 (Maverick)
> GIMP 2.8.14
> 
ĸen
-- 
Truth, in front of her huge walk-in wardrobe, selected black leather
boots with stiletto heels for such a barefaced truth.
 - Unseen Academicals
___
gimp-user-list mailing list
List address:gimp-user-list@gnome.org
List membership: https://mail.gnome.org/mailman/listinfo/gimp-user-list
List archives:   https://mail.gnome.org/archives/gimp-user-list

Re: [Gimp-user] Fancy PS Templates in GIMP

2017-08-26 Thread Shlomi Fish
On Tue, 22 Aug 2017 11:32:48 +0200
rich2005  wrote:

> >I see these Photoshop templates where you can put it an image and it
> >shows it at an angle on a stack of business cards, or automatically on
> >a billboard or the side of a truck or wrapped around a soda can or a
> >bifold/trifold...
> >
> >How do you use those templates in GIMP?
> >
> >I don't own photoshop (other than essentials), but I assume I can
> >bring in a flat image and Photoshop is doing the work to wrap the
> >image onto whatever that template shape is.  Am I making the wrong
> >assumption?  
> 
> I know PS can use macros (collections of keystrokes/events) maybe these are
> incorporated into the PS template to size and deform your image to the
> required shape. In addition PS uses adjustment/effect layers, often
> incorporated in PS templates.
> 
> Gimp does not use any of those. You might be able to use part of a PS template
> and scale / transform tools manually on your image, to fit in.
> 

Note that GIMP can be scripted and automated using Scheme, Python, and other
languages to achieve a similar effect to PhotoShop's macros. They are not
compatible with one another though.

Regards,

Shlomi Fish

-- 
-
Shlomi Fish   http://www.shlomifish.org/
http://shlomifishswiki.branchable.com/Self-Sufficiency/

The reason the Messiah has not come yet, is because Chuck Norris keeps finding
faults in God’s plan for his coming.
— http://www.shlomifish.org/humour/bits/facts/Chuck-Norris/

Please reply to list if it's a mailing list post - http://shlom.in/reply .
___
gimp-user-list mailing list
List address:gimp-user-list@gnome.org
List membership: https://mail.gnome.org/mailman/listinfo/gimp-user-list
List archives:   https://mail.gnome.org/archives/gimp-user-list