Is there any tool to optimze FXG graphics automatically - f. e. round alpha values and path-coordinates to 2 decimal places, remove unnecessary tags added from Adobe Flash/Illustrator, ...?
Or what is the way how you are optimizing FXG-Files? PS: I mean things like this I get from Flash when drawing 4 simple lines: <?xml version="1.0" encoding="utf-8" ?> <Graphic version="2.0" viewHeight="50" viewWidth="50" ATE:version="1.0.0" flm:version="1.0.0" d:id="1" d:using="" xmlns="http://ns.adobe.com/fxg/2008" xmlns:ATE="http://ns.adobe.com/ate/2009" xmlns:d="http://ns.adobe.com/fxg/2008/dt" xmlns:flm="http://ns.adobe.com/flame/2008"> <Library/> <Group blendMode="normal" d:type="layer" d:userLabel="Ebene 1"> <Path flm:isDrawingObject="true" data="M37.4 16.725 12.65 16.725Q10.973242 16.726563 10.975 15.05 10.969922 14.386328 11.475 13.875 11.984766 13.371289 12.65 13.375L37.4 13.375Q38.162891 13.371289 38.675 13.875 39.078711 14.389063 39.075 15.05 39.075781 16.726563 37.4 16.725ZM37.4 23.375 12.65 23.375Q10.973242 23.376367 10.975 21.7 10.969922 20.985352 11.475 20.475 11.984766 19.969727 12.65 19.975L37.4 19.975Q38.162891 19.969727 38.675 20.475 39.078711 20.988867 39.075 21.7 39.075781 23.376367 37.4 23.375ZM12.65 26.625 37.4 26.625Q38.162891 26.620313 38.675 27.125 39.078711 27.638867 39.075 28.3 39.075781 29.976563 37.4 29.975L12.65 29.975Q10.973242 29.976563 10.975 28.3 10.969922 27.635547 11.475 27.125 11.984766 26.620313 12.65 26.625ZM10.975 34.95Q10.969922 34.235547 11.475 33.725 11.986133 33.270508 12.65 33.275L37.4 33.275Q38.163672 33.271094 38.675 33.725 39.080859 34.238867 39.075 34.95 39.075781 36.626367 37.4 36.625L12.65 36.625Q10.973242 36.626367 10.975 34.95Z"> <fill> <SolidColor color="#FFFFFF"/> </fill> </Path> </Group> <Private> <xfl:PrivateElement d:ref="#1" xmlns:xfl="http://ns.adobe.com/xfl/2008/"> <xfl:publishSettings xfl:source=""/> <xfl:mobileSettings xfl:source=""/> <xfl:as3ExportItems/> </xfl:PrivateElement> </Private> </Graphic> -- Sent from: http://apache-flex-users.2333346.n4.nabble.com/