It is currently Thu Apr 18, 2024 6:01 pm


All times are UTC - 5 hours [ DST ]



Post new topic Reply to topic  [ 43 posts ]  Go to page 1, 2, 3  Next
Author Message
 Post subject: Green Apple Script
PostPosted: Fri May 30, 2014 8:33 pm  (#1) 
Offline
Script Coder
User avatar

Joined: May 07, 2014
Posts: 3975
Location: Canada
Following the Green Apple tutorial found here
This script allows you to change any colors mentioned in tutorial (other than black and white for light and shadows).
The script will be under Script-Fu -> Create New -> Green Apple

Just copy it into your gimp's scripts folder.
Attachment:
Green_apple.scm [28.53 KiB]
Downloaded 218 times


The settings looks like below, defaulted to conbagui's colors
Image

The default apple
Image

With some colors changed
Image

_________________
TinT


Last edited by trandoductin on Sat May 31, 2014 1:19 am, edited 2 times in total.

Share on Facebook Share on Twitter Share on Orkut Share on Digg Share on MySpace Share on Delicious Share on Technorati
Top
 Post subject: Re: Green Apple Script
PostPosted: Fri May 30, 2014 9:10 pm  (#2) 
Offline
GimpChat Member
User avatar

Joined: Sep 24, 2010
Posts: 12516
Looks cool trandoductin. :)

_________________
Lyle

Psalm 109:8

Image


Top
 Post subject: Re: Green Apple Script
PostPosted: Fri May 30, 2014 9:21 pm  (#3) 
Offline
Script Coder
User avatar

Joined: May 07, 2014
Posts: 3975
Location: Canada
thanks lylejk!

There is only one potential problem with this script. It calls "Bevel and Emboss" which expects a name of a pattern, even though "use texture" is set to FALSE, it still expects the pattern name to be valid. I hard coded it to use a GIMP's default pattern "Pine". I don't know if "Pine" is translated into other languages. If it is translated, it's gonna cause a problem for Carlos in Portuguese.

Does anyone know of pattern names are translated into other languages besides "Clipboard"?

If "Pine" is translated into something else, I currently don't know how to solve this potential problem.

_________________
TinT


Top
 Post subject: Re: Green Apple Script
PostPosted: Fri May 30, 2014 11:40 pm  (#4) 
Offline
GimpChat Member
User avatar

Joined: Jan 20, 2013
Posts: 14816
Location: roma, italy
Excellent Tin!
Two very little things:
1-it couldn't be launched if there is no image open (even if not used).
I suggest you remove the entry "RGB*, GRAY*" after the date and put instead """"
2-it could be nice (if possible) to let the user define the image size.
If in the script you use other hard-coded sizes strictly related to the image size, you may define them as a percentage of the user defined width/height or -a much simpler way- you may let the user entering only one size (let's say the width) then only at the end of the script scale the image you created using the input width

Anyhow congrats!
We have a new good script-writer implementing tutorials for ... lazy users (like I am).
May I ask you -if you like, of course- to implement also Issabella's Silhouette Text tutorial?
I like that outcome....

_________________
"Where am I ?"


Top
 Post subject: Re: Green Apple Script
PostPosted: Fri May 30, 2014 11:56 pm  (#5) 
Offline
GimpChat Member
User avatar

Joined: Jul 06, 2013
Posts: 2605
Location: California
I tried running the script and I got nothing. Do you have to add an image in order to run the script? It doesn't produce the image of the apple after the script has been run.


Last edited by mackenzieh on Sat May 31, 2014 12:05 am, edited 1 time in total.

Top
 Post subject: Re: Green Apple Script
PostPosted: Fri May 30, 2014 11:58 pm  (#6) 
Offline
Script Coder
User avatar

Joined: May 07, 2014
Posts: 3975
Location: Canada
dinasset,
thanks for suggestions.
1) i will do thanks for the hint.
2) thanks for that great hint by scaling image size at the end.

I'll take a look at Issabella's Silhouette Text tutorial.

_________________
TinT


Top
 Post subject: Re: Green Apple Script
PostPosted: Sat May 31, 2014 12:02 am  (#7) 
Offline
Script Coder
User avatar

Joined: May 07, 2014
Posts: 3975
Location: Canada
mackenzieh,
what do you mean by nothing? like nothing NOTHING? Did you see the steps performed it takes a while, and it creates a new image. Check your task bar for other Gimp windows.

_________________
TinT


Top
 Post subject: Re: Green Apple Script
PostPosted: Sat May 31, 2014 12:03 am  (#8) 
Offline
GimpChat Member
User avatar

Joined: Jan 20, 2013
Posts: 14816
Location: roma, italy
@mackenzieh
sorry if I'm make a stupid annotation:
maybe you clicked on a greyed-out entry? as I wrote to Tin, the script does not run if there is no image open (so far)

_________________
"Where am I ?"


Top
 Post subject: Re: Green Apple Script
PostPosted: Sat May 31, 2014 12:07 am  (#9) 
Offline
GimpChat Member
User avatar

Joined: Jul 06, 2013
Posts: 2605
Location: California
dinasset wrote:
@mackenzieh
sorry if I'm make a stupid annotation:
maybe you clicked on a greyed-out entry? as I wrote to Tin, the script does not run if there is no image open (so far)

No, the area was not greyed out. I had a background open and ready and the script still didn't produce an apple.


Top
 Post subject: Re: Green Apple Script
PostPosted: Sat May 31, 2014 12:12 am  (#10) 
Offline
GimpChat Member
User avatar

Joined: Jul 06, 2013
Posts: 2605
Location: California
trandoductin wrote:
mackenzieh,
what do you mean by nothing? like nothing NOTHING? Did you see the steps performed it takes a while, and it creates a new image. Check your task bar for other Gimp windows.


Yes I saw the steps performed. I still didn't get an apple. I even tried adding a layer on top of the background and I still didn't get an apple.


Last edited by mackenzieh on Sat May 31, 2014 12:17 am, edited 1 time in total.

Top
 Post subject: Re: Green Apple Script
PostPosted: Sat May 31, 2014 12:16 am  (#11) 
Offline
Script Coder
User avatar

Joined: May 07, 2014
Posts: 3975
Location: Canada
added 2 changes recommended by dinasset (thanks again) I like it better now.

_________________
TinT


Top
 Post subject: Re: Green Apple Script
PostPosted: Sat May 31, 2014 12:20 am  (#12) 
Offline
Script Coder
User avatar

Joined: May 07, 2014
Posts: 3975
Location: Canada
mackenzieh,
If the scripts runs and performs the steps and no errors are returned you should have a new image window with the apple, maybe you're expecting an apple over your background image.
I don't know what else it could be.

_________________
TinT


Top
 Post subject: Re: Green Apple Script
PostPosted: Sat May 31, 2014 12:21 am  (#13) 
Offline
GimpChat Member
User avatar

Joined: Jan 20, 2013
Posts: 14816
Location: roma, italy
Tin,
thanks a lot for the new version!

_________________
"Where am I ?"


Top
 Post subject: Re: Green Apple Script
PostPosted: Sat May 31, 2014 12:26 am  (#14) 
Offline
GimpChat Member
User avatar

Joined: Jul 06, 2013
Posts: 2605
Location: California
trandoductin wrote:
mackenzieh,
If the scripts runs and performs the steps and no errors are returned you should have a new image window with the apple, maybe you're expecting an apple over your background image.
I don't know what else it could be.


Something's wrong because it's not producing an apple. I've ran the script with out the backgorund image and still don't see an apple.


Top
 Post subject: Re: Green Apple Script
PostPosted: Sat May 31, 2014 12:42 am  (#15) 
Offline
Script Coder
User avatar

Joined: Feb 18, 2011
Posts: 4827
Location: Bendigo Vic. Australia
Trandoductin script ran smoothly for me and the use of any default pattern names is fine, I changed location to Script-fu/Create New
Image

_________________
Image
No matter how much you push the envelope, it'll still be stationery.


Top
 Post subject: Re: Green Apple Script
PostPosted: Sat May 31, 2014 12:44 am  (#16) 
Offline
GimpChat Member
User avatar

Joined: Jul 06, 2013
Posts: 2605
Location: California
Well, it didn't for me. I still don't see an apple. I must be missing a plug in on order to run the script, but I have no idea what plugin that could be.


Top
 Post subject: Re: Green Apple Script
PostPosted: Sat May 31, 2014 1:14 am  (#17) 
Offline
Script Coder
User avatar

Joined: May 07, 2014
Posts: 3975
Location: Canada
mackenzieh, i don't know what else it could be. If you're missing a plug-in it the script should give up and return errors as functions/procedures would fail.

_________________
TinT


Top
 Post subject: Re: Green Apple Script
PostPosted: Sat May 31, 2014 1:18 am  (#18) 
Offline
GimpChat Member
User avatar

Joined: Jul 06, 2013
Posts: 2605
Location: California
I got rid of the script since I couldn't get it to work.


Top
 Post subject: Re: Green Apple Script
PostPosted: Sat May 31, 2014 1:19 am  (#19) 
Offline
Script Coder
User avatar

Joined: Feb 18, 2011
Posts: 4827
Location: Bendigo Vic. Australia
have you tried opening your error console then run script with defaults and checking for errors as I gather you have layerfx.py installed (not the 2.8 version)

_________________
Image
No matter how much you push the envelope, it'll still be stationery.


Top
 Post subject: Re: Green Apple Script
PostPosted: Sat May 31, 2014 1:21 am  (#20) 
Offline
Script Coder
User avatar

Joined: May 07, 2014
Posts: 3975
Location: Canada
Graechan, great idea
I changed it to go under Script-Fu -> Create New -> Green Apple
makes more sense.

_________________
TinT


Top
Post new topic Reply to topic  [ 43 posts ]  Go to page 1, 2, 3  Next

All times are UTC - 5 hours [ DST ]


   Similar Topics   Replies 
No new posts RIP Peter Green

4

No new posts Old Disney technology re-discovered; superior to green screen.

3

No new posts Attachment(s) Trying to open as layers 3 til files Red, Green, Blue, Filter images

2

No new posts Attachment(s) How to "paint out" the green?

10

No new posts Attachment(s) Looking for Script Coder to make Script of my VHS effect

2



* Login  



Powered by phpBB3 © phpBB Group