Skip to content

Add Image::sliced method #1314

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 4 commits into from
Jul 5, 2025
Merged

Add Image::sliced method #1314

merged 4 commits into from
Jul 5, 2025

Conversation

DanRStevens
Copy link
Collaborator

Add Image Image::sliced(Rectangle<int> sliceArea) const method, which returns a new Image object with size equal to sliceArea.size, and a copy of the pixel data from the sliceArea of the original Image.

Related:

@DanRStevens DanRStevens merged commit 94a61a9 into main Jul 5, 2025
8 checks passed
@DanRStevens DanRStevens deleted the addImageSliced branch July 5, 2025 13:19
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant