Skip to content

fix(app): error on upload + resize for unusual image modes #8096

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 1 commit into from
Jun 11, 2025

Conversation

psychedelicious
Copy link
Collaborator

Summary

Fixes HTTP 500 Failed to resize image when using new canvas from image with resize functionality, on images with unusual image modes. Need to convert to RGBA first.

Ideally heuristic_resize would handle this but this is a quicker, clearer fix.

Related Issues / Discussions

n/a

QA Instructions

n/a

Merge Plan

n/a

Checklist

  • The PR has a short but descriptive title, suitable for a changelog
  • Tests added / updated (if applicable)
  • Documentation added / updated (if applicable)
  • Updated What's New copy (if doing a release after this PR)

@github-actions github-actions bot added api python PRs that change python files labels Jun 10, 2025
@psychedelicious psychedelicious enabled auto-merge (rebase) June 11, 2025 01:12
@psychedelicious psychedelicious force-pushed the psyche/fix/app/upload-resize-to branch from 009c5ad to 39c70e6 Compare June 11, 2025 01:12
@psychedelicious psychedelicious merged commit 85f98ab into main Jun 11, 2025
12 checks passed
@psychedelicious psychedelicious deleted the psyche/fix/app/upload-resize-to branch June 11, 2025 01:18
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
api python PRs that change python files
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants