EXR to JPG with vertical background gradient
Posted: 2019-07-05T06:14:24-07:00
I have a script which adds a background gradient to exr then converts to a jpg (changing colorspace along the way). Only issues is that I'm wanting a vertical linear gradient.
The following code gives me a diagonal gradient.
How can I change this to show as a vertical gradient?
Many thanks.
The following code gives me a diagonal gradient.
How can I change this to show as a vertical gradient?
Code: Select all
cd %~dpnx1
for %%a in (.) do set currentfolder=%%~na
start cmd /c magick *exr* null: ( -clone 0--2 -sparse-color bilinear 0,0,'#34465d',%%[fx:w-1],%%[fx:h-1],black ) -colorspace RGB -colorspace sRGB -compose DstOver -layers Composite "%currentfolder%.pdf"