Hi, is it possible to create a .ggr gradient file from an image ? If yes, please tell me how. Thanks.
	
	
	
	
		
		
		Thread Rating:
		
	| 
				
				 
					GGR from Image
				 
			 | 
		
| 
	 
		Faster and easiest way I know is from a script fu "Sample Gradient Along a Path" http://www.silent9.com/blog/archives/155...-Path.html 
	
	
	
EDIT Author and link error (fixed) 
		
		
		10-10-2021, 05:00 PM 
	
	 
	
		another way 
	
	
	
Use the gimp_gmic_qt plugin. In the rendering section, Gradient (from line) That gives a pair of points (red and blue) that drag around. Give it a name. Ok it and it writes the file into your user profile gradients folder. Then refresh the Gradients dock for it to show. screenshots https://i.imgur.com/Er8XMFo.jpg 
		Great !! Let me try  
	
	
	
![]() (10-10-2021, 05:00 PM)rich2005 Wrote: another way I tried this one first. Everything works but the palette is not seen anywhere. How to fix ? Thanks. Update : Found it, thanks 
		
		
		10-10-2021, 07:45 PM 
	
	 
	
		How can I make sure that the .ggr has only 6 or 8 colours? Now there are so many colours that Inkscape is crashing when I try to adjust them. Thanks.
	 
	
	
	
		
		
		10-10-2021, 08:25 PM 
(This post was last modified: 10-10-2021, 08:35 PM by rich2005.
 Edit Reason: edit
)
	
	 
	
		For gmic: try setting Sampling down to 3 or 4 and Length maybe 10 
	
	
	
That gives hard boundaries to the colours so if you need a blend either try Edit: or This is a script-fu, goes in your scripts folder. http://www.silent9.com/incoming/scripts/...g-path.scm Probably similar to Ofnuts plugin. As the name, make a path. Run the script, it is a right click in the Gradients dock. Give it a name. Try settings as this demo: https://i.imgur.com/NCFHtR2.mp4 (10-10-2021, 08:25 PM)rich2005 Wrote: Edit: Indeed I did referenced Ofnuts, I was so-so sure it was from Ofnuts, so I did put a link to Ofnuts SF, while doing so I did take a look at his list and I saw "Gradient along Path", but I did follow the topic here on GF, and it's not the same plugin, so I started to get confused, > I went to my plugin folder, > I got confused even more as it was not there, then did discovered it was a script-fu (with the plugin browser), then came back here to fix the problem  
	
		
		
		10-11-2021, 06:23 AM 
	
	 
	
		Thanks. I am yet to try scriptfu plugin. It was night and I was so happy that the GMIC one worked. Will try.  
	
	
	
 
	
		
		
		10-11-2021, 06:49 AM 
	
	 
	(10-11-2021, 06:23 AM)meetdilip Wrote: Thanks. I am yet to try scriptfu plugin. It was night and I was so happy that the GMIC one worked. Will try. I did try to download it and it seems I'm downloading a zero kb scm (empty script)   I put the one I have here in case of something is wrong on that website  
  sample-gradient-along-path.scm.zip (Size: 1.8 KB / Downloads: 419)
	 | 
| 
				
	 
					« Next Oldest | Next Newest »
				 
			 | 
		



