[solved] bulk watermarking images
Posted: 2019-09-20T11:41:13-07:00
hi all.
i got 2 issues when trying to watermark images.
here is the command i use (im unsing windows cmd):
so basically i want to watermark all images ( *.png) in a folder using the watermark.png as a sample watermark. the result output shall be written for each image in the folder in this pattern: watermarkresults_%d.png
when i do that, i only get 1 output image and its covered with a tile of one of the images in the folder, having the same resoltuion as the watermark image. so basically doing as said in my command, doesnt use the watermark.png, doesnt watermark all images, but it only does take one image and make it full tiled (-tile) with a part of one of the images, cropping out the same size as the water mark, and filling that one output files with it.
watermarking only worked with a singple image, for example:
and additionally i would like to change the -tile command pattern. usually the complete image is filled by the watermark, but i would like to have some distance between the fillings so the watermark will be put on the image only a few times and not 1000 times until the original image is full.
any advices?
i got 2 issues when trying to watermark images.
here is the command i use (im unsing windows cmd):
Code: Select all
magick composite -tile watermark.png *.png watermarkresults_%d.png
when i do that, i only get 1 output image and its covered with a tile of one of the images in the folder, having the same resoltuion as the watermark image. so basically doing as said in my command, doesnt use the watermark.png, doesnt watermark all images, but it only does take one image and make it full tiled (-tile) with a part of one of the images, cropping out the same size as the water mark, and filling that one output files with it.
watermarking only worked with a singple image, for example:
Code: Select all
magick composite -tile watermark.png example_original.png water_exampleoriginal.png
any advices?