Skip to content
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

fix enums and add image processor #9

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

sophiestrausberg
Copy link

Overview

Added an ImageProcessor utility to handle image cropping, scaling, rotation, and orientation correction. Refactored all the uses of enums to capitalize them in both the definitions and when they are referenced.

Changes Made

Added a new file ImageProcessor.java in the utils folder. Updated pom.xml with required dependencies. Refactored Event, OpposingTeam, Rarity, and Postion enums to use uppercase naming conventions for both their definitions and references.

Test Coverage

Manually tested with a variety of images for

  • Cropping
  • Scaling
  • Orientation correction using EXIF metadata
  • Rotation by arbitrary angles

Copy link
Collaborator

@Aayush-Agnihotri Aayush-Agnihotri left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

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.

2 participants