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

Define inputImagePath and outputImagePath #4

Closed
Alexandre-Muzulao opened this issue Oct 29, 2023 · 1 comment
Closed

Define inputImagePath and outputImagePath #4

Alexandre-Muzulao opened this issue Oct 29, 2023 · 1 comment

Comments

@Alexandre-Muzulao
Copy link

Hello, I hope to find you well!

I have a problem to use rembg, without a parameter outputImagePath, becouse, when the method execut, and do the output file, the resoult outputImagePath is ever: C:\undefined\temp\rembg--5232-797vlvU7lrHi-.png and I need set an defined file path for my context.

Do you can help me please?

@mtrabelsi
Copy link
Contributor

Hi, the issue is inherited from tmp-promise it looks like it is not working very well under Windows, I will check that issue later or look for an alternative solution.

but for now, you can still use base64 to overcome this issue, this feature has been added to 1.1.2, please upgrade your current version.

https://www.npmjs.com/package/@remove-background-ai/rembg.js/v/1.1.2

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

2 participants