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

Resize receipt images before upload #138

Draft
wants to merge 6 commits into
base: master
Choose a base branch
from
Draft

Conversation

jotjern
Copy link
Member

@jotjern jotjern commented Mar 29, 2023

Added image resizing which limits the image dimensions to max 1600 pixels horizontally and vertically and downscales them to a reasonable size if they exceed this limit.

Needs to be tested before merge

@jotjern jotjern requested a review from kharann March 29, 2023 20:10
@vercel
Copy link

vercel bot commented Mar 29, 2023

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Comments Updated
receipt-form ✅ Ready (Inspect) Visit Preview 💬 Add your feedback Mar 29, 2023 at 8:40PM (UTC)

@jotjern jotjern changed the title Feat/image resizing Resize receipt images before upload Mar 29, 2023
@jotjern jotjern added the enhancement New feature or request label Mar 29, 2023
@kharann
Copy link
Contributor

kharann commented Apr 25, 2023

Linting issues :)))

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants