-
Notifications
You must be signed in to change notification settings - Fork 38
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
the type of return value of dhash.format_hex() is str #2
Comments
This is screwing me over. I'm finding no way to use get_num_bits with any form of variable that converts it to a hex number. With all the excuses in the book, no str, no int even when it's hex. |
Sorry, but I'm not really sure what you're asking. Most functions that convert to hex return a str in Python, for example the built-in If you want to use |
image1 = Image.open('image_name.jpg') Traceback (most recent call last): |
How are you importing |
the type of return value of dhash.format_hex() is str, maybe you can change the type of return value to hex. And the users needn't to convert it when they use dhash.get_num_bits_different().
The text was updated successfully, but these errors were encountered: