Nmap Development mailing list archives
Re: PNG images in zenmap
From: David Fifield <david () bamsoftware com>
Date: Thu, 28 May 2009 15:35:24 -0600
On Thu, May 28, 2009 at 02:25:08PM -0700, Fyodor wrote:
On Thu, May 28, 2009 at 01:36:16AM -0500, J Marlow wrote:Hi all, I've committed a few modifications to my branch (nmap-exp/josh) of zenmap. It now only uses png images even on systems that support svg. The reason for this was, on my Linux system loading of svg's took considerably longer than png images. David did a similar test ad got the same result. Here is our data: David's data PNG: icon load time: 1.68 logo load time: 3.24 total load time: 4.92 SVG: icon load time: 0.04 logo load time: 0.08 total load time: 0.12Thanks Josh. I assume this is just mislabeled and SVG was actually the one which took 4.92 seconds?
Yes, that was my fault, I labeled them backwards.
SVG is a more powerful format, but I agree that it isn't worth adding 5s to our startup time. We'll just have to keep the SVG's around in SVN and use them to render the icons as properly-sized PNGs when needed.
Right, Josh kept them in the source directory but they aren't installed anymore. There is nowhere in the Zenmap interface where the icons are shown at anything other than their PNG sizes. The Windows build has always used PNGs as far as I know and nobody knew the difference. If we introduce some scalable view then we can think about putting them back. David Fifield _______________________________________________ Sent through the nmap-dev mailing list http://cgi.insecure.org/mailman/listinfo/nmap-dev Archived at http://SecLists.Org
Current thread:
- PNG images in zenmap J Marlow (May 27)
- Re: PNG images in zenmap Fyodor (May 28)
- Re: PNG images in zenmap J Marlow (May 28)
- Re: PNG images in zenmap David Fifield (May 28)
- Re: PNG images in zenmap Fyodor (May 28)