Switch to full style
Ask all general Gimp related questions here
Post a reply

View gradients

Tue Sep 21, 2010 12:05 am

Is there a way to view gradients in GIMP before they are put into the gradient folder? I have a pack of 330 gradients I downloaded and I really don't want to put them into my gradient folder.

Re: View gradients

Tue Sep 21, 2010 1:48 am

Xnview reads all of he gimp formats but .ggr. Sorry I thought I had an answer for you.

Re: View gradients

Tue Sep 21, 2010 2:16 am

I'm afraid not. Gradient files are really ascii text files that give a list of color data points. Here I have the actual contents of one of Gimp's gradient files.

Code:
GIMP Gradient
Name: Coffee
1
0.000000 0.949917 1.000000 0.560606 0.435893 0.311332 0.000000 0.300000 0.233262 0.166605 1.000000 4 0

Re: View gradients

Tue Sep 21, 2010 5:46 am

The easiest solution is to add the directory contain your 330 gradients to the gradient search path ("Edit->Preferences->Folders->Gradients"), refresh your gradients, and when you're down playing with them* remove the directory (and re-refresh).

I will attempt to write a script this weekend to automate generation of PNG files for a directory of gradients. Unfortunately, there is no PDB function for modifying the search paths so it will be necessary to copy the files to the user's gradients directory, and then later remove them.

* There is a rather inappropriately named "Custom Gradient" command available by right-clicking on a gradient that might be helpful. This command will create a new image containing an example of a linear application of the gradient.

Re: View gradients

Tue Sep 21, 2010 8:14 am

That's the thing i love about xnview, is the right click shell thumbnails for any image format.
saulgoode that would be an awesome script to have in hand, and very useful.

Re: View gradients

Tue Sep 21, 2010 1:23 pm

I would love such a script... and the 300 gradients!

Re: View gradients

Tue Sep 21, 2010 2:22 pm

Found the gradient pack here. http://gimpstuff.org/

Check the menu on the left to get the gradients.

Re: View gradients

Tue Sep 21, 2010 5:34 pm

Ah, this looks like fun, I'll go through this at my leisure tonight, I really like sites like this, thanks.

Re: View gradients

Tue Sep 21, 2010 6:43 pm

Oregonian wrote:Found the gradient pack here. http://gimpstuff.org/

Check the menu on the left to get the gradients.


Tried downloading it ... the file is corrupt. :(

Re: View gradients

Tue Sep 21, 2010 6:56 pm

That's a bummer, Mike. The one I attached is good.

Re: View gradients

Tue Sep 21, 2010 9:34 pm

Some great stuff! The gradient folder gave an error on two gradients that have illegal file names. I am experimenting with the photomosaic python script.

Re: View gradients

Tue Sep 21, 2010 9:58 pm

saulgoode wrote:The easiest solution is to add the directory contain your 330 gradients to the gradient search path ("Edit->Preferences->Folders->Gradients"), refresh your gradients, and when you're down playing with them* remove the directory (and re-refresh).
OK, I did that. Then opened the gradients dialog, increased the text size and did screen shots. There are twenty list#.png screen shots with the gradient names in the zipped file that is attached below.

Re: View gradients

Wed Sep 22, 2010 3:34 am

Gimp may use also SVG gradient that are a bit more easy to browse....there are thousands here
Only problem many images there not properly tagged so searching for gradient you get a lot of false positives

Re: View gradients

Mon Sep 27, 2010 12:14 pm

I didn't have enough free time this weekend to finish the script (I was giving my brother a car which had sat unused for a couple of years and I spent most my time getting it fixed up). I have finished most of the heavy lifting for the script but still need to add implement some additional options and add some finishing touches. The current ETA is sometime next weekend.

Re: View gradients

Mon Sep 27, 2010 9:35 pm

Thank you for keeping us posted saulgoode. I'm looking forward to the script.

Re: View gradients

Wed Sep 29, 2010 7:10 am

Me too, thanks saulgoode for the update. =)
Post a reply