how to export PNG from Roassal

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
2 messages Options
Reply | Threaded
Open this post in threaded view
|

how to export PNG from Roassal

Tudor Girba-2
Hi,

How do I programmatically export a PNG of the entire visualization from Roassal?

I tried to use the ROView>>bitmap, but it returns a cropped image.

Cheers,
Doru


--
www.tudorgirba.com

"Every thing has its own flow"
_______________________________________________
Moose-dev mailing list
[hidden email]
https://www.iam.unibe.ch/mailman/listinfo/moose-dev
Reply | Threaded
Open this post in threaded view
|

Re: how to export PNG from Roassal

abergel
Hi Doru!

Currently there is no exporter in Roassal. We will add some on some point.
However, this does not prevent you from exporting into png. For example:

-=-=-=-=-=-=-=-=-=-=-=-=
| view |
view := ROMondrianViewBuilder new.
view nodes: (1 to: 20).
view applyLayout.

(ROMorph on: view raw) exportAsPNG
-=-=-=-=-=-=-=-=-=-=-=-=


The problem about the cropped image is solved (Roassal 1.113), thanks for finding this out.

Cheers,
Alexandre


On Sep 10, 2012, at 3:09 AM, Tudor Girba <[hidden email]> wrote:

> Hi,
>
> How do I programmatically export a PNG of the entire visualization from Roassal?
>
> I tried to use the ROView>>bitmap, but it returns a cropped image.
>
> Cheers,
> Doru
>
>
> --
> www.tudorgirba.com
>
> "Every thing has its own flow"
> _______________________________________________
> Moose-dev mailing list
> [hidden email]
> https://www.iam.unibe.ch/mailman/listinfo/moose-dev

--
_,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:
Alexandre Bergel  http://www.bergel.eu
^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;.



_______________________________________________
Moose-dev mailing list
[hidden email]
https://www.iam.unibe.ch/mailman/listinfo/moose-dev