l'errore sta nel sistema in cui calcoli le proporzioni per ridimensionare l'immagine...il sistema che uso io č qst:
$fattore = 280 / Max($orig_w, $orig_h);
$new_width = $orig_w * $fattore;
$new_height = $orig_h * $fattore;
l'errore sta nel sistema in cui calcoli le proporzioni per ridimensionare l'immagine...il sistema che uso io č qst:
$fattore = 280 / Max($orig_w, $orig_h);
$new_width = $orig_w * $fattore;
$new_height = $orig_h * $fattore;