You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I discovered the same issue, as for what i figured out, when running in the browser the exif orientation is respected and used for the output, when running via node the rotation is ignored and the pixeldata is returned as given, my current solution is to pre-process the image and apply respective orientation before handing it to the node process.
I'm running the node version, with a very simples program just to test it out and a lot of images get rotated, here's an example:
Here's my code;
Is this somehow an issue with my code, or is it a bug?
I don't think Github compresses uploaded images, so my original file can be used for testing purposes.
The text was updated successfully, but these errors were encountered: