I'm trying to achieve the following:
- scale image to fit 1280x720
- set canvas to 1920x1080
- the padded background should be transparant, but should contain a colour when rendered to jpeg afterwards (for a thumbnail)
- maintain transparancy when existing
This script works...
...but it actually keys out the grey color. I want the original image to be untouched.
Code: Select all
-ctype rgba -out png -clevel 6 -set_alpha -transpcolor 180 180 180 -ratio -rtype lanczos -bgcolor2 180 180 180 0 -resize 1920 1080 -canvas 1920 1080 center
I can achieve the result I want using xnconvert... but when exporting a batch the result isn't the same
Hoping for some help!