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:
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?
texture , effect 3D
- fmw42
- Posts: 25562
- Joined: 2007-07-02T17:14:51-07:00
- Authentication code: 1152
- Location: Sunnyvale, California, USA
Re: texture , effect 3D
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
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
- fmw42
- Posts: 25562
- Joined: 2007-07-02T17:14:51-07:00
- Authentication code: 1152
- Location: Sunnyvale, California, USA
Re: texture , effect 3D
This is what I get:
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?
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?