Search found 93 matches

by chaoscarnage
2018-08-05T16:00:07-07:00
Forum: Users
Topic: Masking 1 Image with 2 Masks no longer working.
Replies: 32
Views: 15536

Re: Masking 1 Image with 2 Masks no longer working.

Put simply, I just want to apply 2 masks to a single image. https://imgur.com/a/oeoqoPQ Here is a gallery, with some basic images (everything is labeled in the gallery). Starting Image https://i.imgur.com/OylPG9d.png Mask 1 https://i.imgur.com/fNONgkg.png Mask 2 https://i.imgur.com/1YHIuXv.png Final...
by chaoscarnage
2018-08-05T15:13:56-07:00
Forum: Users
Topic: Masking 1 Image with 2 Masks no longer working.
Replies: 32
Views: 15536

Masking 1 Image with 2 Masks no longer working.

I had a system setup where it masked 1 image with 2 masks. The code that previously worked was... IMAGE_BEING_MASKED.png \( \( MASK_IMAGE_1.png -alpha copy \) -compose Dst_In -composite -alpha disassociate \) \( \( MASK_IMAGE_2.png -alpha copy \) -compose Dst_In -composite -alpha disassociate \) -co...
by chaoscarnage
2018-08-05T13:57:00-07:00
Forum: Users
Topic: How do I Apply Multiple Screen and Multiply to one image?
Replies: 27
Views: 30888

Re: How do I Apply Multiple Screen and Multiply to one image?

This is where I got it from. https://imagemagick.org/script/command-line-options.php#alpha Take 1 image and apply 2 masks to the image. 7.0.5-7 to 7.0.8-8 I went into my post history before posting and thought this was the thread I made about masking, my mistake for using it. I'll make another topic...
by chaoscarnage
2018-08-05T13:22:30-07:00
Forum: Users
Topic: How do I Apply Multiple Screen and Multiply to one image?
Replies: 27
Views: 30888

Re: How do I Apply Multiple Screen and Multiply to one image?

I had a working example, but another update imagemagick and now it is no longer viable. convert BUFFER.png \( IMAGE.png \( \( MASK1.png -alpha copy \) -compose Dst_In -composite -alpha disassociate \) \( \( MASK2.png -alpha copy \) -compose Dst_In -composite -alpha disassociate \) /) -compose Over -...
by chaoscarnage
2018-01-21T15:55:17-07:00
Forum: Users
Topic: How do I Apply Multiple Screen and Multiply to one image?
Replies: 27
Views: 30888

Re: How do I Apply Multiple Screen and Multiply to one image?

So would

Code: Select all

convert img1 img2 -compose Multiply -composite img3 -compose Screen -composite img4 -compose Multiply -composite out
be the correct way to chain them together?
by chaoscarnage
2018-01-21T15:24:53-07:00
Forum: Users
Topic: How do I Apply Multiple Screen and Multiply to one image?
Replies: 27
Views: 30888

How do I Apply Multiple Screen and Multiply to one image?

Lets say I have image test.png and i have 3 more images I wish to screen and multiply onto one main image. How would i go about doing that? convert test.png -compose Multiply image1.png -compose Screen image2.png -compose Multiply image3.png result.png Does not appear how it would in a program like ...
by chaoscarnage
2017-08-27T17:42:46-07:00
Forum: Users
Topic: -compose Dst_Out img.png mask.png not working anymore?
Replies: 6
Views: 5535

Re: -compose Dst_Out img.png mask.png not working anymore?

Thank you for your help and time. Thats exactly what I needed it to do. Oddly enough thats the result i get when using ImageMagick 6.9.1-10 Q16 x86_64 2015-07-29 with the code I posted.
by chaoscarnage
2017-08-27T15:59:05-07:00
Forum: Users
Topic: -compose Dst_Out img.png mask.png not working anymore?
Replies: 6
Views: 5535

Re: -compose Dst_Out img.png mask.png not working anymore?

Version: ImageMagick 7.0.5-7 Q16 x86_64 2017-05-25 http://www.imagemagick.org Copyright: © 1999-2017 ImageMagick Studio LLC License: http://www.imagemagick.org/script/license.php Features: Cipher DPC HDRI OpenMP Delegates (built-in): png zlib convert blank.png \( -compose Dst_Out red.png mask1.png -...
by chaoscarnage
2017-08-27T13:15:00-07:00
Forum: Users
Topic: -compose Dst_Out img.png mask.png not working anymore?
Replies: 6
Views: 5535

-compose Dst_Out img.png mask.png not working anymore?

I used to use -compose Dst_Out img.png mask.png to apply some masks where the white part is kept and the black part is cut off but now it appears that it keeps whats in the black part and cuts out whats in the white. Tried changing it to -compose Dst_In img.png mask.png but had no luck. Is there a w...
by chaoscarnage
2017-06-07T14:17:19-07:00
Forum: Bugs
Topic: -clut command changes in v7?
Replies: 7
Views: 8166

Re: -clut command changes in v7?

Thanks for the quick response! Looks good!
by chaoscarnage
2017-06-07T12:53:37-07:00
Forum: Bugs
Topic: -clut command changes in v7?
Replies: 7
Views: 8166

Re: -clut command changes in v7?

EDIT: updated album with how it turns out in version 6
by chaoscarnage
2017-06-07T12:43:21-07:00
Forum: Bugs
Topic: -clut command changes in v7?
Replies: 7
Views: 8166

Re: -clut command changes in v7?

Here is an imgur album with images and the resulting image http://imgur.com/a/7u5Oa

I used

Code: Select all

 convert grey.png rainbow.png -clut newimg.png
Linux Ubuntu 14.04.5 LTS

Version: ImageMagick 7.0.5-7 Q16 x86_64 2017-05-25
by chaoscarnage
2017-06-07T11:23:53-07:00
Forum: Bugs
Topic: -clut command changes in v7?
Replies: 7
Views: 8166

-clut command changes in v7?

We used to use -clut to recolor some images and after upgrading to version 7 it doesn't appear to work the same way.

Code: Select all

img1.png grad.png -clut -newimg.png
Now it seems to just splat one color all over the image without applying the gradient along the greyscale.
by chaoscarnage
2017-05-26T12:31:45-07:00
Forum: Bugs
Topic: Masking issue with 7.0.5
Replies: 4
Views: 6260

Re: Masking issue with 7.0.5

using -read-mask and -compose CopyOpacity seemed to help.
by chaoscarnage
2017-05-26T12:24:34-07:00
Forum: Bugs
Topic: Masking issue with 7.0.5
Replies: 4
Views: 6260

Re: Masking issue with 7.0.5

I apologize but I appear to still have issues with partial masks.

When I apply a mask that's half black and half white It masks as you'd expect but the white part becomes entirely filled with black.

Any way to stop the white pixels from being filled in?