Creating a custom gradient from Sample Image
I have a simple noise-like gradient with lot of stops. I need a script that will sample each column of my document to get the color and add a stop to a gradient with that color. The end result would be a gradient fill pattern that matched the gradient in my image.
Ultimately, I want to use this new gradient to do a gradient map on a separate image.
This seems like it would be pretty easy to do, but I am having a hard time understanding JS in Photoshop...even with scriptListener installed.
Any help would be greatly appreciated.
