Sorry I should of included an example of what I did:
for %%F in (Spine\*.png) do magick "Front Covers\%%~nF.png" ( "Spine\%%~nF.png" ) -gravity SouthWest -geometry +26+80 -composite "Covers\%%~nF.png"
How can I add a different logos to an image in batch with the same filenames?
Re: How can I add a logo to an image in batch?
I think I have it, using your original code all in one line seems to be working fine now. Thank you for all your help and patience! I'll try a few more now. Here is the code as I ended up using it:
for %%F in (Spine\*.png) do magick "Front Covers\%%~nF.png" ( "Spine\%%~nF.png" -rotate 90 -resize "50x533>" ) -gravity SouthWest -geometry +26+80 -composite "Covers\%%~nF.png"
for %%F in (Spine\*.png) do magick "Front Covers\%%~nF.png" ( "Spine\%%~nF.png" -rotate 90 -resize "50x533>" ) -gravity SouthWest -geometry +26+80 -composite "Covers\%%~nF.png"
-
- Posts: 12159
- Joined: 2010-01-23T23:01:33-07:00
- Authentication code: 1151
- Location: England, UK
Re: How can I add a logo to an image in batch?
I'm glad that works. When it doesn't, it seems your newlines are being ignored. What text editor are you using? Is it set to make unix-style newlines?
snibgo's IM pages: im.snibgo.com
Re: How can I add a logo to an image in batch?
I don't know to be honest I was just using Windows Notepad