overlay - Imagemagick tiling with annotation -


i splitting big image with:

convert input.jpg -crop 2256x3043 +repage +adjoin output-%02d.jpg 

how can annotate tile number @ center of each image?

thanks.

ok, found solution:

convert input.jpg \         -crop 2256x3043 +repage +adjoin \         -pointsize 300 -gravity center -annotate 0 "%[p]" \         output-%02d.jpg 

this split images in tiles 2256x3043 big , write @ center number of tile (starting 0) big sized font. got using imagemagick escape property %p, defined as:

index of image in current image list


Comments

Popular posts from this blog

c# - How to get the current UAC mode -

postgresql - Lazarus + Postgres: incomplete startup packet -

javascript - Ajax jqXHR.status==0 fix error -