Replies: 2 comments
-
Yes. I don't think the library has this feature. |
Beta Was this translation helpful? Give feedback.
0 replies
-
@robosina did you manage to find a way to get the buffer? For my current use case I would also prefer to dump into a byte array in place of a write to disk. |
Beta Was this translation helpful? Give feedback.
0 replies
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.
Uh oh!
There was an error while loading. Please reload this page.
-
Is it possible to dump the plot into a byteArray, for example, a cv::Mat? It appears that exporting has some overloaded functions that take a path to an image that will be saved, but there isn't any function that can be used to store the plot as a byteArray.
The real saving is occurring in
backend
class, which is an interface class. The concrete classes aregnuplot
andopengl_embed
. Only thegnuplot
has a real implementation forbackend::output
virtual function, and I have no idea how to get the buffer from there, but I'm investigating the code.Beta Was this translation helpful? Give feedback.
All reactions