diff options
author | John Elliott <johnsvenn@googlemail.com> | 2022-02-22 16:50:23 +0000 |
---|---|---|
committer | Bjørn Erik Pedersen <bjorn.erik.pedersen@gmail.com> | 2022-02-23 10:01:50 +0100 |
commit | 7732da9f93503c1a723d6ac5bb77da206cb0fa0e (patch) | |
tree | a205fe894c5413a7dcaa6c6ad8ce64c93e61f874 /hugolib/page_test.go | |
parent | aebde49b884c3b5ef73d8e1a01fca8a1354ac5b9 (diff) |
Allow images to be cropped without being resized
Introduces the Crop method for image processing which implements gift.CropToSize. Also allows a smartCrop without resizing, and updates the documentation.
Fixes #9499
Diffstat (limited to 'hugolib/page_test.go')
0 files changed, 0 insertions, 0 deletions