ImageOrientationFix
v3.2.1
ไลบรารี PHP เพื่อแก้ไขการวางแนวภาพโดยข้อมูล EXIF ด้วยขอบคุณวิธี EXIF_READ_DATA

composer require jellybellydev/image-orientation-fix use ImageOrientationFix ImageOrientationFixer ;
$ iof = new ImageOrientationFixer ( ' foo.jpg ' );
$ iof -> fix ();หรือ
use ImageOrientationFix ImageOrientationFixer ;
$ iof = new ImageOrientationFixer ( ' /path/foo.jpg ' , ' /path/foo_fixed.jpg ' );
$ iof -> fix ();การพึ่งพาได้รับการจัดการผ่านนักแต่งเพลง:
$ docker-compose up --build -d
$ docker-compose run php74 composer install
$ docker-compose run php74 composer test
docker-compose run php74 composer cs-fixerโปรดดูบันทึกการเปลี่ยนแปลง
ขอบคุณ Recurser สำหรับตัวอย่างภาพ