Instead of convert all to relative or all to absolve, if there was a third button to optimize, that would be helpful. I realize it's not as easy as checking each individual command since sometimes it depends on adjacent commands (for example lines in a row).
A bonus (but certainly not expected) would be to convert all horizontal and vertical l to h and v, and another would be to check for z when a path is already closed and if it ends in a l, h, or v then delete that command, else delete the z.
Instead of convert all to relative or all to absolve, if there was a third button to optimize, that would be helpful. I realize it's not as easy as checking each individual command since sometimes it depends on adjacent commands (for example lines in a row).
A bonus (but certainly not expected) would be to convert all horizontal and vertical
l
toh
andv
, and another would be to check forz
when a path is already closed and if it ends in al
,h
, orv
then delete that command, else delete thez
.