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

feat(Image): add toString method #11

Merged
merged 1 commit into from
Jan 8, 2024

Conversation

rico-vz
Copy link
Contributor

@rico-vz rico-vz commented Jan 7, 2024

This commit adds a new toString method to the Image class.

The method allows converting the image object to a string instead of saving it to disk.

An example use case for this would be directly sending a generated image directly to an S3 bucket instead of saving it to disk first, and then sending it to S3 that way.

This commit adds a new `toString` method to the `Image` class.

The method allows converting the image object to a string instead of saving it to disk.
@simonhamp simonhamp merged commit 16162b8 into simonhamp:main Jan 8, 2024
0 of 8 checks passed
@simonhamp
Copy link
Owner

This is great! Thanks 🙏🏼

@simonhamp
Copy link
Owner

When you get a chance, could you provide an example of this in use? I'd love to put something in the README about it

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