It is currently Tue Nov 24, 2026 9:27 pm


All times are UTC - 5 hours [ DST ]



Post new topic Reply to topic  [ 33 posts ]  Go to page 1, 2  Next
Author Message
 Post subject: Re: Identify gradient maker
PostPosted: Tue Oct 08, 2013 8:19 am  (#11) 
Offline
GimpChat Member
User avatar

Joined: Jul 17, 2012
Posts: 2769
because its all random

i agree, sampling a gradient from an image is kind of useful for the lighting effects/enviromap thing
still i must say, its very hard to get a specific effect that way
everytime i play around with the technique, i dont know what i will get in the end
sure it looks good everytime

but other than that....

lets say you have a specific goal
a project
now you want a gradient for the background
do you really have a look at an image and think: oh the colours are nice, im gonna make a gradient from it ??
can you even look at a picture that way and know what the gradient will look like

i got quite surprising results when i tried the program molly posted

i ve seen a lot of examples in PS, where people made gradients to achieve a very specific effect
like a metallic stroke with highlights and a chrome look
thats very hard to produce in Gimp
but maybe this program is the right tool for the job

my Gimp was cluttered with countless gradients that i never used
imo the solution is not to have as many gradients as possible but to find a way to get where i want as easily as possible


Top
 Post subject: Re: Identify gradient maker
PostPosted: Tue Oct 08, 2013 8:21 am  (#12) 
Offline
GimpChat Member
User avatar

Joined: Apr 07, 2010
Posts: 14182
beautiful

I tried that sample and image by RobA, nothing is happening, I didn't get any kind of dialogue. I deleted his script, went to latest gimp scripts above... and I now get a dialogue when I right click the gradients. That is as far as I can get... I dont get a new image when I do that, it just goes to one of the gradients already in the list. I opened a picture and tried to make a gradient from it and I get a gradient already on the list.
Anyway, Esper, I am not stupid, just confuse easily.

_________________
Image


Top
 Post subject: Re: Identify gradient maker
PostPosted: Tue Oct 08, 2013 8:30 am  (#13) 
Offline
GimpChat Member
User avatar

Joined: Jul 17, 2012
Posts: 2769
bit missing the point there, dear


Top
 Post subject: Re: Identify gradient maker
PostPosted: Tue Oct 08, 2013 9:17 am  (#14) 
Offline
GimpChat Founder
User avatar

Joined: May 22, 2008
Posts: 5248
Location: Gimpville
Esper wrote:
because its all random

but other than that.... lets say you have a specific goal a project

my Gimp was cluttered with countless gradients that i never used

Well, it's not totally random. I was looking for a gradient that used the colors of my pink Azaleas and it was easy to get. A couple of Ctrl-F's and I had the exact result I was looking for.

Even if I were to looking to create a gradient to use as a simple fill, I think sampling along a path of an image section would be very useful option, but hey, that's just me. ;)

I do hear what you're saying about having too many gradients that you might have to sift though. Having an abundance of options can be disadvantageous, I suppose.

_________________
Image


Top
 Post subject: Re: Identify gradient maker
PostPosted: Tue Oct 08, 2013 9:28 am  (#15) 
Offline
GimpChat Founder
User avatar

Joined: May 22, 2008
Posts: 5248
Location: Gimpville
molly wrote:
beautiful

I tried that sample and image by RobA, nothing is happening, I didn't get any kind of dialogue. I deleted his script, went to latest gimp scripts above... and I now get a dialogue when I right click the gradients. That is as far as I can get... I dont get a new image when I do that, it just goes to one of the gradients already in the list. I opened a picture and tried to make a gradient from it and I get a gradient already on the list.

I noticed that when I right click and choose sample along gradient, the dialog appears behind GIMP. I don't know why that happens but I have to move to my task bar and select it to bring the dalog to the front.

So, first I use the path tool to create a path over the image I want to sample, then right click on the gradient dialog and select Sample Gradient Along Path. I bring the dialog to the front, and enter the name of the New Gradient. I increase the Number of samplea to 256, ensure I have the correct image/drawable/path selected and click OK. It then creates a new gradient in the list with the name I specify.

Image

I got this from a picture of a rainbow.

Image

Image

_________________
Image


Top
 Post subject: Re: Identify gradient maker
PostPosted: Tue Oct 08, 2013 11:37 am  (#16) 
Offline
GimpChat Member
User avatar

Joined: Aug 30, 2012
Posts: 2174
after playing with the gradient maker in gimp, it's not easy to use, so being able to create an image of the gradient required and then using RobA script to convert it to a gradient does make life easier.

_________________
Image


Top
 Post subject: Re: Identify gradient maker
PostPosted: Tue Oct 08, 2013 12:16 pm  (#17) 
Offline
GimpChat Member
User avatar

Joined: Jul 06, 2013
Posts: 2667
Location: California
Exactly, how do i use the Sample Gradient along a path? where would I find it when I open gimp?


Top
 Post subject: Re: Identify gradient maker
PostPosted: Tue Oct 08, 2013 12:28 pm  (#18) 
Offline
GimpChat Member
User avatar

Joined: Jul 17, 2012
Posts: 2769
mackenzieh wrote:
Exactly, how do i use the Sample Gradient along a path? where would I find it when I open gimp?

http://silent9.com/blog/archives/155-GI ... -Path.html

you right-click in your gradients-list (not the dialog)


Top
 Post subject: Re: Identify gradient maker
PostPosted: Tue Oct 08, 2013 12:41 pm  (#19) 
Offline
GimpChat Member
User avatar

Joined: Jul 06, 2013
Posts: 2667
Location: California
Cool. Thanks Esper.. I've located it. :)


Top
 Post subject: Re: Identify gradient maker
PostPosted: Tue Oct 08, 2013 12:45 pm  (#20) 
Offline
GimpChat Member
User avatar

Joined: Aug 16, 2012
Posts: 4271
Location: Göteborg, Sweden
molly: nice find, i think i'll give it a try. i've used rob a's sample gradient script and that works fine, but it sounds good to have the possibility to edit the gradient in the same program.
gnu tux: nice results with those gradients!
esper: if it's useful or not depends quite a lot on what gradient your after and how exactly you can sample the colours. at one point i wanted the orange light and rays from a natrium lamp and i was able to sample that from a photo using rob a's script. i also managed to sample gradients like he4rty's crown moulding gradients from a photo of a carved board.

_________________


Top
 Post subject: Re: Identify gradient maker
PostPosted: Tue Oct 08, 2013 1:11 pm  (#21) 
Offline
GimpChat Member
User avatar

Joined: Apr 07, 2010
Posts: 14182
GnuTux wrote:
molly wrote:
beautiful

I tried that sample and image by RobA, nothing is happening, I didn't get any kind of dialogue. I deleted his script, went to latest gimp scripts above... and I now get a dialogue when I right click the gradients. That is as far as I can get... I dont get a new image when I do that, it just goes to one of the gradients already in the list. I opened a picture and tried to make a gradient from it and I get a gradient already on the list.

I noticed that when I right click and choose sample along gradient, the dialog appears behind GIMP. I don't know why that happens but I have to move to my task bar and select it to bring the dalog to the front.

So, first I use the path tool to create a path over the image I want to sample, then right click on the gradient dialog and select Sample Gradient Along Path. I bring the dialog to the front, and enter the name of the New Gradient. I increase the Number of samplea to 256, ensure I have the correct image/drawable/path selected and click OK. It then creates a new gradient in the list with the name I specify.

[ Image ]

I got this from a picture of a rainbow.

[ Image ]

[ Image ]

Those are very nice tux, it works like a charm for you.

_________________
Image


Top
 Post subject: Re: Identify gradient maker
PostPosted: Tue Oct 08, 2013 1:28 pm  (#22) 
Offline
GimpChat Member
User avatar

Joined: Nov 15, 2012
Posts: 949
Location: Mesa, AZ
This is really useful.

_________________
Image

I now have a Tumblr, check it out!


Top
 Post subject: Re: Identify gradient maker
PostPosted: Tue Oct 08, 2013 1:34 pm  (#23) 
Offline
GimpChat Member
User avatar

Joined: Apr 07, 2010
Posts: 14182
GnuTux wrote:
Doesn't the Sample Gradient Along Path script do the exact same thing? It's easy to use.

From a picture of my Azaleas.

[ Image ]


Tux, this is what I started with and ended up with. I didn't get that nice strip that you have.
Image


Image

_________________
Image


Top
 Post subject: Re: Identify gradient maker
PostPosted: Tue Oct 08, 2013 1:53 pm  (#24) 
Offline
GimpChat Member

Joined: Mar 04, 2011
Posts: 2630
molly wrote:
I have the best gradient maker I have ever used over in windows. I don't think I can get it in Fedora but if anyone can identify this language, (I think it is Dutch) I would like to look it up. ...


Is this the one:

http://registry.gimp.org/node/25480

Does not look like it will be available in linux anytime. maybe it works in WINE.


Top
 Post subject: Re: Identify gradient maker
PostPosted: Tue Oct 08, 2013 1:58 pm  (#25) 
Offline
GimpChat Member
User avatar

Joined: Apr 07, 2010
Posts: 14182
It is not the same one Rich. The one I have has a Polish home screen, the one I posted in the first post on this thread.. It is so easy peasy. I never thought of wine, that might work for the one I have in windows, I dunno

_________________
Image


Top
 Post subject: Re: Identify gradient maker
PostPosted: Tue Oct 08, 2013 2:01 pm  (#26) 
Offline
GimpChat Founder
User avatar

Joined: May 22, 2008
Posts: 5248
Location: Gimpville
Molly, it looks like it worked like it was supposed to for you. You will probably need to lower the number of samples because there are so many subtle color changes in your image. If you set the samples to 256 you might get 256 different color changes in your gradient, with that image. Try experimenting with lower numbers, even 10 or below and you'll get less of the subtle color changes and smoother transitions in your gradient.

The line I posted was just a selection filled with the sampled gradient, so I could see what it looked like in action.

_________________
Image


Top
 Post subject: Re: Identify gradient maker
PostPosted: Tue Oct 08, 2013 2:18 pm  (#27) 
Offline
GimpChat Member
User avatar

Joined: Apr 07, 2010
Posts: 14182
Ok, I will start over. funny, I only had the tiniest piece of the orange selected and that gave me the widest section. :tyspin :pengy
Edit: Molly's pink flower gradient.
Image

Image

_________________
Image


Top
 Post subject: Re: Identify gradient maker
PostPosted: Tue Oct 08, 2013 2:40 pm  (#28) 
Offline
GimpChat Member

Joined: Mar 04, 2011
Posts: 2630
molly wrote:
It is not the same one Rich. The one I have has a Polish home screen, the one I posted in the first post on this thread.. It is so easy peasy. I never thought of wine, that might work for the one I have in windows, I dunno


It is called ChangeImage

http://registry.gimp.org/node/25571

This is the splash in a little linux netbook. Unfortunately it crashes later on when trying to save the .ggr file.

http://i.imgur.com/1juhLSI.jpg

For the clever people here, there is a python script about halfway down this page.
http://www.gimpuj.info/index.php?action ... ic=52156.0

#!/usr/bin/env python
# -*- coding: utf-8 -*-
# The idea taken from RobA Shellout http://registry.gimp.org/node/24977
# GradientfromImage by Krzysztof Zaj\u0105czkowski  http://registry.gimp.org/node/25571

from gimpfu import *
import shlex
import subprocess
import os, sys

def plugin_main(img, drawable):
  command = "\"C:\\Program Files\\GradientfromImage\\ChangeImage.exe\""  #<<--EYTUJ \u015bcie\u017ck\u0119 do katalogu programu ChangeImage.exe
  args = shlex.split(command)
  child = subprocess.Popen(args, shell=True)

register(
        "python_fu_GradientfromImage",
        "Gradient from Image",
        "Gradient from Image",
        "www.gimpuj.info",
        "MareroQ for Ma\u0142yszKZ",
        "2011",
        "<Image>/Edit/Edytor gradient\u00f3w z obrazka",
        "*",
        [],
        [],
        plugin_main,
        )

main()


Might give this a try when back on my regular machine.


Top
 Post subject: Re: Identify gradient maker
PostPosted: Tue Oct 08, 2013 2:46 pm  (#29) 
Offline
GimpChat Member
User avatar

Joined: Apr 07, 2010
Posts: 14182
ok, will look into that one too after supper. thanks

_________________
Image


Top
 Post subject: Re: Identify gradient maker
PostPosted: Tue Oct 08, 2013 2:57 pm  (#30) 
Offline
GimpChat Founder
User avatar

Joined: May 22, 2008
Posts: 5248
Location: Gimpville
rich2005 wrote:
[This is the splash in a little linux netbook. Unfortunately it crashes later on when trying to save the .ggr file.

command = "\"C:\\Program Files\\GradientfromImage\\ChangeImage.exe\""

This bit is looking for a windows executable. It's not going to work (natively) in Linux.

molly wrote:
Molly's pink flower gradient.

Looks like you've got it, Molly. :bigthup

_________________
Image


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

All times are UTC - 5 hours [ DST ]



* Login  



Powered by phpBB3 © phpBB Group