Switch to full style
Post all Gimp scripts and script writing questions here
Post a reply

Crayon-Text version 1 (SCM)

Sun Aug 26, 2012 12:10 pm

Font Face is "URW Gothic L Semi-Bold"

Image

Image

Seems to need some distortion perhaps? It looks too perfect for hand drawn crayon.

Any ideas? :)

Re: I am testing a new crayon effect script

Sun Aug 26, 2012 12:43 pm

Try it on a hand script font of some kind Rod. It might be easier to see what needs doing if it looks like scrawl.

Re: I am testing a new crayon effect script

Sun Aug 26, 2012 1:34 pm

I believe i have it finished.
Here is text at 1000x400 pixels

Image

Here is text at 700x250

Image

Script has 2 values
color - your crayon color
Messiness - values range from 1-5

Will be located at Script-Fu>Text Effects>Crayon Text

Script is attached
crayon-text_RD-v1.0.scm
(3.63 KiB) Downloaded 322 times


Please let me know what could be fixed or changed.
Thanks!

Enjoy!

Re: I am testing a new crayon effect script

Sun Aug 26, 2012 1:46 pm

Another font face example "URW Palladio L Bold Italic"

Image

I think i captured the effect pretty well. :)

Re: Crayon-Text version 1 (SCM)

Sun Aug 26, 2012 2:30 pm

One for Molly. :)

Image

Re: Crayon-Text version 1 (SCM)

Sun Aug 26, 2012 3:04 pm

How about an alpha to logo addition? It would useful for creating that little kid drawn picture effect :D

Re: Crayon-Text version 1 (SCM)

Sun Aug 26, 2012 3:18 pm

That is really good Rod.

Re: Crayon-Text version 1 (SCM)

Sun Aug 26, 2012 6:08 pm

I'm going to have to really study that Text tool. I wanted to put the little guy on a separate layer. I put a transparent layer on top of the first text, it wouldn't let me add a separate text layer. It kept bring up the text editor.

Made a new image to make the little guy. :\

Fun script, Rod. :jumpclap

Image

Although I didn't need to, I used a crayon font from dafont.
http://www.dafont.com/dk-crayon-crumble.font

Re: Crayon-Text version 1 (SCM)

Sun Aug 26, 2012 6:33 pm

ZWard117 wrote:How about an alpha to logo addition? It would useful for creating that little kid drawn picture effect :D


You can already with this script.
Just draw out your picture (on separate layers if you want dif colors) like a brown tree and green shrubbery.
Maybe a blue sky?The script just needs an alpha area on the layer.So if you paint out a black cloud and run the script and select white, it will color the cloud white but it doesn't look that great on a white bg. (barely visible)
If you paint out a tree trunk on a transparent layer it will paint the tree trunk the color you have chosen...and so on.
It was made primarily for text as it was needed in the past and i couldn't find one free commercial use type font face out there.

If you use black it will pick itself and delete it's own color so black doesn't work at the moment. :lol
I am working on that part of the script now.White works but it is barely visible.

The script breaks the colors into very tiny pieces of color with a lot of alpha area.So it looks best on a white bg.
I will keep working on it and try to get something better to work with.
Maybe a color book script. :)

Thanks for the kind comments everyone. :tyspin

Re: Crayon-Text version 1 (SCM)

Sun Aug 26, 2012 7:03 pm

rods crayon text.png
rods crayon text.png (61.99 KiB) Viewed 5270 times


i really liked playing with the crayon effect, it will make some really nice stuff.

Re: Crayon-Text version 1 (SCM)

Sun Aug 26, 2012 7:53 pm

Imagethis is what i get when i try it :/

Re: Crayon-Text version 1 (SCM)

Sun Aug 26, 2012 8:12 pm

Pirate, Rod's script is apparently designed to only work with GIMP version 2.8 or later.

Re: Crayon-Text version 1 (SCM)

Sun Aug 26, 2012 8:13 pm

saul,
ok thank you
i'm still with 2.6
Appreciate the heads up

Re: Crayon-Text version 1 (SCM)

Sun Aug 26, 2012 8:41 pm

great script...and everyone's test look really good!

Re: Crayon-Text version 1 (SCM)

Sun Aug 26, 2012 9:39 pm

Sorry about that Pirate i do not have gimp-2.6 installed right at this time.
For now you should be able to change the two lines that read -
Code:
(gimp-image-select-item image 0 layer)


to -
Code:
(gimp-selection-layer-alpha image 0 layer)


I think that's correct.
Then it should run ok after that. :)

Re: Crayon-Text version 1 (SCM)

Sun Aug 26, 2012 10:37 pm

hi Rod
Thank you for replying.
When i open the codes with notepad,
(gimp-image-select-item image 0 layer) is in there 4 times,not twice.
I tried to change all 4 and when i saved it again,the icon was not showing an scm file anymore,it just showed Gimp logo .I know ,as usual,that I am doing something wrong,but I don't know what :)

Re: Crayon-Text version 1 (SCM)

Sun Aug 26, 2012 10:55 pm

Pirate can you try this one for me?

Make sure you remove the other one first. :)

crayon-text_gimp-2.6_RD-v1.0.scm

Re: Crayon-Text version 1 (SCM)

Sun Aug 26, 2012 11:48 pm

Rod,
I get this now :)



Image

Re: Crayon-Text version 1 (SCM)

Mon Aug 27, 2012 10:23 am

I tested it on 2.6.11.

Image

Re: Crayon-Text version 1 (SCM)

Mon Aug 27, 2012 5:54 pm

At least I got a block of crayon even though I lost the text. You're getting there Rod. :hehe

Image
Post a reply