Hi everyone,
I just want to crop a jpg file with a transparent png mask. tried different composition of commands but non of them gave me the result.
here's an example I did with gimp:
texture:
mask:
what i want as result
Thanks in advance
clipping a texture by a transparent png mask
-
- Posts: 12159
- Joined: 2010-01-23T23:01:33-07:00
- Authentication code: 1151
- Location: England, UK
Re: clipping a texture by a transparent png mask
Code: Select all
magick texture.jpg mask.png -compose CopyOpacity -composite out.png
snibgo's IM pages: im.snibgo.com
Re: clipping a texture by a transparent png mask
It worked great, I was doing it in complex ways but it was that simple.
Many Thanks
Many Thanks