Replies: 2 comments 1 reply
-
Honestly, now I'd like this part to be part of this lib. The way I see it is:
type FrameData struct {
...
}
func(d *FrameData) Bytes() [NumDataPointers][]byte {}
func(d *FrameData) Image() (image.Image, error) {}
func(d *FrameData) Sample() ("whatever go representation is best suited", error) {}
Does that sound even remotely sound? If so, I'll have some time this weekend to try it out 👍 |
Beta Was this translation helpful? Give feedback.
0 replies
-
FYI Frame.Data() now returns a *FrameData that allows to either get data as |
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
Uh oh!
There was an error while loading. Please reload this page.
-
pre-reading #4 #5 #22
A no matter the cost method is to use astiav.Encoder to encode astiav.Frame to PNG and read it as Image.Image.
Is there a better proposal that doesn't require untangling numerous pixel formats?
Beta Was this translation helpful? Give feedback.
All reactions