Multiple Output types #4
Closed
brittonhayes
started this conversation in
Ideas
Replies: 1 comment 1 reply
-
sounds interesting. If you are interested in this project, you are welcome to submit a PR for it:) |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Idea 💡
Hey there 👋 ! Love this project and have been enjoying playing around with it. I thought it could be really nice if it was possible to output the result of the generated art as a
[]byte
. This would be in addition to the currently available options of saving a JPEG or PNG into the user's provided file path.Examples ✏️
c.ToBytes()
This shows a super simple example of the c.ToBytes() idea. It's a pretty minor addition to your package, but it would allow people to use the generative art package in a few new contexts.
TLDR
I would love to respond to an
http
request with the generated art. AToBytes()
method would enable this.Would be interested to hear your thoughts on this!
Beta Was this translation helpful? Give feedback.
All reactions