1 2 3 4 5 6 7
replace: $s_x = floor( ($orig_w - $crop_w) / 2 ); $s_y = floor( ($orig_h - $crop_h) / 2 ); with: $s_x = floor( ($orig_w - $crop_w) / 2 ); $s_y = 0;
Sign in to leave a comment.