-
-
Notifications
You must be signed in to change notification settings - Fork 762
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
Reset-exif #1247
Reset-exif #1247
Conversation
@Sarabadu build isn't working. could you update? |
18e33f3
to
a429738
Compare
@hipstersmoothie added an empty polyfill for the util.inspect used on modify_exif btw looking for this |
Is this branch going to be updated further? The problem it's addressing is very important for making this library be a replacement for Sharp. I |
@bobzel this solution was working for my use case and also seems to work on the test, but didn't get more feedback on this. the solution here uses an apparently unmantained dependency. so not sure if this PR will be merged anyways. i used |
@Sarabadu I'd merge if the tests pass :D |
@hipstersmoothie, as i mentioned in the description, the issue with the test is the calculated distance is also calculating exif information. not sure how to solve that tbh, changing the expected distance values doesn't give much value, I think, any suggestion? remove those tests? any idea how to solve this on the distance function(seems like a breaking changes) ? WDYT? |
Signed-off-by: Juan Pablo Garcia Ripa <[email protected]>
Signed-off-by: Juan Pablo Garcia Ripa <[email protected]>
Signed-off-by: Juan Pablo Garcia Ripa <[email protected]>
@hipstersmoothie in case you miss it i made the changes to the tests, feel free to run the CI |
@Sarabadu Hey! I'm currently working on a major rewrite of everything and your changes are already included. No tba, still have a few things to figure out |
Glad to hear @hipstersmoothie In that case feel free to close this PR. If you are doing |
I'm not sure what that means but feel free to make a pr to the v1 branch ! |
closing it as seems it will be solved in the rewrite |
What's Changing and Why
fixes #1104
After doing the exif rotation, we reset the exif orientation to
1
see this commit to compare before and after this changes 48179a1
What else might be affected
Note: test are still failing because the calculated distance seems quite bigger now (can be the case that the hash is also considering exif metadata in consideration 🤔, should be like that or should only consider the actual image data??)
Tasks
jimp.d.ts