Page 1 of 1
I'd like to know how to combine.
Posted: 2018-05-28T23:06:15-07:00
by lojesus75
https://drive.google.com/open?id=1PYH0v ... 1_rgVYxuMm
Hello, Nice to meet you. Many times imageMagick users will help you with your questions.
The image shown above is a simple picture of what we are going to do.
Pattern + Shape -> Combined Pattern and Shape
The Shape contains a Pattern and the outside of the Shape is transparent.
ImageMagick seems to be able to do this. If you have experience or have ideas about these tasks, please reply.
Thank you for your active support.
Re: I'd like to know how to combine.
Posted: 2018-05-28T23:23:18-07:00
by fmw42
Is there a question here? What did you try? What does not work?
Please, always provide your IM version and platform when asking questions, since syntax may differ. Also provide your exact command line and if possible your images.
See the top-most post in this forum "IMPORTANT: Please Read This FIRST Before Posting" at
http://www.imagemagick.org/discourse-se ... f=1&t=9620
For novices, see
http://www.imagemagick.org/discourse-se ... f=1&t=9620
http://www.imagemagick.org/script/comma ... essing.php
http://www.imagemagick.org/Usage/reference.html
http://www.imagemagick.org/Usage/
https://github.com/ImageMagick/usage-markdown
Re: I'd like to know how to combine.
Posted: 2018-05-29T02:15:55-07:00
by lojesus75
Using sample file
1. image.jpg
https://drive.google.com/open?id=1xmT8B ... z5UZbhzy8D
2. Pattern_1.jpg<
https://drive.google.com/open?id=1-PQtY ... qLvth1yq4z
My Snippet Code
convert image.jpg Patern_1.jpg -compose ChangeMask -composite overlay_removed.jpg
Test Environment
OS : Windows10
Version : ImageMagick-7.0.7-Q16
Reference Page
http://www.imagemagick.org/Usage/compose/#tile
First of all, I'm sorry I did not give you the detail information.
Re: I'd like to know how to combine.
Posted: 2018-05-29T09:17:04-07:00
by fmw42
You did not say whether you wanted the black or white textured. So try one of these two.
Code: Select all
magick Pattern_1.jpg[1536x864+0+0] image.jpg -alpha off -compose copy_opacity -composite result1.png
Code: Select all
magick Pattern_1.jpg[1536x864+0+0] ( image.jpg -negate ) -alpha off -compose copy_opacity -composite result2.png
see -compose copy_opacity
http://www.imagemagick.org/Usage/compose/#copyopacity