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

Unable to Set Output Image Format via extras param #618

Closed
TechHoruser opened this issue Apr 3, 2024 · 3 comments
Closed

Unable to Set Output Image Format via extras param #618

TechHoruser opened this issue Apr 3, 2024 · 3 comments
Labels
enhancement New feature or request stale

Comments

@TechHoruser
Copy link

Is your feature request related to a problem? Please describe.
When using the Rembg API and passing the bgc property to remove background, the output image format defaults to PNG. However, users may require the ability to specify the output image format, such as JPEG, for various use cases including preserving image quality or reducing file size.

Describe the solution you'd like
I would like to have the ability to set the output image format via the extras parameter for use it in the Rembg API request. This would allow users to specify their preferred output format, such as JPEG, and provide greater flexibility in handling image processing tasks.

Describe alternatives you've considered
An alternative solution could involve modifying the API documentation to inform users about the default output format and providing instructions on how to convert the PNG output to other formats post-processing. However, having the ability to directly specify the output format would streamline the workflow and enhance user experience.

Additional context
This feature enhancement request is crucial for improving the usability and versatility of the Rembg API. It would empower users to tailor the output image format according to their specific requirements, ultimately leading to better integration and adoption of the API in various applications and projects.

Thank you for considering this enhancement request. If further clarification or information is needed, please let me know.

@TechHoruser TechHoruser added the enhancement New feature or request label Apr 3, 2024
@TechHoruser
Copy link
Author

I have created a PR ( #619 ) to include this functionality.

Copy link

github-actions bot commented May 4, 2024

This issue is stale because it has been open for 30 days with no activity.

@github-actions github-actions bot added the stale label May 4, 2024
Copy link

This issue was closed because it has been inactive for 14 days since being marked as stale.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request stale
Projects
None yet
Development

No branches or pull requests

1 participant