Using a TreeMap with images

廉价感情. 提交于 2019-12-24 00:35:09

问题


For representing most popular artists from EchoNest API, I've been trying to set-up Silverlight Toolkit's TreeMap using images, their TreeItemDefinition.ValueBinding being defined as the area of the image.

While it mostly fills up the space when the image stretch is set to 'Fill' :

When setting image stretch to 'Uniform' a lot of blank spaces remain :

On this post, image carving is suggested : Treemapping with a given aspect ratio

How can I know which images should be carved and at what dimensions they should be carved if possible at all ?

Is this problem solvable without human intervention for a good result ?

来源:https://stackoverflow.com/questions/17618733/using-a-treemap-with-images

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!