Skip to content

Conversation

@laoshu133
Copy link
Contributor

Here, the file needs to be read as a raw buffer, and there is no need to specify the encoding parameter.

Here, the file needs to be read as a raw buffer, and there is no need to specify the encoding parameter.
@mattt
Copy link
Contributor

mattt commented Jun 27, 2023

Hi, @laoshu133. You're totally right — it makes no sense to force an encoding for binary image data. Thanks for contributing a fix!

@mattt mattt merged commit 91861b7 into replicate:main Jun 27, 2023
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.

2 participants