Page 2 of 2

Re: texture , effect 3D

Posted: 2012-04-13T03:39:15-07:00
by stefek143
OK, I will try to changing some parameters.

by the way, I did one from your example and looks even similiar but dont' know why I cant remove background what is around shoe,

it looks like this:
Image

I even tried to add parameter: "-compose Dst_In" but without success , I see in your example background is gray, anyway I would like to make a white. How to remove background around shoe and change it on white?

Re: texture , effect 3D

Posted: 2012-04-13T10:12:58-07:00
by fmw42
amount=5
convert 1grid.png \( 1shoe.jpg -auto-level \) \
-virtual-pixel transparent -compose displace \
-set option:compose:args -${amount}x-${amount} -composite 1grid_dm${amount}.png

convert 1shoe.jpg 1grid_dm${amount}.png \( -clone 0 -threshold 55% \) \
-compose over -composite \
\( -clone 0 -fill white -colorize 100% \) \
\( 1shoe.jpg -threshold 55% -negate \) \
-compose over -composite 1shoe_1grid_dm${amount}_white_comp.png

Re: texture , effect 3D

Posted: 2012-04-14T03:19:23-07:00
by stefek143
I don't know what's wrong but my result is:
Image

my code is exacly the same what you wrote.

Re: texture , effect 3D

Posted: 2012-04-14T10:00:05-07:00
by fmw42
This is what I get:

Image


Are you on windows? If so, then there are differences in syntax. Remove \ from \( and \) so only ( ) and change end of line \ to ^ and change % to %%.

See http://www.imagemagick.org/Usage/windows/


If not on Windows, then what version of IM and platform?