dealing with very big (upto 1Gb) svg file
meemsheen <[email protected]> Sun, 14 Feb 2010 04:36:26 -0800 (PST)
| Newsgroups | gmane.comp.mozilla.devel.svg |
|---|---|
| Message-ID | <[email protected]> |
Hi, I have to visualize some values from a big text file with svg rect and with different colors, but the svg file I generate is so big in size that firefox/safari crashes to open it. Description about the input text file: Its a comma separated csv text file which contains float values like: 0.70, 0.50,0.98,0.78,0.61,0.88......... 160 of the above values in one line and more than 100,000 lines. I have a c script which parse the csv file and writes <rect> tags in svg and with style=fill: rgb( , , ) values filled from the input csv file. If I just parse some 1000 lines from the input csv file the generated svg is about 50-100MB and I can view it as I wanted, but when I parse more and more, the generated svg becomes very big and safari/firefox hangs to open this big svg file. I have 4GB RAM in my machine. Any help to deal with this problem or do it in another better way will be much appreciated. Thanks, Best regards, -- meemsheen -- View this message in context: http://old.nabble.com/dealing-with-very-big-%28upto-1Gb%29-svg-file-tp27574066p27574066.html Sent from the Mozilla - SVG mailing list archive at Nabble.com.