It is currently Mon Jul 22, 2024 2:39 pm


All times are UTC - 5 hours [ DST ]



Post new topic Reply to topic  [ 33 posts ]  Go to page Previous  1, 2
Author Message
 Post subject: Re: Identify gradient maker
PostPosted: Tue Oct 08, 2013 1:11 pm  (#21) 
Offline
Global Moderator
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
Global Moderator
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: 2446
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.

_________________
Image


Top
 Post subject: Re: Identify gradient maker
PostPosted: Tue Oct 08, 2013 1:58 pm  (#25) 
Offline
Global Moderator
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: 5242
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.

_________________
“If you reach for the stars, you just might land on a decently sized hill.” - Stuart Hill


Top
 Post subject: Re: Identify gradient maker
PostPosted: Tue Oct 08, 2013 2:18 pm  (#27) 
Offline
Global Moderator
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: 2446
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.

_________________
Image


Top
 Post subject: Re: Identify gradient maker
PostPosted: Tue Oct 08, 2013 2:46 pm  (#29) 
Offline
Global Moderator
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: 5242
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

_________________
“If you reach for the stars, you just might land on a decently sized hill.” - Stuart Hill


Top
 Post subject: Re: Identify gradient maker
PostPosted: Tue Oct 08, 2013 3:31 pm  (#31) 
Offline
Global Moderator
User avatar

Joined: Apr 07, 2010
Posts: 14182
:hoh Thanks to your patience :yes

_________________
Image


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

Joined: Mar 04, 2011
Posts: 2446
GnuTux wrote:
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.


I have just got that ChangeImage working in my little Acer netbook (Bodhi linux).

Took a bit of tweaking in WINE - had to get a new msvcp90.dll file to fix the 'crash' (app freezes)

In my regular machine (PClinuxOS) I have shellout and XnView installed and working, so I might see if I can call ChangeImage from Gimp via shellout. Maybe tomorrow ;)

_________________
Image


Top
 Post subject: Re: Identify gradient maker
PostPosted: Tue Oct 08, 2013 4:27 pm  (#33) 
Offline
Global Moderator
User avatar

Joined: Apr 07, 2010
Posts: 14182
Cool... good luck

_________________
Image


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

All times are UTC - 5 hours [ DST ]


   Similar Topics   Replies 
No new posts [Solved] How to identify the new filters?

14

No new posts Poorman's Lyrics Maker version 4/5

10

No new posts Quick Doogle to Cut and Paste - Collage Maker

2

No new posts Attachment(s) Custom Font Tool Preview Update to Face Maker

0

No new posts Attachment(s) Gradient to Pallette

11


cron

* Login  



Powered by phpBB3 © phpBB Group