Apply texture in image with full effects

Questions and postings pertaining to the development of ImageMagick, feature enhancements, and ImageMagick internals. ImageMagick source code and algorithms are discussed here. Usage questions which are too arcane for the normal user list should also be posted here.
Post Reply
bhattkrishna19

Apply texture in image with full effects

Post 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
User avatar
fmw42
Posts: 25562
Joined: 2007-07-02T17:14:51-07:00
Authentication code: 1152
Location: Sunnyvale, California, USA

Re: Apply texture in image with full effects

Post 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
Post Reply