diff options
| author | Carl Hetherington <cth@carlh.net> | 2024-12-06 21:23:44 +0100 |
|---|---|---|
| committer | Carl Hetherington <cth@carlh.net> | 2024-12-26 17:20:25 +0100 |
| commit | 1f077d2b791a059ccef4069dca07ead990bd568e (patch) | |
| tree | 5db62f135097a375aa0cf80ef9b64be8765480ea /src/lib/image.h | |
| parent | d76b98b8cc9867a2cc9de42f78e6b9be575c0540 (diff) | |
Add Image::crop().
Diffstat (limited to 'src/lib/image.h')
| -rw-r--r-- | src/lib/image.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/lib/image.h b/src/lib/image.h index ce4382a42..548ebf717 100644 --- a/src/lib/image.h +++ b/src/lib/image.h @@ -84,6 +84,8 @@ public: bool fast ) const; + std::shared_ptr<Image> crop(Crop crop) const; + void make_black (); void make_transparent (); void alpha_blend (std::shared_ptr<const Image> image, Position<int> pos); |
