Generate Gradient size based on existing image
Posted: 2014-09-22T19:14:46-07:00
Greetings Gurus,
I have a command line which works fine except for the hardcoded image size. It overlays a gradient onto an image.
How can the command dynamically generate the Gradient Size automatically based on the current image being processed ("%x") ?
This is the windows command line.
composite.exe -compose Dst_In "%x" ( -size 24x24 gradient:black-white -alpha Set ) png32:"%x"
I have a command line which works fine except for the hardcoded image size. It overlays a gradient onto an image.
How can the command dynamically generate the Gradient Size automatically based on the current image being processed ("%x") ?
This is the windows command line.
composite.exe -compose Dst_In "%x" ( -size 24x24 gradient:black-white -alpha Set ) png32:"%x"