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

Update coloring function and adjust interface #1

Merged
merged 23 commits into from
Mar 21, 2024

Conversation

tyshoe
Copy link
Collaborator

@tyshoe tyshoe commented Mar 21, 2024

This PR changes the way that the color substitution is applied. Before, your new values would be added to the original RGB values, now it will be fully replaced. Additionally, the code as been converted to a class based approach, which simplifies structure and allows for more easy additions for functionality.

Features

  • added requirements.txt
  • added images folder for images in README.md
  • added items for adjustments and improvements in README.md
  • adjusted README.md to reflect UI and requirements changes
  • adjusted input method for filter (selected pixels to change colors)
  • adjusted input method for edit (applying color to selected pixels)
  • adjusted apply button (now applies alpha, rgba channel, and colors at same time)
  • added ability to change file type when exporting
  • added scaling image to size of window
  • convert to class based approach
  • convert to customtkinter

File structure and intent

  • main.py is where the app is run, also includes many functions passed to menu
  • menu.py is where the tab menu is held
  • panels.py is where all of the panels for the menu is held
  • canvas.py is where the canvas for the image is held
  • images folder is for README.md images

User Interface

Before:
exemplo
After:
redPedals

This is a rather large pull request and should definitely be broken down in the future, but after some collaboration this shouldn't be too hard to move forward with.

@GabrielTrindade31 GabrielTrindade31 merged commit 7fcd64c into GabrielTrindade31:main Mar 21, 2024
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