Thanks Andreas. I downloaded the Optimizer but couldn't get it to optimize the Absolute to Relative as I hoped. Might be in there somewhere, just didn't seem to work for me.
I wrote a very basic Java program (I'm just learning) which runs through all the LineTo(L) and MoveTo(M) elements adding them to an array. Once I have them all I run through the array, backwards, and calculate the difference between the to and convert the L co-ordinates to "l" plus the relative co-ordinates. I've cut the co-ordinates down to 2 decimal places and it's saved me one third of the size, on average. Guess I need to start looking at the other element types and see if I can come up with a "professional" version. ;o) Cheers Martin... --- In [email protected], "Andreas Neumann" <[EMAIL PROTECTED]> wrote: > > Hi Martin, > > there is a tool called SVG Optimizer developed at Oxford Brookes > University: http://myfriendsnet.com/svg/index.html > > AFAIK it does path optimizations. I am sure the developer is > interested in feedback. > > You may also try Inkscape. Don't know if it does optimization. I > also don't know whether it preservers your original coordinate > system. The SVG optimizer certainly does. > > Hope this helps, > Andreas > > --- In [email protected], "martin_toliman" > <martin.williamson@> wrote: > > > > Does anyone know if there is a utility out there which can take > > absolute path co-ordinates and convert them to a relative path > > "instruction" set? > > > > I know Adobe Illustrator has the capability to do this, but as I > don't > > have a copy... Can anyone suggest an alternative? > > > > I'm sure there must be a nice algorithm out there for this. > > > > Cheers > > Martin ... > > > ----- To unsubscribe send a message to: [EMAIL PROTECTED] -or- visit http://groups.yahoo.com/group/svg-developers and click "edit my membership" ---- Yahoo! Groups Links <*> To visit your group on the web, go to: http://groups.yahoo.com/group/svg-developers/ <*> To unsubscribe from this group, send an email to: [EMAIL PROTECTED] <*> Your use of Yahoo! Groups is subject to: http://docs.yahoo.com/info/terms/

