Skip to content

Conversation

southglory
Copy link

  1. Upgrade dependencies

  2. Update expired image links as active image links.

  3. Fix all errors related to the 'PerceptualHash.compare' function in the upgraded dependencies.

dart run example\main.dart
edit pubspec.yaml dependencies.
1. Manual conversion from num type to int type in 'getLuminanceRgb' to solve error.
2. Explicitly indicate return types.
Fix error of "Unhandled exception:
FormatException: A valid image could not be identified from Image(887, 562, uint8, 3). Image(887, 562, uint8, 3).data.length != width * height..."
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.

1 participant