Skip to content

Spacing between tiles on a watermark #2028

Answered by fmw42
dekay14 asked this question in Help
May 16, 2020 · 3 comments · 21 replies
Discussion options

You must be logged in to vote

The spacing increases because of the rotation of the text image. You need to tile the text image before rotating.

Try this. Adjust the 30 on the splices to change the spacing.

magick logo: -set option:dims "%[fx:2*w]x%[fx:2*h]" \
\( -background none -font Arial -pointsize 18 -fill grey \
label:"This is very long long long long long long long long label." \
-write mpr:text +delete \) \
\( mpr:text -background none -gravity south -splice 0x30 \
-gravity east -splice 30x0 -write mpr:tile +delete \) \
\( -size "%[dims]" tile:mpr:tile -rotate -45 \) \
-gravity center -compose over -composite wm_test.gif

If you want different fonts, then make two text label: images and append them with space…

Replies: 3 comments 21 replies

Comment options

You must be logged in to vote
7 replies
@dekay14
Comment options

@fmw42
Comment options

@dekay14
Comment options

@dekay14
Comment options

@fmw42
Comment options

Answer selected by dekay14
Comment options

You must be logged in to vote
12 replies
@fmw42
Comment options

@dekay14
Comment options

@fmw42
Comment options

@dekay14
Comment options

@dekay14
Comment options

Comment options

You must be logged in to vote
2 replies
@dekay14
Comment options

@fmw42
Comment options

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Help
Labels
None yet
3 participants