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

Failing works with files #672

Open
OdedVaalany opened this issue Jan 19, 2024 · 0 comments
Open

Failing works with files #672

OdedVaalany opened this issue Jan 19, 2024 · 0 comments

Comments

@OdedVaalany
Copy link

Hi, I'm using this library and I got stuck.
I have an API that receives payloads with images.
so I sent the image using Postman when running the express locally work fine and the image was not corrupted.
but when I'm using the AWS cloud, sending the same request from the postman the PNG images flips bytes, and this corrupts the image when I'm saving it into the s3 bucket.
I did everything that needed to be configured in the AWS platform i think it happened because of this lib.
the png buffer data start with: <Buffer ff d8 ff e0 00 10 4a 46 49 46 (from local logs)
and within the cloud, it becomes: <Buffer ef bf bd ef bf bd ef bf bd ef bf bd 00 10 4a 46 49 (form CloudWatch logs)

uploading the implementations:
image
image
image

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

No branches or pull requests

1 participant