I want to split a larg image into rows.
The standard would be (eg: 10.000 pixel into 10x 1000 pixel rows)
Code: Select all
convert large_image.tif -crop 1000x0 +repage +adjoin row_%03d.tif
If I use
Code: Select all
convert large_image.tif -crop 10x1@ +repage +adjoin row_%03d.tif
So far so good.
I get a 100pixel overlap with
Code: Select all
convert large_image.tif -crop 10x1+100@ +repage +adjoin row_%03d.tif
(right, 9 times overlap of 100 pixel results 900 pixel, splitting into 10 rows is 90pixel addition per row)
What I actually want is an overlap crop with absolute pixel numbers as in my first command.
I rather have the last row smaller than the others but set the with with exact pixels.
But when I type
Code: Select all
convert large_image.tif -crop 1000x0+100 +repage +adjoin row_%03d.tif
What I actually want is a set of 10 rows, each 1100 pixels wide with an 100 pixel overlap
and the last row shorter.
Is there a chance to have the offset option without the "@" in the crop command?
Greetings
Roland