I'm just trying to figure out exactly how the overlapping affect the tile cropping. Let me explain with an example:
Code: Select all
$ convert logo: -crop 4x1@ +repage +adjoin logo_%d.gif
$ identify logo_?.gif
logo_0.gif GIF 160x480 160x480+0+0 8-bit PseudoClass 256c 2.97KB 0.000u 0:00.000
logo_1.gif[1] GIF 160x480 160x480+0+0 8-bit PseudoClass 256c 9.55KB 0.000u 0:00.000
logo_2.gif[2] GIF 160x480 160x480+0+0 8-bit PseudoClass 256c 21.2KB 0.000u 0:00.000
logo_3.gif[3] GIF 160x480 160x480+0+0 8-bit PseudoClass 256c 7.21KB 0.000u 0:00.000
Code: Select all
convert logo: -crop 4x1+52@ +repage +adjoin logo_%d.gif
Code: Select all
$ identify logo_?.gif
logo_0.gif GIF 199x480 199x480+0+0 8-bit PseudoClass 256c 4.34KB 0.000u 0:00.000
logo_1.gif[1] GIF 199x480 199x480+0+0 8-bit PseudoClass 256c 11.4KB 0.000u 0:00.000
logo_2.gif[2] GIF 199x480 199x480+0+0 8-bit PseudoClass 256c 25.7KB 0.000u 0:00.000
logo_3.gif[3] GIF 199x480 199x480+0+0 8-bit PseudoClass 256c 14.5KB 0.000u 0:00.000
How can I calculate the correct amount for the overlapping?
Thanks