We should add this capability to the default glamour actions as well.
Doru
On Thu, Jun 6, 2013 at 3:19 PM, Alexandre Bergel alexandre.bergel@me.comwrote:
Roassal can export in SVG. This can be easily converted into .pdf
Cheers, Alexandre
On Jun 4, 2013, at 3:51 AM, Usman Bhatti usman.bhatti@gmail.com wrote:
Tx Doru. My request actually was about a "formal" mechanism where we could
generate screenshots from Glamour browsers and later integrating them in the pdf documents, for example.
Now, most of the time what we to export are roassal visualizations or
Eyesee diagrams. Roassal come with its own support and eyesee has its canvas in the presentation that be exported. So added an extension method on GLMEyeseePres to be able to export the canvas as a PNG.
My hack for the morphs is to do the rendering of the morph and then
obtain a ImageForm to be exported. So I think even with the morphs it wont be too difficult to create something that works reasonably well. For the moment, I kept these into my extension methods on Glamour but if its something that can serve to the community I can share a slice to be integrated into Glamour.
regards, Usman
On Tue, Jun 4, 2013 at 8:50 AM, Tudor Girba tudor@tudorgirba.com
wrote:
Hi Usman,
Sorry for the late reply.
Interesting request.
The only way you can do that is to obtain a reference to the Morph
corresponding to your presentation, and this can be tricky. The problem is that not all generated morphs have the same internal representation, and it is difficult to have a general solution.
However, if you are looking only for a practical manual solution, you
can do this:
- open your browser and bring it in the desired constellation
- on the window title bar do: Ctrl+Shift+RightClick
- on the menu do explore
- in the GTInspector that opens, choose the Submorphs tab
- start selecting nodes
- in the pane to the right, choose the Morph tab and you will get a
preview of what is selected
- continue selecting from the left pane until you get to the desired
morph
- from the right pane, choose the top right menu and export to PNG
Here is a description including a video:
http://www.humane-assessment.com/blog/custom-morph-screenshot-with-gtinspect...
Cheers, Doru
On May 27, 2013, at 5:36 PM, Usman Bhatti usman.bhatti@gmail.com
wrote:
Did someone try to export individual panes of a glamour browser to an
image file?
I see that GLMBrowser>>screenshot: aFilenameString on: anObject after:
aBlock
does an export of the browser window's image but that more than what I
am looking for.
tx, Usman _______________________________________________ Moose-dev mailing list Moose-dev@iam.unibe.ch https://www.iam.unibe.ch/mailman/listinfo/moose-dev
-- www.tudorgirba.com
"Reasonable is what we are accustomed with."
Moose-dev mailing list Moose-dev@iam.unibe.ch https://www.iam.unibe.ch/mailman/listinfo/moose-dev
Moose-dev mailing list Moose-dev@iam.unibe.ch https://www.iam.unibe.ch/mailman/listinfo/moose-dev
-- _,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;: Alexandre Bergel http://www.bergel.eu ^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;.
Moose-dev mailing list Moose-dev@iam.unibe.ch https://www.iam.unibe.ch/mailman/listinfo/moose-dev