Centered crop
Posted: 2009-11-06T09:22:07-07:00
Hello all,
I've been reading about -crop and image geometry for a few hoursas well as wrestling with the examples, but I can't get this right: I would like to get a fixed-sized crop around a point, even it it goes partially outside the image border. For instance I want a resulting Width and Height of 100, around point (30,60), so a crop that goes from (-20,10) to (80,110). I don't care what it fills the gap with. I've been wrestling with the +/- signs and ! in the geometry expression to no avail.
I've been reading about -crop and image geometry for a few hoursas well as wrestling with the examples, but I can't get this right: I would like to get a fixed-sized crop around a point, even it it goes partially outside the image border. For instance I want a resulting Width and Height of 100, around point (30,60), so a crop that goes from (-20,10) to (80,110). I don't care what it fills the gap with. I've been wrestling with the +/- signs and ! in the geometry expression to no avail.