Pixate / pixate-freestyle-ios

Pixate Freestyle for iOS
Apache License 2.0
849 stars 134 forks source link

SVG with embedded images #85

Open wprater opened 10 years ago

wprater commented 10 years ago

AI seems to export gradients as embedded images in some cases. Here is an example, I assume this is an enhancement?

<?xml version="1.0" encoding="utf-8"?>
<!-- Generator: Adobe Illustrator 17.1.0, SVG Export Plug-In . SVG Version: 6.00 Build 0)  -->
<!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.1//EN" "http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd">
<svg version="1.1" id="Layer_1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px"
     viewBox="0 0 64 64" enable-background="new 0 0 64 64" xml:space="preserve">
<g id="puck">
    <g>
        <image overflow="visible" opacity="0.25" width="64" height="64" xlink:href="6C8E1B724541A992.png" >
        </image>
        </g>
</g>
</svg>
pcolton commented 10 years ago

Illustrator does this when you create a type of gradient that SVG doesn't support. We currently don't support these in our SVG engine.

On Thu, Mar 20, 2014 at 6:14 PM, Will Prater notifications@github.comwrote:

AI seems to export gradients as embedded images in some cases. Here is an example, I assume this is an enhancement?

<?xml version="1.0" encoding="utf-8"?>

<!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.1//EN" "http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd"> <svg version="1.1" id="Layer_1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px" viewBox="0 0 64 64" enable-background="new 0 0 64 64" xml:space="preserve">

Reply to this email directly or view it on GitHubhttps://github.com/Pixate/pixate-freestyle-ios/issues/85 .