Search found 93 matches

by chaoscarnage
2018-08-06T10:58:55-07:00
Forum: Users
Topic: How do I Apply Multiple Screen and Multiply to one image?
Replies: 27
Views: 30887

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

After many many hours of work Imagemagick is finally working correctly (for the most part). On 7.0.5-7 this worked. convert "inline:PNG64DATA" "MULTIPLY_IMG_1.png" -channel RGBA -compose Multiply -composite "MULTIPLY_IMG_2.png" -channel RGBA -compose Multiply -composite...
by chaoscarnage
2018-08-05T19:17:35-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.

We're going to do a re-install now.
by chaoscarnage
2018-08-05T19:05:36-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.

I have run exactly what you've given me using isolated examples and everytime one mask is ignored.
by chaoscarnage
2018-08-05T18:32:37-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.

I have a buffer image that is loaded, just in the massive example in the previous past.

I have tried exactly what you have, and it just ignores the first mask. I also removed -alpha disassociate temporarily and still it ignores the first mask.
by chaoscarnage
2018-08-05T17:23:27-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.

magick buffer.png \ \( IMAGE_TO_MASK.png \ \( MASK1.png -alpha copy \) -compose Dst_In -composite -alpha disassociate \ \( MASK2.png -alpha copy \) -compose Dst_In -composite -alpha disassociate \ \) -compose Over -composite OUT_IMAGE.png If I do this, it will ignore MASK1 and only apply MASK2. It'...
by chaoscarnage
2018-08-05T17:03:37-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.

No, it's a png.

Do you have any other ideas to help apply multiple (dynamically infinite) masks to a single image?
by chaoscarnage
2018-08-05T16:58:36-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.

For some reason there are times with magick that it breaks entirely and the transparent image that is being masked, now has a black background. Convert never does this.
by chaoscarnage
2018-08-05T16:57:33-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.

I use a buffer image that is blank, and compile everything into it.
by chaoscarnage
2018-08-05T16:51:14-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.

The amount of masks that are applied to an image are sometimes greater then 2. Before, I was able to just string the masks together and as a command it would do one after another.
by chaoscarnage
2018-08-05T16:48:59-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.

LINUX: magick -version Version: ImageMagick 7.0.8-8 Q16 x86_64 2018-08-05 https://www.imagemagick.org Copyright: © 1999-2018 ImageMagick Studio LLC License: https://www.imagemagick.org/script/license.php Features: Cipher DPC HDRI OpenMP Delegates (built-in): png zlib LINUX:~$ convert -version Versio...
by chaoscarnage
2018-08-05T16:42:48-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.

I am not able to use magick. When I use magick the images break horrible, so I have to use convert in IM 7. This is what worked until 7.0.8-8 blank.png \ \( red.png \( \( mask1.png -alpha copy \) -compose Dst_In -composite \) \( mask2.png -alpha copy \) -compose Dst_In -composite \) \ -compose Over ...
by chaoscarnage
2018-08-05T16:40:18-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.

We compile command strings based on what overall image is being built and then send it off to the command line to run, so we need it to be modular and we want to do as much of it as we can at once. We have to use DST_IN because we have other commands that use DST_OUT and it uses the last command you...
by chaoscarnage
2018-08-05T16:30:57-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.

The masks are black and white masks. Using DST_IN. I still need to be using DST_IN No you do not. My method assumes that all the images that are multiplied to create a final mask started as simply black/white with no transparency. There are probably many ways to do this. Mine is just one that is pr...
by chaoscarnage
2018-08-05T16:29:50-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.

Thanks for posting your example. It is now much more clear what you want. This should do it. I take the alpha channel from the image and multiply it with the two masks to make a new mask that I put back into the alpha channel of the input. magick image.png \ \( -clone 0 -alpha extract mask1.png mas...
by chaoscarnage
2018-08-05T16:27:23-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.

The masks are black and white masks. Using DST_IN. I still need to be using DST_IN