W3C home > Mailing lists > Public > www-svg@w3.org > May 2003

re: svg convertion tools

From: Fred P. <fprog26@hotmail.com>
Date: Tue, 27 May 2003 18:38:49 -0400
To: pgrab@IA.AGH.edu.PL
Cc: www-svg@w3.org
Message-ID: <BAY2-F94t865WYtn4yG000015b5@hotmail.com>

Notice:
-------

The SVG file should be less than 20,000 lines of XML for lagginess
The SVG file should be less than 10,000 lines of XML for a 3 second waiting 
period

I saw the color distortion, maybe it's due to GD library ?!?
if the original image is PNG, the distortion is nearly undetectable.

This method works mostly for small images, further optimization
is needed for big wide pictures.

Fred.


Test#4:
======
     709,294 waterfall.bmp
      62,348 waterfall.jpg
     710,445 waterfall.png
   4,410,533 waterfall.svg   colors were distorted... took so much time to 
load!
     256,877 waterfall.svgz  it tooks more than 10 minutes to load on a P4 2 
GHz

Test#5:
======

liquid1 KDE theme: 40 seconds

     317,607 liquid1.png
  12,515,938 liquid1.svg
     623,426 liquid1.svgz   not responding

Test#6:
======

liquid2 KDE theme: blocked: CTRL-C

     329,058 liquid2.png
   9,029,193 liquid2.svg
     478,291 liquid2.svgz  not responding

Test#7:
======

liquid3 KDE theme: 70 seconds

     357,375 liquid3.png
   8,473,153 liquid3.svg
     451,385 liquid3.svgz

>I converted some png files.
>Test 1. A figure obtained directly as png source from Matlab (simple 
>histogram/bar plot - volume 11kB). Transformed svg. Can be viewed under 
>Amaya 8, problems with MSIE 6,
>visible under Mozilla svg+gdi after modifing the header. Volume approx. 
>333kB (30 times
>bigger file!). Quality - good, but problems with zooming - I do not how I 
>can zoom it under
>my Mozilla.
>
>Test 2. Tiger.ps from standard ghostcript distribution (311 kB). Converted 
>to png by
>ImageMagick - approx 321kB. Then converted by png2svg.pl to a file of size 
>approx.
>3.11 MB (magnification -10 times!). Amaya and IEMS6 were not able to deal 
>with it.
>After changing the header successfully viewed by Mozilla svg+gdi - after a 
>few minutes.
>Quality good - worse contrast and some colors slightly changed, by 
>generally acceptable.
>
>On comparison tiger.xml = tiger.svg built-in xml file available at crozilla 
>web page is
>of 300kB only and of decidedly better quality. How it was converted- I do 
>not know
>(a commercial tool for converting ps/pdf into svg?).
>
>Summarizing, I can say that you are on a good path to get a finally 
>acceptable converted
>which is relatively fast yielding nice outputs. A good thing is that one 
>can modify the
>header. Further work needed (already begun) to reduce the size of an output 
>file.
>Congratulations. I will try to use it in a bigger extend.
>
>Regards,
>-Piotr
>
>Test 3. Black and white Hilbert's photo scanned as bmp output (61kB). 
>Converted to png by
>both bmp2png or ImageMagick (sizes approx. the same 52-53kB). Conversion to 
>svg by
>png2svg.pl yielded a file of 4.12MB. I could not open it in a reasonable 
>time by any
>svg enabled browser.
>
>
>I converted some png files.
>Test 1. A figure obtained directly as png source from Matlab (simple 
>histogram/bar plot - volume 11kB). Transformed svg. Can be viewed under 
>Amaya 8, problems with MSIE 6,
>visible under Mozilla svg+gdi after modifing the header. Volume approx. 
>333kB (30 times
>bigger file!). Quality - good, but problems with zooming - I do not how I 
>can zoom it under
>my Mozilla.
>
>Test 2. Tiger.ps from standard ghostcript distribution (311 kB). Converted 
>to png by
>ImageMagick - approx 321kB. Then converted by png2svg.pl to a file of size 
>approx.
>3.11 MB (magnification -10 times!). Amaya and IEMS6 were not able to deal 
>with it.
>After changing the header successfully viewed by Mozilla svg+gdi - after a 
>few minutes.
>Quality good - worse contrast and some colors slightly changed, by 
>generally acceptable.
>
>On comparison tiger.xml = tiger.svg built-in xml file available at crozilla 
>web page is
>of 300kB only and of decidedly better quality. How it was converted- I do 
>not know
>(a commercial tool for converting ps/pdf into svg?).
>
>Summarizing, I can say that you are on a good path to get a finally 
>acceptable converted
>which is relatively fast yielding nice outputs. A good thing is that one 
>can modify the
>header. Further work needed (already begun) to reduce the size of an output 
>file.
>Congratulations. I will try to use it in a bigger extend.
>
>Regards,
>-Piotr
>
>Test 3. Black and white Hilbert's photo scanned as bmp output (61kB). 
>Converted to png by
>both bmp2png or ImageMagick (sizes approx. the same 52-53kB). Conversion to 
>svg by
>png2svg.pl yielded a file of 4.12MB. I could not open it in a reasonable 
>time by any
>svg enabled browser.
>

_________________________________________________________________
Tired of spam? Get advanced junk mail protection with MSN 8.  
http://join.msn.com/?page=features/junkmail
Received on Tuesday, 27 May 2003 18:39:00 GMT

This archive was generated by hypermail 2.3.1 : Friday, 8 March 2013 15:54:25 GMT