This is what I've done after applying answer. offĬonvert.exe %SOURCE% -fill rgba(251,243,213,1.0\) -colorize 100% fill.jpgĬonvert.exe assets\earlybird\mask.png -resize 1024x768 mask.pngĬonvert.exe fill.jpg %SOURCE% -compose multiply -gravity center -composite - ^Ĭonvert.exe -channel red +level 10.5%,100% - ^Ĭonvert.exe mask.png -compose ColorBurn -composite - ^Ĭonvert.exe mask.png -compose Multiply -composite result.jpg I read somewhere that the equivalent is a caret "^" but again, I'm not 100% sure how to implement it properly. This is what I have so far, but it's not working as intended as I'm not sure what the batch file equivalent of multiple command line arguments are: e.g., "\" or "|" or whether it's even possible. Rm -f result.jpg source_copy.jpg mask.pngĬonvert $SOURCE -fill rgba\(251,243,213,1.0\) -colorize 100% fill.jpgĬonvert assets/earlybird/mask.png -resize `identify -format "%wx%h" $SOURCE`\! mask.pngĬonvert fill.jpg $SOURCE -compose multiply -gravity center -composite - |Ĭonvert -channel red +level 10.5%,100% - |Ĭonvert mask.png -compose ColorBurn -composite - |Ĭonvert mask.png -compose Multiply -composite result.jpg Original GIT repo for the Unix script(s): I'd like to convert into a batch (.bat) file for use with ImageMagick for Windows but I'm having a bit of trouble with the conversion. I have the following bash script (.sh) that's working just fine in Unix.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |