We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Hello, I'm trying to implement the node version like this:
// Convert photoSrc base64 to blob const photoSrcBlob = new Blob([Buffer.from(photoSrc, 'base64')], { type: 'image/png', }) // Removing background const config: Config = { debug: false, model: 'medium', output: { format: 'image/png', quality: 0.5 }, } const removedBackground = await removeBackground(photoSrcBlob, config)
When I pass the photoSrc Blob, i get this error: "Error: Input buffer contains unsupported image format"
The text was updated successfully, but these errors were encountered:
does anyone have found solution?
Sorry, something went wrong.
No branches or pull requests
Hello,
I'm trying to implement the node version like this:
When I pass the photoSrc Blob, i get this error:
"Error: Input buffer contains unsupported image format"
The text was updated successfully, but these errors were encountered: