Is it possible to dynamically adjust the width and height per image at the moment?
I'm afraid not...
Is it possible to build this in a new version? Its really simple code (thanks to netPBM);
$scale = sqrt( $max_amount_pixels / ( $width_old * $height_old ));
$width_new = $width_old * $scale;
$height_new = $height_old * $scale;
I need it because my images have various width and heights in different scales (panorama's).
* Ah! I submitted this as a request feature