Thanks so much. I took what you had wrote and came up with this to get exactly what I wanted:
convert \( "goo-Raw Shadow.jpg" -alpha copy \) \( goo-Alpha.jpg -alpha copy \) -compose over -composite goo.jpg -compose atop -composite goo5.png
Search found 4 matches
- 2012-08-07T22:49:27-07:00
- Forum: Users
- Topic: image stack and composite
- Replies: 7
- Views: 9821
- 2012-08-03T22:11:39-07:00
- Forum: Users
- Topic: image stack and composite
- Replies: 7
- Views: 9821
Re: image stack and composite
Sorry for not explaining. I have 3 jpgs. 1 is a color .jpg with a shadow, another is an alpha (b&w) jpg, lastly is a shadow .jpg. The color .jpg has a background I want to remove, the alpha .jpg gives me the cutout shape I want and the shadow is the same shadow as the color image minus the color ...
- 2012-08-02T23:22:18-07:00
- Forum: Users
- Topic: image stack and composite
- Replies: 7
- Views: 9821
Re: image stack and composite
I wish it were that easy. The foo-Raw\ Shadow.jpg is indeed correct. There is a space in the filename. Just for grins I renamed the file w/o a space. I fixed the space before the last \) though. This still doesn't work:
convert \( foo-Alpha.jpg -alpha copy foo-RawShadow.jpg -alpha copy \) foo.jpg ...
convert \( foo-Alpha.jpg -alpha copy foo-RawShadow.jpg -alpha copy \) foo.jpg ...
- 2012-08-02T21:59:22-07:00
- Forum: Users
- Topic: image stack and composite
- Replies: 7
- Views: 9821
image stack and composite
The following two commands give me the desired image:
convert foo-Alpha.jpg -alpha copy foo-Raw\ Shadow.jpg -alpha copy mask4.png
convert mask4.png foo.jpg -compose atop -composite final.png
However when I attempt to combine it into one single call using image stacking it does not work:
convert ...
convert foo-Alpha.jpg -alpha copy foo-Raw\ Shadow.jpg -alpha copy mask4.png
convert mask4.png foo.jpg -compose atop -composite final.png
However when I attempt to combine it into one single call using image stacking it does not work:
convert ...