I want to take IMG_0002, adjust its white point to 15, set its transparency to 80%, stack it on top of IMG_0001, and output that, which I've figured out via:
Code: Select all
convert IMG_0002.jpg -level 0%,5% step1.jpg
composite -dissolve 80% step1.jpg IMG_0001.jpg step2.jpg
Also two side questions:
1) The level command for some reason will only work with percentages. So 0%,5% works but 0,15 (assuming scale of 0-255) doesn't... comparing with PS/GIMP, it sets the white point wayyyy lower.
2) How can I write this script as a file I can just drag and drop IMG_0001 and IMG_0002 onto and have the entire process work without me entering any commands? (It'll always be two sequential images, e.g. IMG_0473 and IMG_0474 stacked as mentioned above.)