Create a loop using Powershell to execute Imagemagick command.

Completed Posted 3 years ago Paid on delivery
Completed Paid on delivery

The following works great.

magick composite -gravity center -geometry +15+60 [login to view URL] [login to view URL] [login to view URL]

magick composite -gravity center -geometry +15+60 [login to view URL] [login to view URL] [login to view URL]

magick composite -gravity center -geometry +15+60 [login to view URL] [login to view URL] [login to view URL]

....

However, I would like to place this code in a loop. So all the files that end with (*.png) in a folder

would be combined with "[login to view URL]".

So if "[login to view URL]", "[login to view URL]", "[login to view URL]", etc. and "[login to view URL]" were in a folder, then

when the script was executed, "[login to view URL]", "[login to view URL]",

"[login to view URL]", etc. would be created.

Example images (and example output) can be found at:

[login to view URL]

I believe the code would be something like this:

$path = 'C:\Temp'

foreach ($file in Get-ChildItem -Path $path -File) {

& $magick .....

}

Powershell Image Processing

Project ID: #28997540

About the project

2 proposals Remote project Active 3 years ago

Awarded to:

(13 Reviews)
4.2

2 freelancers are bidding on average $20 for this job

designdot0

Hi there, I have summarized your project description to Create a loop using Powershell to execute Imagemagick command. I am much experienced graphic designer having great command in Adobe Illustrator and Adobe Photosho More

$20 USD in 1 day
(0 Reviews)
0.0