SVG too large to convert
Posted: 2013-07-02T14:56:37-07:00
Hello,
First of all: what an awesome tool is IM!
I created an SVG file with size 96,030 x 433,260 which is 180Mb large.
The file itself is very simple: it contains blocks of 30x30 pixels with a specific color and a text inside (see below for example).
There's 120M possible blocks, but only 500K blocks are defined in the file; the others have background color.
There is no software that allows me to view this large SVG file efficiently.
I want to create a raster file out of this and using an hierarchical tiling to 1) view color on high level and 2) zoom in to details in desired. I have software for the tiling.
My first goal: convert the SVG into 1 large JPG.
I have tried many ways to convert (convert msvg:vehicle_matrix.svg res2.jpg see below for more), but either
1) I get "No space left on device" (I have 300Gb temp dir allocated)
2 I get a file that has not the desired resolution (text not readable)
What is the right way to convert this data into a raster image.
I'm also open to use the canvas create option right away, rather than creating a SVG first.
Thanks a lot!
Olav
-------------------------------------------------------------------------------------------------------------
One block:
<rect height='30' width='30' x='0' y='168600' style='fill:rgb(254,0,255)'/>
<text x='3' y='168605' font-size='1' fill='rgb(219,0,220)'>prodnr:11111</text>
<text x='3' y='168700' font-size='1' fill='rgb(219,0,220)'>mmy:MERCEDES_BENZ_240D_1981</text>
convert msvg:vehicle_matrix.svg -size 3000 -density 100 -depth 8 -quality 100 res2.jpg --->no space left on device
convert -size 9603x43326 -density 100 -depth 8 msvg:vehicle_matrix.svg res2.jpg ---> result unreadable
C:\Users\IBM_ADMIN\Desktop>identify -list resource
File Area Memory Map Disk Thread Throttle Time
--------------------------------------------------------------------------------
1536 25.663GB 11.95GiB 23.901GiB unlimited 8 0 unlimited
I use Q16 on Windows.
First of all: what an awesome tool is IM!
I created an SVG file with size 96,030 x 433,260 which is 180Mb large.
The file itself is very simple: it contains blocks of 30x30 pixels with a specific color and a text inside (see below for example).
There's 120M possible blocks, but only 500K blocks are defined in the file; the others have background color.
There is no software that allows me to view this large SVG file efficiently.
I want to create a raster file out of this and using an hierarchical tiling to 1) view color on high level and 2) zoom in to details in desired. I have software for the tiling.
My first goal: convert the SVG into 1 large JPG.
I have tried many ways to convert (convert msvg:vehicle_matrix.svg res2.jpg see below for more), but either
1) I get "No space left on device" (I have 300Gb temp dir allocated)
2 I get a file that has not the desired resolution (text not readable)
What is the right way to convert this data into a raster image.
I'm also open to use the canvas create option right away, rather than creating a SVG first.
Thanks a lot!
Olav
-------------------------------------------------------------------------------------------------------------
One block:
<rect height='30' width='30' x='0' y='168600' style='fill:rgb(254,0,255)'/>
<text x='3' y='168605' font-size='1' fill='rgb(219,0,220)'>prodnr:11111</text>
<text x='3' y='168700' font-size='1' fill='rgb(219,0,220)'>mmy:MERCEDES_BENZ_240D_1981</text>
convert msvg:vehicle_matrix.svg -size 3000 -density 100 -depth 8 -quality 100 res2.jpg --->no space left on device
convert -size 9603x43326 -density 100 -depth 8 msvg:vehicle_matrix.svg res2.jpg ---> result unreadable
C:\Users\IBM_ADMIN\Desktop>identify -list resource
File Area Memory Map Disk Thread Throttle Time
--------------------------------------------------------------------------------
1536 25.663GB 11.95GiB 23.901GiB unlimited 8 0 unlimited
I use Q16 on Windows.