This website requires JavaScript.
Explore
Help
Sign In
harukin
/
core
Archived
Watch
1
Star
0
Fork
0
You've already forked core
Code
Issues
Pull Requests
Actions
Packages
Projects
Releases
Wiki
Activity
This repository has been archived on
2024-08-19
. You can view files and clone it. You cannot open issues or pull requests or push a commit.
Files
08e0f172ded6abcf8175d9f133d4aa2cf2ec2b4e
core
/
include
/
photo
History
Max Kostikov
a49cfa8142
Update photo_driver.php
2018-11-10 20:45:20 +01:00
..
photo_driver.php
Update photo_driver.php
2018-11-10 20:45:20 +01:00
photo_gd.php
imagemagick preserves exif when scaling. GD does not. We do not want to preserve exif on thumbnails which we have rotated, as a browser reading the exif information could rotate them yet again. This checkin adds an abstract function to the generic photo driver which makes the behaviour consistent by stripping EXIF from imagick processed images. However, we will attempt to preserve any ICC colour profiles. See
http://php.net/manual/en/imagick.stripimage.php
2018-04-22 18:12:16 -07:00
photo_imagick.php
imagemagick preserves exif when scaling. GD does not. We do not want to preserve exif on thumbnails which we have rotated, as a browser reading the exif information could rotate them yet again. This checkin adds an abstract function to the generic photo driver which makes the behaviour consistent by stripping EXIF from imagick processed images. However, we will attempt to preserve any ICC colour profiles. See
http://php.net/manual/en/imagick.stripimage.php
2018-04-22 18:12:16 -07:00