It is currently Sun Jul 21, 2024 8:33 am


All times are UTC - 5 hours [ DST ]



Post new topic Reply to topic  [ 12 posts ] 
Author Message
 Post subject: a flyout text request
PostPosted: Mon Nov 07, 2011 11:48 am  (#1) 
Offline
GimpChat Member
User avatar

Joined: May 16, 2010
Posts: 14715
Location: USA
I was able to accomplish this by using Robs keep resize script.All i did was add more steps
Here is how i did it.
download Rob A's script. viewtopic.php?f=9&t=1450&hilit=stair+and+resize#p17702
open it in Notepad ++ look for line #130
SF-ADJUSTMENT "Numbers of steps" '(10 2 100 1 1 0 0)

Notice i changed the 20 to 100 - that fixes the script.
Now start Gimp and create a new doc, and a new text layer. Size for mine was 610x377
Right click the layer and do layer to image size
Go to Filters>Step Resize Keeping Layers
(divide by 2 your image width 3 times)

Put in these values
Width
(your sum for your division) - mine was 76.25 (round this out to 76)
Number of steps - 100 (you can change this to however many you want in the script like i showed you)
The more steps the smoother the result.
100 seems to work fine though.



Can a script be written to use Robs script with those values?
Say the user creates a new doc
The user opens the flyout script dialog
Their are a few inputs
Font face
Font start size (cannot be higher or taller than original new document.)
Face color (red default) - user input choice.
Flyout text color (black default) - user input choice
Layers (100 default ) - - user input choice
bg color (white default) - user input choice
Resize width? (default TRUE) - user input choice
Resize height? (default FALSE) - user input choice
Resize width and height? (default FALSE) - user input choice
Select required end size - ( default 75 ) - user input choice

You run the script
The script writes the text
The script makes the text layer the images size (layer to image size)
The script creates a bg your color choice
The script using the step resize algorithm creates your choice number of layers using width or height choice.
The script calls layer>Stack> reverse layer stack
The script places the white bg layer at the bottom (as the layer will now be on top)
Results should be this
Image

What would be really cool is if you could just give the script your image
width or height or width and height
then the script would divide that size 3 times by 2, and use that for the last smallest text size..

_________________
Image
Edmund Burke nailed it when he said, "The only thing necessary for the triumph of evil is for good men to do nothing."


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: a flyout text request
PostPosted: Mon Nov 07, 2011 11:56 am  (#2) 
Offline
GimpChat Member
User avatar

Joined: May 16, 2010
Posts: 14715
Location: USA
Also if it's not asking too much, could it be possible to align the bg text layers with user input.
Say top-right/ top - left / bottom-left / bottom-right / or like i showed (face out).

And add the option to fill the text with either
Color
Gradient
Pattern

Thanks!

This effect makes for some cool flyout animations by the way!
Image

_________________
Image
Edmund Burke nailed it when he said, "The only thing necessary for the triumph of evil is for good men to do nothing."


Top
 Post subject: Re: a flyout text request
PostPosted: Mon Nov 07, 2011 12:13 pm  (#3) 
Offline
GimpChat Member
User avatar

Joined: May 16, 2010
Posts: 14715
Location: USA
and...

Image

_________________
Image
Edmund Burke nailed it when he said, "The only thing necessary for the triumph of evil is for good men to do nothing."


Top
 Post subject: Re: a flyout text request
PostPosted: Mon Nov 07, 2011 3:34 pm  (#4) 
Offline
GimpChat Member
User avatar

Joined: May 16, 2010
Posts: 14715
Location: USA
Another cool look.
If the requested script has the fill with pattern option. :)
Image

_________________
Image
Edmund Burke nailed it when he said, "The only thing necessary for the triumph of evil is for good men to do nothing."


Top
 Post subject: Re: a flyout text request
PostPosted: Mon Nov 07, 2011 4:09 pm  (#5) 
Offline
Script Coder
User avatar

Joined: Jun 22, 2010
Posts: 1171
Location: Here and there
I can't help thinking you'd be better using ray-tracing software like POV-Ray:
Image


Top
 Post subject: Re: a flyout text request
PostPosted: Mon Nov 07, 2011 5:06 pm  (#6) 
Offline
GimpChat Member
User avatar

Joined: May 16, 2010
Posts: 14715
Location: USA
Thanks Paynekj.
I downloaded it and am trying it out. :)

Still would be cool to have the script though for Gimp.

_________________
Image
Edmund Burke nailed it when he said, "The only thing necessary for the triumph of evil is for good men to do nothing."


Top
 Post subject: Re: a flyout text request
PostPosted: Mon Nov 07, 2011 5:07 pm  (#7) 
Offline
Global Moderator
User avatar

Joined: Oct 06, 2010
Posts: 4050
POV-Ray, although nifty to use for those with 3D or Blender experience, isn't ideal for GIMP novices/beginners. Although, I would agree with you that it would be the better tool for that effect and others. Also, we'd be discussing the use of POV-Ray on a different forum.

You know, it's funny how easy you can get these effects in LibreOffice Writer using 3D and we can't even get something similar in GIMP:

Image

_________________
"In order to attain the impossible, one must attempt the absurd."
~ Miguel de Cervantes


Top
 Post subject: Re: a flyout text request
PostPosted: Mon Nov 07, 2011 6:43 pm  (#8) 
Offline
GimpChat Member
User avatar

Joined: May 16, 2010
Posts: 14715
Location: USA
I really do prefer a script. ...... i'll do a rain dance.

_________________
Image
Edmund Burke nailed it when he said, "The only thing necessary for the triumph of evil is for good men to do nothing."


Top
 Post subject: Re: a flyout text request
PostPosted: Thu Jun 21, 2012 7:52 am  (#9) 
Offline
GimpChat Member
User avatar

Joined: May 16, 2010
Posts: 14715
Location: USA
Any of you fabulous script writers feel like tackling this one yet? :)

_________________
Image
Edmund Burke nailed it when he said, "The only thing necessary for the triumph of evil is for good men to do nothing."


Top
 Post subject: Re: a flyout text request
PostPosted: Thu Jun 21, 2012 9:54 am  (#10) 
Offline
GimpChat Member
User avatar

Joined: Aug 24, 2011
Posts: 1785
Location: Dallas, TX
That's a pretty sweet idea Rod. I agree with mahvin, a script like you suggest would be better for GIMP users.

_________________
Image


Top
 Post subject: Re: a flyout text request
PostPosted: Thu Sep 06, 2012 12:27 pm  (#11) 
Offline
GimpChat Member
User avatar

Joined: May 16, 2010
Posts: 14715
Location: USA
Maybe now that i am delving into script writing i will have a go.
I am just now beginning to understand how to add new layers and name channels.

The step resize script does work excellent for this though.Could have possibilities.Maybe it can be adapted. :)

I could have swore Saulgoode wrote a 3Dify script that had perspective? I could be wrong though.

_________________
Image
Edmund Burke nailed it when he said, "The only thing necessary for the triumph of evil is for good men to do nothing."


Top
 Post subject: Re: a flyout text request
PostPosted: Thu Sep 06, 2012 12:30 pm  (#12) 
Offline
GimpChat Member
User avatar

Joined: Mar 23, 2012
Posts: 7316
Location: Göteborg at last!
I've just been playing with this script then moving the layers around and running the reverse layers script. All I need now is an "arrange layers along path" script and I'll be very very happy indeed.


Top
Post new topic Reply to topic  [ 12 posts ] 

All times are UTC - 5 hours [ DST ]


   Similar Topics   Replies 
No new posts Attachment(s) Script request

3

No new posts My shameful n00b request for help

3

No new posts Attachment(s) pm_create_a_water_drop_text.py (Issabella request) updated

17

No new posts Attachment(s) pm_plexi_text_effect plugin (Issabella request) version_2

13

No new posts Request- Make a scriptfu out of my X Window stroke outline hack

1



* Login  



Powered by phpBB3 © phpBB Group