We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 8aeece9 commit 1267f13Copy full SHA for 1267f13
src/FileApi.php
@@ -232,15 +232,15 @@ private function setTmpImage($upload_file)
232
switch ($exif['Orientation']) {
233
case 8:
234
$img = imagerotate($img, 90, 0);
235
- imagejpeg($img, $image_path);
+ imagejpeg($img, $image_path, 100);
236
break;
237
case 3:
238
$img = imagerotate($img, 180, 0);
239
240
241
case 6:
242
$img = imagerotate($img, -90, 0);
243
244
245
}
246
0 commit comments