excellenteasy / grunt-image-resize

Unmaintained. If you'd like to take this over please let us know. Resizing images made easy - thanks to imagemagick.
MIT License
57 stars 46 forks source link

Feature request: Ability to add watermarks to resized images #10

Open jimpannell opened 10 years ago

jimpannell commented 10 years ago

Hi there

Firstly, thanks for putting grunt images resize out in the open - it's fantastic and I'm using it on a client project very successfully.

I'd like to suggest a feature request if I may: a particular project of mine requires that all images be not only resized but watermarked with a transparent png image. Is there any way that this functionality could be incorporated into this?

Cheers

Jim

davidpfahler commented 10 years ago

For documentation on gm see composite's watermark option. Takes <brightness>x<saturation> as argument. Example on the command line:

gm composite -watermark 5x10 watermark.gif base.jpg output.jpg