Code: Select all
convert bodynormalclassicmod3.png sleevelongnormalmod3.png -fuzz 20% -transparent black -background black -flatten -median 3x3 shirt_bad.png
Code: Select all
convert bodynormalclassicmod3.png sleevelongnormalmod3.png -fuzz 20% -transparent black -background black -flatten -median 3x3 shirt_bad.png
anthony wrote:Your command (without the '1' prefix on the names) works perfectly fine for me.Of course median does junk the transparency that was added, but I already covered that.Code: Select all
convert bodynormalclassicmod3.png sleevelongnormalmod3.png -fuzz 20% -transparent black -background black -flatten -median 3x3 shirt_bad.png
Code: Select all
exec("convert sleevelongnormal_mod3.png bodynormalclassic_mod3.png collar104o_mod3.png cuff114o_mod3.png collar105b.png collar105i.png collarbutton902.png -background black -compose screen shirtmod3.png");
The fact that a -compose plus will 'max out' color means the masking of the various parts is NOT correct! That is the piecesfmw42 wrote:Anthony knows better how to use various compose methods, so perhaps he will have a better method. using -compose screen for all blends the cuff and collar with the shirt and does not work well. Neither does using -compose plus even for the latter two as it maxes out with white.
Anthony, the two new pieces of the shirt (the cuffs and collar) overlap quite a bit with the base shirt and sleeves. So here it needs a compose over, with transparent masks, not black masks, unless you know of another compose that will do that without having to change black to transparent.The fact that a -compose plus will 'max out' color means the masking of the various parts is NOT correct! That is the pieces
were not masked using the same mask.
Code: Select all
exec("convert bodynormalclassic_mod6.png sleevelongnormal_mod6.png collar104o_mod6.png cuff114o_mod6.png --fuzz 20% -transparent black -background black -flatten miff:- | convert - -median 3x3 shirtmod6.png");