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

updated image-size dependency to read dimensions from heic file #879

Merged
merged 3 commits into from
Apr 11, 2024

Conversation

grasdk
Copy link
Contributor

@grasdk grasdk commented Apr 5, 2024

Added extra not-null assurance for image width and height

updated image-size library (still has some bugs, though).

@grasdk
Copy link
Contributor Author

grasdk commented Apr 5, 2024

Fix for #877

It's not a complete fix though, but it should stop the SQL error.

However, the latest version of the image-size module does not correctly report the size of the test heic-image that was added. I adapted the test to work with what image-size returned.

Copy link
Owner

@bpatrik bpatrik left a comment

Choose a reason for hiding this comment

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

Some not important feedback. Feel free to discard

src/backend/model/fileaccess/MetadataLoader.ts Outdated Show resolved Hide resolved
@bpatrik bpatrik merged commit 8c86dcb into bpatrik:master Apr 11, 2024
4 of 8 checks passed
@grasdk grasdk deleted the bug/heic-dimensions branch April 21, 2024 15:39
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