Skip to content

#7 Retain original bitmap size in CropStateManager#8

Open
ThomasKiljanczykDev wants to merge 3 commits into
Tanish-Ranjan:developfrom
ThomasKiljanczykDev:feature/7-improved-output-image-resolution
Open

#7 Retain original bitmap size in CropStateManager#8
ThomasKiljanczykDev wants to merge 3 commits into
Tanish-Ranjan:developfrom
ThomasKiljanczykDev:feature/7-improved-output-image-resolution

Conversation

@ThomasKiljanczykDev
Copy link
Copy Markdown

@ThomasKiljanczykDev ThomasKiljanczykDev commented Dec 29, 2025

Retain original bitmap size in CropStateManager

Related issue #7

…tate` to ensure cropping operations are performed on the source image data rather than a potentially modified or scaled version.

- Added `originalBitmap` property to `CropState`.
- Updated `CropStateManager` to initialize `CropState` with the bitmap as both the display and original bitmap.
- Modified the `crop()` function to use `originalBitmap` for the cropping operation.
@ThomasKiljanczykDev ThomasKiljanczykDev force-pushed the feature/7-improved-output-image-resolution branch from b5f9f5d to 8a6525e Compare December 29, 2025 23:07
@ThomasKiljanczykDev ThomasKiljanczykDev changed the title #7 Maintain a reference to the original bitmap in CropState to ensu… #7 Retain original bitmap size in CropStateManager Feb 4, 2026
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