I get a strange behaviour...
Using this script for image manipulation (rotation), every time I use the image size increases.
e.g. after using it twice the image changes from 168.4 to 53.2 Kb.
$image_source = imagecreatefromjpeg($path_u);
$rotate = imagerotate($image_source, $angle, 0);
imageinterlace($rotate, true);
unlink($path_u);
imagejpeg($rotate, $path_u, 100);
imagedestroy($rotate);
There is something wrong or are the gd functions that make this effect?