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

Preserving metadata during upscaling #6302

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

Conversation

panchi64
Copy link

@panchi64 panchi64 commented May 2, 2024

Related to #6291

Implements metadata preservation during the upscaling process invocation by:

  • Creating a copy of the original metadata before the upscaling process begins to ensure the original data remains unaltered.
  • Updating the upscaled image's metadata once upscaling is complete.
  • Ensuring the updated metadata is passed along when saving the upscaled image.

@github-actions github-actions bot added python PRs that change python files invocations PRs that change invocations labels May 2, 2024
@panchi64
Copy link
Author

panchi64 commented May 2, 2024

I haven't had the time to fully test this "fix" with lots of different image sizes (although I expect it should work the same) but will do so once I have the chance today.

Should I create a test file for this metadata copying as well?
I assume that this isn't the only place that the metadata copying would be useful.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
invocations PRs that change invocations python PRs that change python files
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant