diff options
author | friendica <info@friendica.com> | 2013-12-30 21:41:13 -0800 |
---|---|---|
committer | friendica <info@friendica.com> | 2013-12-30 21:41:13 -0800 |
commit | c95909921ea50abcb9e5f8b536ffaa52a68e6a9a (patch) | |
tree | a31aa66c3b18bc326f6c50141061129e29b0512f /library/HTMLPurifier.kses.php | |
parent | 5455a156b05eef1c46219297d51b51c2c688fb55 (diff) | |
download | volse-hubzilla-c95909921ea50abcb9e5f8b536ffaa52a68e6a9a.tar.gz volse-hubzilla-c95909921ea50abcb9e5f8b536ffaa52a68e6a9a.tar.bz2 volse-hubzilla-c95909921ea50abcb9e5f8b536ffaa52a68e6a9a.zip |
auto-crop imported photos for things and xchans. This results in undistorted images but may result in cropping important parts of the picture. Still this will work well for 95 out of 100 cases. If the width exceeds the height by greater than 1.2 we will remove an equal margin from either side of the photo leaving the center intact. If the height exceeds the width we will chop off the bottom to make it square. This is good for most single person photographs, unless the object of interest is off-center horizontally in a wide photo - or one is trying to emphasize aspects of human anatomy which may be at the bottom of a tall photo.
Diffstat (limited to 'library/HTMLPurifier.kses.php')
0 files changed, 0 insertions, 0 deletions