|
| From: | Pantxo Diribarne |
| Subject: | [Octave-bug-tracker] [bug #48195] missing getframe function |
| Date: | Mon, 13 Jun 2016 14:15:06 +0000 (UTC) |
| User-agent: | Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:46.0) Gecko/20100101 Firefox/46.0 |
Follow-up Comment #3, bug #48195 (project octave):
I had once started to work on this function. I attached a very preliminary
patch (with many debug/include leftovers etc) that I updated so that it
applies to the current default branch.
The low level function __get_frame__ catches the pixels of the whole figure
(in Qt toolkit only). Then a higher level getframe.m can be written to
implement the ML compatible interface.
Let me know if it fits the need.
To test you can run e.g.:
figure (56);
sombrero ();
im = __get_frame (56);
imshow (im)
(file #37465)
_______________________________________________________
Additional Item Attachment:
File name: get_frame.patch Size:5 KB
_______________________________________________________
Reply to this item at:
<http://savannah.gnu.org/bugs/?48195>
_______________________________________________
Message sent via/by Savannah
http://savannah.gnu.org/
| [Prev in Thread] | Current Thread | [Next in Thread] |