read about splitting images and have a question.
I've a system that load a lot of pages. Sometimes one page is langer than others.
I need to detect weight, and when i find that page is langer than x, cut in half vertically.
One image for left part and one for right part.
post original large image : http://static.repubblica.it/laprovincia ... /large.jpg
and its preview :

thank you for any help,
m.