Search found 5 matches

by kostya572
2017-06-27T14:40:25-07:00
Forum: Users
Topic: Create borders from texture images
Replies: 8
Views: 6118

Re: Create borders from texture images

Thank you guys, you helped me a lot, everything works perfectly :)
by kostya572
2017-06-27T10:52:03-07:00
Forum: Users
Topic: Create borders from texture images
Replies: 8
Views: 6118

Re: Create borders from texture images


try this:

convert \
\( original.jpg -bordercolor none -border 50 \) \
\( -clone 0 -tile texture.jpg -draw "color 0,0 reset" \) \
+swap -compose over -composite result.jpg

http://www.fmwconcepts.com/misc_tests/tiling/result.jpg

See:
http://www.imagemagick.org/Usage/basics/#parenthesis
http ...
by kostya572
2017-06-24T05:54:11-07:00
Forum: Users
Topic: Create borders from texture images
Replies: 8
Views: 6118

Re: Create borders from texture images


try this:

convert \
\( original.jpg -bordercolor none -border 50 \) \
\( -clone 0 -tile texture.jpg -draw "color 0,0 reset" \) \
+swap -compose over -composite result.jpg

http://www.fmwconcepts.com/misc_tests/tiling/result.jpg

See:
http://www.imagemagick.org/Usage/basics/#parenthesis
http ...
by kostya572
2017-06-23T19:24:13-07:00
Forum: Users
Topic: Create borders from texture images
Replies: 8
Views: 6118

Re: Create borders from texture images


Please always provide your IM version and platform, since syntax differs. Also please post your input image and the desired texture image, so we can show you on your own images. You can post your images to some free hosting service and put the URLs here.

See the top-most post in this forum ...
by kostya572
2017-06-23T16:30:12-07:00
Forum: Users
Topic: Create borders from texture images
Replies: 8
Views: 6118

Create borders from texture images

IM Version: ImageMagick 6.8.9-9 Q16 x86_64 2017-05-26
Platform: Linux Shell

To create simple borders with hex codes i can use:
convert image.jpg -bordercolor '#000000' -border '50'

But how can i use texture image (texture.jpg) for border instead of hex color with border size 50?

Input image ...