Code: Select all
FOR %i in (*.PNG) DO convert -quiet %i -alpha Remove -alpha Off -filter Lanczos -distort Resize 1350x1350^^ -density 300 -units PixelsPerInch -fill White -undercolor "Graya(50%,.5)" -gravity NorthWest -annotate 0 " %date% " -profile C:\Windows\System32\spool\drivers\color\sRGB_v4_ICC_preference.icc %~ni_A.PNG
- The resultant PNG doesn't appear to have a tagged color space. It works when I change the format to JPG.
- I don't quite know how to control the text watermark. What I really want is a box that wraps tightly around the text.