Page 1 of 1

Apply texture in image with full effects

Posted: 2009-11-19T22:17:51-07:00
by bhattkrishna19
Hi we have a image and texture and we are trying to apply texture in image with this command :

this is the texture image :
Image

this is image on which we are applying texture:

Image

and this is the command which we are using :

convert 105_Rectangle_8D8972_2.png \( -clone 0 -matte \) \( -clone 0 +matte texture_ArtSilk2.png -channel rgba -virtual-pixel tile -fx "v" \) \( -clone 0 +matte -clone 2 -compose softlight -composite \) -delete 0,2 +swap -compose copy_opacity -composite 105_Rectangle_8D8972_2_ArtSilk2_6.png

and getting result like this :
Image

here final image is not good as much we are expecting can you tell us other ways or other options so that we can get good image. How can we improve texture quality over the image.


regards,
Krishna

Re: Apply texture in image with full effects

Posted: 2009-11-20T09:49:04-07:00
by fmw42
why is your result not good? what do you expect or desire?

try this (sorry I renamed your images for ease of use)

convert pattern.png \
\( -clone 0 -alpha off \) \
\( -clone 0 -alpha extract \) \
\( texture.png -alpha off \) \
\( -clone 1 -clone 3 -compose blend -set option:compose:args 25 -composite \) \
-delete 0,2,3 +swap -alpha off -compose copy_opacity -composite \
pattern_textured.png


Image