Thanks for the info. But getting the size is only the first step. My script (which is done now) slices too big images and rotates all 90 degrees clockwise.
BTW: "Image" was actually my first try insteasd of GD, but I failed miserably :-(. I had so many errors and missing prerequists...
Then I saw that there was a fink-package for GD and gave it a try.
s$$([},&%#}/&/]+}%&{})*;#$&&s&&$^X.($'^"%]=\&(|?*{%
+.+=%;.#_}\&"^"-+%*).}%:##%}={~=~:.")&e&&s""`$''`"e
|