Re: RTPNGExporter - review needed
Posted by
abergel on
Nov 14, 2014; 2:07pm
URL: https://forum.world.st/RTPNGExporter-review-needed-tp4789868p4790203.html
Jan, I went through your exporter, and it seems to do an interesting job. I will be happy to include it in Roassal for others to have a look at it.
Alexandre
--
_,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:
Alexandre Bergel http://www.bergel.eu
^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;.
Well, it seems mine is unable to export large pictures too, just for
different reason: memory. Exported BMP for 7500*7500 px image has over 160
MB and Pharo's Windows VM memory limit is only 500 MB
Jan
abergel wrote
no no no :-(
It does not work for large pictures. Consider the following:
| b |
b := RTMondrianViewBuilder new.
b shape rectangle
withBorder;
width: [ :cls | cls numberOfVariables * 5];
height: #numberOfMethods;
linearFillColor: #numberOfLinesOfCode within: RTObject
withAllSubclasses.
b nodes: (Object withAllSubclasses copyFrom: 1 to: 3000).
b edgesFrom: #superclass.
b treeLayout.
b build.
^ b view
Nothing gets on the disk when you save :-(
Jan B. sent me a morphic based exporter.
Alexandre
--
_,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:
Alexandre Bergel http://www.bergel.eu
^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;.
_______________________________________________
Moose-dev mailing list
Moose-dev@.unibe
https://www.iam.unibe.ch/mailman/listinfo/moose-dev
--
View this message in context:
http://forum.world.st/RTPNGExporter-review-needed-tp4789868p4790146.htmlSent from the Moose mailing list archive at
Nabble.com.
_______________________________________________
Moose-dev mailing list
[hidden email]https://www.iam.unibe.ch/mailman/listinfo/moose-dev
_______________________________________________
Moose-dev mailing list
[hidden email]
https://www.iam.unibe.ch/mailman/listinfo/moose-dev